/*! SES sources included by LavaMoat. Do not optimize or minify. */
;
// ses@1.15.0
(functors => options => {
  'use strict';

  const {
    Map,
    Object,
    ReferenceError,
    Reflect,
    TypeError,
  } = globalThis;
  const {
    create,
    defineProperties,
    defineProperty,
    freeze,
    fromEntries,
    getOwnPropertyDescriptors,
    getOwnPropertyNames,
    keys,
  } = Object;
  const { get, set } = Reflect;

  const {
  } = options || {};



  const cell = (name, value = undefined) => {
    const observers = [];
    return freeze({
      get: freeze(() => {
        return value;
      }),
      set: freeze((newValue) => {
        value = newValue;
        for (const observe of observers) {
          observe(value);
        }
      }),
      observe: freeze((observe) => {
        observers.push(observe);
        observe(value);
      }),
      enumerable: true,
    });
  };

  const cells = [
    {
      globalThis: cell("globalThis"),
      Array: cell("Array"),
      ArrayBuffer: cell("ArrayBuffer"),
      Date: cell("Date"),
      FinalizationRegistry: cell("FinalizationRegistry"),
      Float32Array: cell("Float32Array"),
      JSON: cell("JSON"),
      Map: cell("Map"),
      Math: cell("Math"),
      Number: cell("Number"),
      Object: cell("Object"),
      Promise: cell("Promise"),
      Proxy: cell("Proxy"),
      Reflect: cell("Reflect"),
      FERAL_REG_EXP: cell("FERAL_REG_EXP"),
      Set: cell("Set"),
      String: cell("String"),
      Symbol: cell("Symbol"),
      Uint8Array: cell("Uint8Array"),
      WeakMap: cell("WeakMap"),
      WeakSet: cell("WeakSet"),
      FERAL_ERROR: cell("FERAL_ERROR"),
      RangeError: cell("RangeError"),
      ReferenceError: cell("ReferenceError"),
      SyntaxError: cell("SyntaxError"),
      TypeError: cell("TypeError"),
      AggregateError: cell("AggregateError"),
      assign: cell("assign"),
      create: cell("create"),
      defineProperties: cell("defineProperties"),
      entries: cell("entries"),
      freeze: cell("freeze"),
      getOwnPropertyDescriptor: cell("getOwnPropertyDescriptor"),
      getOwnPropertyDescriptors: cell("getOwnPropertyDescriptors"),
      getOwnPropertyNames: cell("getOwnPropertyNames"),
      getPrototypeOf: cell("getPrototypeOf"),
      is: cell("is"),
      isFrozen: cell("isFrozen"),
      isSealed: cell("isSealed"),
      isExtensible: cell("isExtensible"),
      keys: cell("keys"),
      objectPrototype: cell("objectPrototype"),
      seal: cell("seal"),
      preventExtensions: cell("preventExtensions"),
      setPrototypeOf: cell("setPrototypeOf"),
      values: cell("values"),
      fromEntries: cell("fromEntries"),
      speciesSymbol: cell("speciesSymbol"),
      toStringTagSymbol: cell("toStringTagSymbol"),
      iteratorSymbol: cell("iteratorSymbol"),
      matchAllSymbol: cell("matchAllSymbol"),
      replaceSymbol: cell("replaceSymbol"),
      unscopablesSymbol: cell("unscopablesSymbol"),
      symbolKeyFor: cell("symbolKeyFor"),
      symbolFor: cell("symbolFor"),
      isInteger: cell("isInteger"),
      stringifyJson: cell("stringifyJson"),
      defineProperty: cell("defineProperty"),
      apply: cell("apply"),
      construct: cell("construct"),
      reflectGet: cell("reflectGet"),
      reflectGetOwnPropertyDescriptor: cell("reflectGetOwnPropertyDescriptor"),
      reflectHas: cell("reflectHas"),
      reflectIsExtensible: cell("reflectIsExtensible"),
      ownKeys: cell("ownKeys"),
      reflectPreventExtensions: cell("reflectPreventExtensions"),
      reflectSet: cell("reflectSet"),
      isArray: cell("isArray"),
      arrayPrototype: cell("arrayPrototype"),
      arrayBufferPrototype: cell("arrayBufferPrototype"),
      mapPrototype: cell("mapPrototype"),
      proxyRevocable: cell("proxyRevocable"),
      regexpPrototype: cell("regexpPrototype"),
      setPrototype: cell("setPrototype"),
      stringPrototype: cell("stringPrototype"),
      weakmapPrototype: cell("weakmapPrototype"),
      weaksetPrototype: cell("weaksetPrototype"),
      functionPrototype: cell("functionPrototype"),
      promisePrototype: cell("promisePrototype"),
      generatorPrototype: cell("generatorPrototype"),
      iteratorPrototype: cell("iteratorPrototype"),
      typedArrayPrototype: cell("typedArrayPrototype"),
      uncurryThis: cell("uncurryThis"),
      hasOwn: cell("hasOwn"),
      arrayFilter: cell("arrayFilter"),
      arrayForEach: cell("arrayForEach"),
      arrayIncludes: cell("arrayIncludes"),
      arrayJoin: cell("arrayJoin"),
      arrayMap: cell("arrayMap"),
      arrayFlatMap: cell("arrayFlatMap"),
      arrayPop: cell("arrayPop"),
      arrayPush: cell("arrayPush"),
      arraySlice: cell("arraySlice"),
      arraySome: cell("arraySome"),
      arraySort: cell("arraySort"),
      iterateArray: cell("iterateArray"),
      arrayBufferSlice: cell("arrayBufferSlice"),
      arrayBufferGetByteLength: cell("arrayBufferGetByteLength"),
      typedArraySet: cell("typedArraySet"),
      mapSet: cell("mapSet"),
      mapGet: cell("mapGet"),
      mapHas: cell("mapHas"),
      mapDelete: cell("mapDelete"),
      mapEntries: cell("mapEntries"),
      iterateMap: cell("iterateMap"),
      setAdd: cell("setAdd"),
      setDelete: cell("setDelete"),
      setForEach: cell("setForEach"),
      setHas: cell("setHas"),
      iterateSet: cell("iterateSet"),
      regexpExec: cell("regexpExec"),
      regexpReplace: cell("regexpReplace"),
      matchAllRegExp: cell("matchAllRegExp"),
      sealRegexp: cell("sealRegexp"),
      stringEndsWith: cell("stringEndsWith"),
      stringIncludes: cell("stringIncludes"),
      stringIndexOf: cell("stringIndexOf"),
      stringMatch: cell("stringMatch"),
      stringSearch: cell("stringSearch"),
      stringSlice: cell("stringSlice"),
      stringSplit: cell("stringSplit"),
      stringStartsWith: cell("stringStartsWith"),
      iterateString: cell("iterateString"),
      weakmapDelete: cell("weakmapDelete"),
      weakmapGet: cell("weakmapGet"),
      weakmapHas: cell("weakmapHas"),
      weakmapSet: cell("weakmapSet"),
      weaksetAdd: cell("weaksetAdd"),
      weaksetHas: cell("weaksetHas"),
      functionToString: cell("functionToString"),
      functionBind: cell("functionBind"),
      generatorNext: cell("generatorNext"),
      generatorThrow: cell("generatorThrow"),
      promiseAll: cell("promiseAll"),
      promiseCatch: cell("promiseCatch"),
      promiseThen: cell("promiseThen"),
      finalizationRegistryRegister: cell("finalizationRegistryRegister"),
      finalizationRegistryUnregister: cell("finalizationRegistryUnregister"),
      isPrimitive: cell("isPrimitive"),
      isError: cell("isError"),
      identity: cell("identity"),
      FERAL_EVAL: cell("FERAL_EVAL"),
      FERAL_FUNCTION: cell("FERAL_FUNCTION"),
      noEvalEvaluate: cell("noEvalEvaluate"),
      FERAL_STACK_GETTER: cell("FERAL_STACK_GETTER"),
      FERAL_STACK_SETTER: cell("FERAL_STACK_SETTER"),
      AsyncGeneratorFunctionInstance: cell("AsyncGeneratorFunctionInstance"),
    },
    {
    },
    {
      makeEnvironmentCaptor: cell("makeEnvironmentCaptor"),
      getEnvironmentOption: cell("getEnvironmentOption"),
      getEnvironmentOptionsList: cell("getEnvironmentOptionsList"),
      environmentOptionsListHas: cell("environmentOptionsListHas"),
    },
    {
    },
    {
      isBufferImmutable: cell("isBufferImmutable"),
      sliceBufferToImmutable: cell("sliceBufferToImmutable"),
      optTransferBufferToImmutable: cell("optTransferBufferToImmutable"),
    },
    {
    },
    {
    },
    {
      an: cell("an"),
      bestEffortStringify: cell("bestEffortStringify"),
      enJoin: cell("enJoin"),
    },
    {
    },
    {
    },
    {
      makeCacheMapKit: cell("makeCacheMapKit"),
    },
    {
      makeCacheMapKit: cell("makeCacheMapKit"),
    },
    {
      makeNoteLogArgsArrayKit: cell("makeNoteLogArgsArrayKit"),
    },
    {
      q: cell("q"),
      b: cell("b"),
      X: cell("X"),
      unredactedDetails: cell("unredactedDetails"),
      makeError: cell("makeError"),
      annotateError: cell("annotateError"),
      loggedErrorHandler: cell("loggedErrorHandler"),
      assert: cell("assert"),
      assertEqual: cell("assertEqual"),
      sanitizeError: cell("sanitizeError"),
      makeAssert: cell("makeAssert"),
    },
    {
      isTypedArray: cell("isTypedArray"),
      makeHardener: cell("makeHardener"),
    },
    {
      cauterizeProperty: cell("cauterizeProperty"),
    },
    {
      NativeErrors: cell("NativeErrors"),
      constantProperties: cell("constantProperties"),
      universalPropertyNames: cell("universalPropertyNames"),
      initialGlobalPropertyNames: cell("initialGlobalPropertyNames"),
      sharedGlobalPropertyNames: cell("sharedGlobalPropertyNames"),
      uniqueGlobalPropertyNames: cell("uniqueGlobalPropertyNames"),
      FunctionInstance: cell("FunctionInstance"),
      AsyncFunctionInstance: cell("AsyncFunctionInstance"),
      isAccessorPermit: cell("isAccessorPermit"),
      permitted: cell("permitted"),
    },
    {
      makeIntrinsicsCollector: cell("makeIntrinsicsCollector"),
      getGlobalIntrinsics: cell("getGlobalIntrinsics"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      minEnablements: cell("minEnablements"),
      moderateEnablements: cell("moderateEnablements"),
      severeEnablements: cell("severeEnablements"),
    },
    {
      default: cell("default"),
    },
    {
      default: cell("default"),
    },
    {
      makeEvalFunction: cell("makeEvalFunction"),
    },
    {
      makeFunctionConstructor: cell("makeFunctionConstructor"),
    },
    {
      setGlobalObjectSymbolUnscopables: cell("setGlobalObjectSymbolUnscopables"),
      setGlobalObjectConstantProperties: cell("setGlobalObjectConstantProperties"),
      setGlobalObjectMutableProperties: cell("setGlobalObjectMutableProperties"),
      setGlobalObjectEvaluators: cell("setGlobalObjectEvaluators"),
    },
    {
      alwaysThrowHandler: cell("alwaysThrowHandler"),
      strictScopeTerminatorHandler: cell("strictScopeTerminatorHandler"),
      strictScopeTerminator: cell("strictScopeTerminator"),
    },
    {
      createSloppyGlobalsScopeTerminator: cell("createSloppyGlobalsScopeTerminator"),
    },
    {
      makeEvalScopeKit: cell("makeEvalScopeKit"),
    },
    {
      getSourceURL: cell("getSourceURL"),
    },
    {
      rejectHtmlComments: cell("rejectHtmlComments"),
      evadeHtmlCommentTest: cell("evadeHtmlCommentTest"),
      rejectImportExpressions: cell("rejectImportExpressions"),
      evadeImportExpressionTest: cell("evadeImportExpressionTest"),
      rejectSomeDirectEvalExpressions: cell("rejectSomeDirectEvalExpressions"),
      mandatoryTransforms: cell("mandatoryTransforms"),
      applyTransforms: cell("applyTransforms"),
      transforms: cell("transforms"),
    },
    {
      isValidIdentifierName: cell("isValidIdentifierName"),
      getScopeConstants: cell("getScopeConstants"),
    },
    {
      makeEvaluate: cell("makeEvaluate"),
    },
    {
      makeSafeEvaluator: cell("makeSafeEvaluator"),
    },
    {
      tameFunctionToString: cell("tameFunctionToString"),
    },
    {
      tameDomains: cell("tameDomains"),
    },
    {
      tameModuleSource: cell("tameModuleSource"),
    },
    {
      consoleLevelMethods: cell("consoleLevelMethods"),
      consoleOtherMethods: cell("consoleOtherMethods"),
      makeLoggingConsoleKit: cell("makeLoggingConsoleKit"),
      pumpLogToConsole: cell("pumpLogToConsole"),
      makeCausalConsole: cell("makeCausalConsole"),
      defineCausalConsoleFromLogger: cell("defineCausalConsoleFromLogger"),
      filterConsole: cell("filterConsole"),
    },
    {
      makeRejectionHandlers: cell("makeRejectionHandlers"),
    },
    {
      tameConsole: cell("tameConsole"),
    },
    {
      filterFileName: cell("filterFileName"),
      shortenCallSiteString: cell("shortenCallSiteString"),
      tameV8ErrorConstructor: cell("tameV8ErrorConstructor"),
    },
    {
      default: cell("default"),
    },
    {
      makeAlias: cell("makeAlias"),
      load: cell("load"),
      loadNow: cell("loadNow"),
    },
    {
      deferExports: cell("deferExports"),
      getDeferredExports: cell("getDeferredExports"),
    },
    {
      provideCompartmentEvaluator: cell("provideCompartmentEvaluator"),
      compartmentEvaluate: cell("compartmentEvaluate"),
    },
    {
      makeVirtualModuleInstance: cell("makeVirtualModuleInstance"),
      makeModuleInstance: cell("makeModuleInstance"),
    },
    {
      link: cell("link"),
      instantiate: cell("instantiate"),
    },
    {
      InertCompartment: cell("InertCompartment"),
      CompartmentPrototype: cell("CompartmentPrototype"),
      compartmentOptions: cell("compartmentOptions"),
      makeCompartmentConstructor: cell("makeCompartmentConstructor"),
    },
    {
      getAnonymousIntrinsics: cell("getAnonymousIntrinsics"),
    },
    {
      tameHarden: cell("tameHarden"),
    },
    {
      tameSymbolConstructor: cell("tameSymbolConstructor"),
    },
    {
      tameFauxDataProperty: cell("tameFauxDataProperty"),
      tameFauxDataProperties: cell("tameFauxDataProperties"),
    },
    {
      tameRegeneratorRuntime: cell("tameRegeneratorRuntime"),
    },
    {
      shimArrayBufferTransfer: cell("shimArrayBufferTransfer"),
    },
    {
      chooseReporter: cell("chooseReporter"),
      reportInGroup: cell("reportInGroup"),
    },
    {
      repairIntrinsics: cell("repairIntrinsics"),
    },
    {
    },
    {
    },
    {
    },
    {
    },
    {
    },
  ];

  defineProperties(cells[3], getOwnPropertyDescriptors(cells[2]));

  defineProperties(cells[11], {"makeCacheMapKit": { value: cells[10]["makeCacheMapKit"] } });

  const namespaces = cells.map(cells => freeze(create(null, {
    ...cells,
    // Make this appear like an ESM module namespace object.
    [Symbol.toStringTag]: {
      value: 'Module',
      writable: false,
      enumerable: false,
      configurable: false,
    },
  })));

  for (let index = 0; index < namespaces.length; index += 1) {
    cells[index]['*'] = cell('*', namespaces[index]);
  }

function observeImports(map, importName, importIndex) {
  for (const [name, observers] of map.get(importName)) {
    const cell = cells[importIndex][name];
    if (cell === undefined) {
      throw new ReferenceError(`Cannot import name ${name} (has ${Object.getOwnPropertyNames(cells[importIndex]).join(', ')})`);
    }
    for (const observer of observers) {
      cell.observe(observer);
    }
  }
}

  functors[0]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      universalThis: cells[0].globalThis.set,
      Array: cells[0].Array.set,
      ArrayBuffer: cells[0].ArrayBuffer.set,
      Date: cells[0].Date.set,
      FinalizationRegistry: cells[0].FinalizationRegistry.set,
      Float32Array: cells[0].Float32Array.set,
      JSON: cells[0].JSON.set,
      Map: cells[0].Map.set,
      Math: cells[0].Math.set,
      Number: cells[0].Number.set,
      Object: cells[0].Object.set,
      Promise: cells[0].Promise.set,
      Proxy: cells[0].Proxy.set,
      Reflect: cells[0].Reflect.set,
      FERAL_REG_EXP: cells[0].FERAL_REG_EXP.set,
      Set: cells[0].Set.set,
      String: cells[0].String.set,
      Symbol: cells[0].Symbol.set,
      Uint8Array: cells[0].Uint8Array.set,
      WeakMap: cells[0].WeakMap.set,
      WeakSet: cells[0].WeakSet.set,
      FERAL_ERROR: cells[0].FERAL_ERROR.set,
      RangeError: cells[0].RangeError.set,
      ReferenceError: cells[0].ReferenceError.set,
      SyntaxError: cells[0].SyntaxError.set,
      TypeError: cells[0].TypeError.set,
      AggregateError: cells[0].AggregateError.set,
      assign: cells[0].assign.set,
      create: cells[0].create.set,
      defineProperties: cells[0].defineProperties.set,
      entries: cells[0].entries.set,
      freeze: cells[0].freeze.set,
      getOwnPropertyDescriptor: cells[0].getOwnPropertyDescriptor.set,
      getOwnPropertyDescriptors: cells[0].getOwnPropertyDescriptors.set,
      getOwnPropertyNames: cells[0].getOwnPropertyNames.set,
      getPrototypeOf: cells[0].getPrototypeOf.set,
      is: cells[0].is.set,
      isFrozen: cells[0].isFrozen.set,
      isSealed: cells[0].isSealed.set,
      isExtensible: cells[0].isExtensible.set,
      keys: cells[0].keys.set,
      objectPrototype: cells[0].objectPrototype.set,
      seal: cells[0].seal.set,
      preventExtensions: cells[0].preventExtensions.set,
      setPrototypeOf: cells[0].setPrototypeOf.set,
      values: cells[0].values.set,
      fromEntries: cells[0].fromEntries.set,
      speciesSymbol: cells[0].speciesSymbol.set,
      toStringTagSymbol: cells[0].toStringTagSymbol.set,
      iteratorSymbol: cells[0].iteratorSymbol.set,
      matchAllSymbol: cells[0].matchAllSymbol.set,
      replaceSymbol: cells[0].replaceSymbol.set,
      unscopablesSymbol: cells[0].unscopablesSymbol.set,
      symbolKeyFor: cells[0].symbolKeyFor.set,
      symbolFor: cells[0].symbolFor.set,
      isInteger: cells[0].isInteger.set,
      stringifyJson: cells[0].stringifyJson.set,
      defineProperty: cells[0].defineProperty.set,
      apply: cells[0].apply.set,
      construct: cells[0].construct.set,
      reflectGet: cells[0].reflectGet.set,
      reflectGetOwnPropertyDescriptor: cells[0].reflectGetOwnPropertyDescriptor.set,
      reflectHas: cells[0].reflectHas.set,
      reflectIsExtensible: cells[0].reflectIsExtensible.set,
      ownKeys: cells[0].ownKeys.set,
      reflectPreventExtensions: cells[0].reflectPreventExtensions.set,
      reflectSet: cells[0].reflectSet.set,
      isArray: cells[0].isArray.set,
      arrayPrototype: cells[0].arrayPrototype.set,
      arrayBufferPrototype: cells[0].arrayBufferPrototype.set,
      mapPrototype: cells[0].mapPrototype.set,
      proxyRevocable: cells[0].proxyRevocable.set,
      regexpPrototype: cells[0].regexpPrototype.set,
      setPrototype: cells[0].setPrototype.set,
      stringPrototype: cells[0].stringPrototype.set,
      weakmapPrototype: cells[0].weakmapPrototype.set,
      weaksetPrototype: cells[0].weaksetPrototype.set,
      functionPrototype: cells[0].functionPrototype.set,
      promisePrototype: cells[0].promisePrototype.set,
      generatorPrototype: cells[0].generatorPrototype.set,
      iteratorPrototype: cells[0].iteratorPrototype.set,
      typedArrayPrototype: cells[0].typedArrayPrototype.set,
      uncurryThis: cells[0].uncurryThis.set,
      hasOwn: cells[0].hasOwn.set,
      arrayFilter: cells[0].arrayFilter.set,
      arrayForEach: cells[0].arrayForEach.set,
      arrayIncludes: cells[0].arrayIncludes.set,
      arrayJoin: cells[0].arrayJoin.set,
      arrayMap: cells[0].arrayMap.set,
      arrayFlatMap: cells[0].arrayFlatMap.set,
      arrayPop: cells[0].arrayPop.set,
      arrayPush: cells[0].arrayPush.set,
      arraySlice: cells[0].arraySlice.set,
      arraySome: cells[0].arraySome.set,
      arraySort: cells[0].arraySort.set,
      iterateArray: cells[0].iterateArray.set,
      arrayBufferSlice: cells[0].arrayBufferSlice.set,
      arrayBufferGetByteLength: cells[0].arrayBufferGetByteLength.set,
      typedArraySet: cells[0].typedArraySet.set,
      mapSet: cells[0].mapSet.set,
      mapGet: cells[0].mapGet.set,
      mapHas: cells[0].mapHas.set,
      mapDelete: cells[0].mapDelete.set,
      mapEntries: cells[0].mapEntries.set,
      iterateMap: cells[0].iterateMap.set,
      setAdd: cells[0].setAdd.set,
      setDelete: cells[0].setDelete.set,
      setForEach: cells[0].setForEach.set,
      setHas: cells[0].setHas.set,
      iterateSet: cells[0].iterateSet.set,
      regexpExec: cells[0].regexpExec.set,
      regexpReplace: cells[0].regexpReplace.set,
      matchAllRegExp: cells[0].matchAllRegExp.set,
      sealRegexp: cells[0].sealRegexp.set,
      stringEndsWith: cells[0].stringEndsWith.set,
      stringIncludes: cells[0].stringIncludes.set,
      stringIndexOf: cells[0].stringIndexOf.set,
      stringMatch: cells[0].stringMatch.set,
      stringSearch: cells[0].stringSearch.set,
      stringSlice: cells[0].stringSlice.set,
      stringSplit: cells[0].stringSplit.set,
      stringStartsWith: cells[0].stringStartsWith.set,
      iterateString: cells[0].iterateString.set,
      weakmapDelete: cells[0].weakmapDelete.set,
      weakmapGet: cells[0].weakmapGet.set,
      weakmapHas: cells[0].weakmapHas.set,
      weakmapSet: cells[0].weakmapSet.set,
      weaksetAdd: cells[0].weaksetAdd.set,
      weaksetHas: cells[0].weaksetHas.set,
      functionToString: cells[0].functionToString.set,
      functionBind: cells[0].functionBind.set,
      generatorNext: cells[0].generatorNext.set,
      generatorThrow: cells[0].generatorThrow.set,
      promiseAll: cells[0].promiseAll.set,
      promiseCatch: cells[0].promiseCatch.set,
      promiseThen: cells[0].promiseThen.set,
      finalizationRegistryRegister: cells[0].finalizationRegistryRegister.set,
      finalizationRegistryUnregister: cells[0].finalizationRegistryUnregister.set,
      isPrimitive: cells[0].isPrimitive.set,
      isError: cells[0].isError.set,
      identity: cells[0].identity.set,
      FERAL_EVAL: cells[0].FERAL_EVAL.set,
      FERAL_FUNCTION: cells[0].FERAL_FUNCTION.set,
      noEvalEvaluate: cells[0].noEvalEvaluate.set,
      FERAL_STACK_GETTER: cells[0].FERAL_STACK_GETTER.set,
      FERAL_STACK_SETTER: cells[0].FERAL_STACK_SETTER.set,
      AsyncGeneratorFunctionInstance: cells[0].AsyncGeneratorFunctionInstance.set,
    },
    importMeta: {},
  });
  functors[1]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[2]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      makeEnvironmentCaptor: cells[2].makeEnvironmentCaptor.set,
      getEnvironmentOption: cells[2].getEnvironmentOption.set,
      getEnvironmentOptionsList: cells[2].getEnvironmentOptionsList.set,
      environmentOptionsListHas: cells[2].environmentOptionsListHas.set,
    },
    importMeta: {},
  });
  functors[3]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./src/env-options.js", 2);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[4]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      isBufferImmutable: cells[4].isBufferImmutable.set,
      sliceBufferToImmutable: cells[4].sliceBufferToImmutable.set,
      optTransferBufferToImmutable: cells[4].optTransferBufferToImmutable.set,
    },
    importMeta: {},
  });
  functors[5]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./immutable-arraybuffer-pony.js", 4);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[6]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./src/immutable-arraybuffer-shim.js", 5);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[7]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      an: cells[7].an.set,
      bestEffortStringify: cells[7].bestEffortStringify.set,
      enJoin: cells[7].enJoin.set,
    },
    importMeta: {},
  });
  functors[8]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[9]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[10]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      makeCacheMapKit: cells[10].makeCacheMapKit.set,
    },
    importMeta: {},
  });
  functors[11]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./src/cachemap.js", 10);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[12]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "@endo/cache-map", 11);
    },
    liveVar: {
    },
    onceVar: {
      makeNoteLogArgsArrayKit: cells[12].makeNoteLogArgsArrayKit.set,
    },
    importMeta: {},
  });
  functors[13]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
      observeImports(map, "./stringify-utils.js", 7);
      observeImports(map, "./types.js", 8);
      observeImports(map, "./internal-types.js", 9);
      observeImports(map, "./note-log-args.js", 12);
    },
    liveVar: {
    },
    onceVar: {
      quote: cells[13].q.set,
      bare: cells[13].b.set,
      redactedDetails: cells[13].X.set,
      unredactedDetails: cells[13].unredactedDetails.set,
      makeError: cells[13].makeError.set,
      note: cells[13].annotateError.set,
      loggedErrorHandler: cells[13].loggedErrorHandler.set,
      assert: cells[13].assert.set,
      assertEqual: cells[13].assertEqual.set,
      sanitizeError: cells[13].sanitizeError.set,
      makeAssert: cells[13].makeAssert.set,
    },
    importMeta: {},
  });
  functors[14]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      isTypedArray: cells[14].isTypedArray.set,
      makeHardener: cells[14].makeHardener.set,
    },
    importMeta: {},
  });
  functors[15]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      cauterizeProperty: cells[15].cauterizeProperty.set,
    },
    importMeta: {},
  });
  functors[16]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      NativeErrors: cells[16].NativeErrors.set,
      constantProperties: cells[16].constantProperties.set,
      universalPropertyNames: cells[16].universalPropertyNames.set,
      initialGlobalPropertyNames: cells[16].initialGlobalPropertyNames.set,
      sharedGlobalPropertyNames: cells[16].sharedGlobalPropertyNames.set,
      uniqueGlobalPropertyNames: cells[16].uniqueGlobalPropertyNames.set,
      FunctionInstance: cells[16].FunctionInstance.set,
      AsyncFunctionInstance: cells[16].AsyncFunctionInstance.set,
      isAccessorPermit: cells[16].isAccessorPermit.set,
      permitted: cells[16].permitted.set,
    },
    importMeta: {},
  });
  functors[17]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./cauterize-property.js", 15);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./permits.js", 16);
    },
    liveVar: {
    },
    onceVar: {
      makeIntrinsicsCollector: cells[17].makeIntrinsicsCollector.set,
      getGlobalIntrinsics: cells[17].getGlobalIntrinsics.set,
    },
    importMeta: {},
  });
  functors[18]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./permits.js", 16);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./cauterize-property.js", 15);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[18].default.set,
    },
    importMeta: {},
  });
  functors[19]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[19].default.set,
    },
    importMeta: {},
  });
  functors[20]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[20].default.set,
    },
    importMeta: {},
  });
  functors[21]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[21].default.set,
    },
    importMeta: {},
  });
  functors[22]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[22].default.set,
    },
    importMeta: {},
  });
  functors[23]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      minEnablements: cells[23].minEnablements.set,
      moderateEnablements: cells[23].moderateEnablements.set,
      severeEnablements: cells[23].severeEnablements.set,
    },
    importMeta: {},
  });
  functors[24]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./enablements.js", 23);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[24].default.set,
    },
    importMeta: {},
  });
  functors[25]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[25].default.set,
    },
    importMeta: {},
  });
  functors[26]({
    imports(entries) {
      const map = new Map(entries);
    },
    liveVar: {
    },
    onceVar: {
      makeEvalFunction: cells[26].makeEvalFunction.set,
    },
    importMeta: {},
  });
  functors[27]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      makeFunctionConstructor: cells[27].makeFunctionConstructor.set,
    },
    importMeta: {},
  });
  functors[28]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./make-eval-function.js", 26);
      observeImports(map, "./make-function-constructor.js", 27);
      observeImports(map, "./permits.js", 16);
    },
    liveVar: {
    },
    onceVar: {
      setGlobalObjectSymbolUnscopables: cells[28].setGlobalObjectSymbolUnscopables.set,
      setGlobalObjectConstantProperties: cells[28].setGlobalObjectConstantProperties.set,
      setGlobalObjectMutableProperties: cells[28].setGlobalObjectMutableProperties.set,
      setGlobalObjectEvaluators: cells[28].setGlobalObjectEvaluators.set,
    },
    importMeta: {},
  });
  functors[29]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      alwaysThrowHandler: cells[29].alwaysThrowHandler.set,
      strictScopeTerminatorHandler: cells[29].strictScopeTerminatorHandler.set,
      strictScopeTerminator: cells[29].strictScopeTerminator.set,
    },
    importMeta: {},
  });
  functors[30]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./strict-scope-terminator.js", 29);
    },
    liveVar: {
    },
    onceVar: {
      createSloppyGlobalsScopeTerminator: cells[30].createSloppyGlobalsScopeTerminator.set,
    },
    importMeta: {},
  });
  functors[31]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      makeEvalScopeKit: cells[31].makeEvalScopeKit.set,
    },
    importMeta: {},
  });
  functors[32]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      getSourceURL: cells[32].getSourceURL.set,
    },
    importMeta: {},
  });
  functors[33]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./get-source-url.js", 32);
    },
    liveVar: {
    },
    onceVar: {
      rejectHtmlComments: cells[33].rejectHtmlComments.set,
      evadeHtmlCommentTest: cells[33].evadeHtmlCommentTest.set,
      rejectImportExpressions: cells[33].rejectImportExpressions.set,
      evadeImportExpressionTest: cells[33].evadeImportExpressionTest.set,
      rejectSomeDirectEvalExpressions: cells[33].rejectSomeDirectEvalExpressions.set,
      mandatoryTransforms: cells[33].mandatoryTransforms.set,
      applyTransforms: cells[33].applyTransforms.set,
      transforms: cells[33].transforms.set,
    },
    importMeta: {},
  });
  functors[34]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      isValidIdentifierName: cells[34].isValidIdentifierName.set,
      getScopeConstants: cells[34].getScopeConstants.set,
    },
    importMeta: {},
  });
  functors[35]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./scope-constants.js", 34);
    },
    liveVar: {
    },
    onceVar: {
      makeEvaluate: cells[35].makeEvaluate.set,
    },
    importMeta: {},
  });
  functors[36]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./strict-scope-terminator.js", 29);
      observeImports(map, "./sloppy-globals-scope-terminator.js", 30);
      observeImports(map, "./eval-scope.js", 31);
      observeImports(map, "./transforms.js", 33);
      observeImports(map, "./make-evaluate.js", 35);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      makeSafeEvaluator: cells[36].makeSafeEvaluator.set,
    },
    importMeta: {},
  });
  functors[37]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameFunctionToString: cells[37].tameFunctionToString.set,
    },
    importMeta: {},
  });
  functors[38]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameDomains: cells[38].tameDomains.set,
    },
    importMeta: {},
  });
  functors[39]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameModuleSource: cells[39].tameModuleSource.set,
    },
    importMeta: {},
  });
  functors[40]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      consoleLevelMethods: cells[40].consoleLevelMethods.set,
      consoleOtherMethods: cells[40].consoleOtherMethods.set,
      makeLoggingConsoleKit: cells[40].makeLoggingConsoleKit.set,
      pumpLogToConsole: cells[40].pumpLogToConsole.set,
      makeCausalConsole: cells[40].makeCausalConsole.set,
      defineCausalConsoleFromLogger: cells[40].defineCausalConsoleFromLogger.set,
      filterConsole: cells[40].filterConsole.set,
    },
    importMeta: {},
  });
  functors[41]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      makeRejectionHandlers: cells[41].makeRejectionHandlers.set,
    },
    importMeta: {},
  });
  functors[42]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
      observeImports(map, "./assert.js", 13);
      observeImports(map, "./console.js", 40);
      observeImports(map, "./unhandled-rejection.js", 41);
    },
    liveVar: {
    },
    onceVar: {
      tameConsole: cells[42].tameConsole.set,
    },
    importMeta: {},
  });
  functors[43]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      filterFileName: cells[43].filterFileName.set,
      shortenCallSiteString: cells[43].shortenCallSiteString.set,
      tameV8ErrorConstructor: cells[43].tameV8ErrorConstructor.set,
    },
    importMeta: {},
  });
  functors[44]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "../commons.js", 0);
      observeImports(map, "../permits.js", 16);
      observeImports(map, "./tame-v8-error-constructor.js", 43);
    },
    liveVar: {
    },
    onceVar: {
      default: cells[44].default.set,
    },
    importMeta: {},
  });
  functors[45]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "@endo/env-options", 3);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      makeAlias: cells[45].makeAlias.set,
      load: cells[45].load.set,
      loadNow: cells[45].loadNow.set,
    },
    importMeta: {},
  });
  functors[46]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./module-load.js", 45);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      deferExports: cells[46].deferExports.set,
      getDeferredExports: cells[46].getDeferredExports.set,
    },
    importMeta: {},
  });
  functors[47]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./transforms.js", 33);
      observeImports(map, "./make-safe-evaluator.js", 36);
    },
    liveVar: {
    },
    onceVar: {
      provideCompartmentEvaluator: cells[47].provideCompartmentEvaluator.set,
      compartmentEvaluate: cells[47].compartmentEvaluate.set,
    },
    importMeta: {},
  });
  functors[48]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./error/assert.js", 13);
      observeImports(map, "./module-proxy.js", 46);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./compartment-evaluate.js", 47);
    },
    liveVar: {
    },
    onceVar: {
      makeVirtualModuleInstance: cells[48].makeVirtualModuleInstance.set,
      makeModuleInstance: cells[48].makeModuleInstance.set,
    },
    importMeta: {},
  });
  functors[49]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./error/assert.js", 13);
      observeImports(map, "./module-instance.js", 48);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      link: cells[49].link.set,
      instantiate: cells[49].instantiate.set,
    },
    importMeta: {},
  });
  functors[50]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./global-object.js", 28);
      observeImports(map, "./error/assert.js", 13);
      observeImports(map, "./permits.js", 16);
      observeImports(map, "./module-load.js", 45);
      observeImports(map, "./module-link.js", 49);
      observeImports(map, "./module-proxy.js", 46);
      observeImports(map, "./compartment-evaluate.js", 47);
      observeImports(map, "./make-safe-evaluator.js", 36);
    },
    liveVar: {
    },
    onceVar: {
      InertCompartment: cells[50].InertCompartment.set,
      CompartmentPrototype: cells[50].CompartmentPrototype.set,
      compartmentOptions: cells[50].compartmentOptions.set,
      makeCompartmentConstructor: cells[50].makeCompartmentConstructor.set,
    },
    importMeta: {},
  });
  functors[51]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./compartment.js", 50);
    },
    liveVar: {
    },
    onceVar: {
      getAnonymousIntrinsics: cells[51].getAnonymousIntrinsics.set,
    },
    importMeta: {},
  });
  functors[52]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameHarden: cells[52].tameHarden.set,
    },
    importMeta: {},
  });
  functors[53]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameSymbolConstructor: cells[53].tameSymbolConstructor.set,
    },
    importMeta: {},
  });
  functors[54]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameFauxDataProperty: cells[54].tameFauxDataProperty.set,
      tameFauxDataProperties: cells[54].tameFauxDataProperties.set,
    },
    importMeta: {},
  });
  functors[55]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      tameRegeneratorRuntime: cells[55].tameRegeneratorRuntime.set,
    },
    importMeta: {},
  });
  functors[56]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
    },
    liveVar: {
    },
    onceVar: {
      shimArrayBufferTransfer: cells[56].shimArrayBufferTransfer.set,
    },
    importMeta: {},
  });
  functors[57]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
      chooseReporter: cells[57].chooseReporter.set,
      reportInGroup: cells[57].reportInGroup.set,
    },
    importMeta: {},
  });
  functors[58]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "@endo/env-options", 3);
      observeImports(map, "@endo/immutable-arraybuffer/shim.js", 6);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./make-hardener.js", 14);
      observeImports(map, "./intrinsics.js", 17);
      observeImports(map, "./permits-intrinsics.js", 18);
      observeImports(map, "./tame-function-constructors.js", 19);
      observeImports(map, "./tame-date-constructor.js", 20);
      observeImports(map, "./tame-math-object.js", 21);
      observeImports(map, "./tame-regexp-constructor.js", 22);
      observeImports(map, "./enable-property-overrides.js", 24);
      observeImports(map, "./tame-locale-methods.js", 25);
      observeImports(map, "./global-object.js", 28);
      observeImports(map, "./make-safe-evaluator.js", 36);
      observeImports(map, "./permits.js", 16);
      observeImports(map, "./tame-function-tostring.js", 37);
      observeImports(map, "./tame-domains.js", 38);
      observeImports(map, "./tame-module-source.js", 39);
      observeImports(map, "./error/tame-console.js", 42);
      observeImports(map, "./error/tame-error-constructor.js", 44);
      observeImports(map, "./error/assert.js", 13);
      observeImports(map, "./get-anonymous-intrinsics.js", 51);
      observeImports(map, "./compartment.js", 50);
      observeImports(map, "./tame-harden.js", 52);
      observeImports(map, "./tame-symbol-constructor.js", 53);
      observeImports(map, "./tame-faux-data-properties.js", 54);
      observeImports(map, "./tame-regenerator-runtime.js", 55);
      observeImports(map, "./shim-arraybuffer-transfer.js", 56);
      observeImports(map, "./reporting.js", 57);
    },
    liveVar: {
    },
    onceVar: {
      repairIntrinsics: cells[58].repairIntrinsics.set,
    },
    importMeta: {},
  });
  functors[59]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./assert-sloppy-mode.js", 1);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./lockdown.js", 58);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[60]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./compartment.js", 50);
      observeImports(map, "./tame-function-tostring.js", 37);
      observeImports(map, "./intrinsics.js", 17);
      observeImports(map, "./reporting.js", 57);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[61]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[62]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./commons.js", 0);
      observeImports(map, "./error/console.js", 40);
      observeImports(map, "./error/assert.js", 13);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });
  functors[63]({
    imports(entries) {
      const map = new Map(entries);
      observeImports(map, "./src/lockdown-shim.js", 59);
      observeImports(map, "./src/compartment-shim.js", 60);
      observeImports(map, "./src/assert-shim.js", 61);
      observeImports(map, "./src/console-shim.js", 62);
    },
    liveVar: {
    },
    onceVar: {
    },
    importMeta: {},
  });

  return cells[cells.length - 1]['*'].get();
})([
// === 0. ses ./src/commons.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);/**
 * Captures native intrinsics during initialization, so vetted shims
 * (running between initialization of SES and calling lockdown) are free to
 * modify the environment without compromising the integrity of SES. For
 * example, a vetted shim can modify Object.assign because we capture and
 * export Object and assign here, then never again consult Object to get its
 * assign property.
 *
 * This pattern of use is enforced by eslint rules no-restricted-globals and
 * no-polymorphic-call.
 * We maintain the list of restricted globals in ../package.json.
 *
 * @module
 */

/* global globalThis */
/* eslint-disable no-restricted-globals */

// We cannot use globalThis as the local name since it would capture the
// lexical name.
const universalThis = globalThis;$h͏_once.universalThis(universalThis);


       const {
  Array,
  ArrayBuffer,
  Date,
  FinalizationRegistry,
  Float32Array,
  JSON,
  Map,
  Math,
  Number,
  Object,
  Promise,
  Proxy,
  Reflect,
  RegExp: FERAL_REG_EXP,
  Set,
  String,
  Symbol,
  Uint8Array,
  WeakMap,
  WeakSet,
} = globalThis;$h͏_once.Array(Array);$h͏_once.ArrayBuffer(ArrayBuffer);$h͏_once.Date(Date);$h͏_once.FinalizationRegistry(FinalizationRegistry);$h͏_once.Float32Array(Float32Array);$h͏_once.JSON(JSON);$h͏_once.Map(Map);$h͏_once.Math(Math);$h͏_once.Number(Number);$h͏_once.Object(Object);$h͏_once.Promise(Promise);$h͏_once.Proxy(Proxy);$h͏_once.Reflect(Reflect);$h͏_once.FERAL_REG_EXP(FERAL_REG_EXP);$h͏_once.Set(Set);$h͏_once.String(String);$h͏_once.Symbol(Symbol);$h͏_once.Uint8Array(Uint8Array);$h͏_once.WeakMap(WeakMap);$h͏_once.WeakSet(WeakSet);

       const {
  // The feral Error constructor is safe for internal use, but must not be
  // revealed to post-lockdown code in any compartment including the start
  // compartment since in V8 at least it bears stack inspection capabilities.
  Error: FERAL_ERROR,
  RangeError,
  ReferenceError,
  SyntaxError,
  TypeError,
  AggregateError,
} = globalThis;$h͏_once.FERAL_ERROR(FERAL_ERROR);$h͏_once.RangeError(RangeError);$h͏_once.ReferenceError(ReferenceError);$h͏_once.SyntaxError(SyntaxError);$h͏_once.TypeError(TypeError);$h͏_once.AggregateError(AggregateError);

       const {
  assign,
  create,
  defineProperties,
  entries,
  freeze,
  getOwnPropertyDescriptor,
  getOwnPropertyDescriptors,
  getOwnPropertyNames,
  getPrototypeOf,
  is,
  isFrozen,
  isSealed,
  isExtensible,
  keys,
  prototype: objectPrototype,
  seal,
  preventExtensions,
  setPrototypeOf,
  values,
  fromEntries,
} = Object;$h͏_once.assign(assign);$h͏_once.create(create);$h͏_once.defineProperties(defineProperties);$h͏_once.entries(entries);$h͏_once.freeze(freeze);$h͏_once.getOwnPropertyDescriptor(getOwnPropertyDescriptor);$h͏_once.getOwnPropertyDescriptors(getOwnPropertyDescriptors);$h͏_once.getOwnPropertyNames(getOwnPropertyNames);$h͏_once.getPrototypeOf(getPrototypeOf);$h͏_once.is(is);$h͏_once.isFrozen(isFrozen);$h͏_once.isSealed(isSealed);$h͏_once.isExtensible(isExtensible);$h͏_once.keys(keys);$h͏_once.objectPrototype(objectPrototype);$h͏_once.seal(seal);$h͏_once.preventExtensions(preventExtensions);$h͏_once.setPrototypeOf(setPrototypeOf);$h͏_once.values(values);$h͏_once.fromEntries(fromEntries);

       const {
  species: speciesSymbol,
  toStringTag: toStringTagSymbol,
  iterator: iteratorSymbol,
  matchAll: matchAllSymbol,
  replace: replaceSymbol,
  unscopables: unscopablesSymbol,
  keyFor: symbolKeyFor,
  for: symbolFor,
} = Symbol;$h͏_once.speciesSymbol(speciesSymbol);$h͏_once.toStringTagSymbol(toStringTagSymbol);$h͏_once.iteratorSymbol(iteratorSymbol);$h͏_once.matchAllSymbol(matchAllSymbol);$h͏_once.replaceSymbol(replaceSymbol);$h͏_once.unscopablesSymbol(unscopablesSymbol);$h͏_once.symbolKeyFor(symbolKeyFor);$h͏_once.symbolFor(symbolFor);

       const { isInteger } = Number;$h͏_once.isInteger(isInteger);

       const { stringify: stringifyJson } = JSON;

// Needed only for the Safari bug workaround below
$h͏_once.stringifyJson(stringifyJson);const{defineProperty:originalDefineProperty}=Object;

       const defineProperty = (object, prop, descriptor) => {
  // We used to do the following, until we had to reopen Safari bug
  // https://bugs.webkit.org/show_bug.cgi?id=222538#c17
  // Once this is fixed, we may restore it.
  // // Object.defineProperty is allowed to fail silently so we use
  // // Object.defineProperties instead.
  // return defineProperties(object, { [prop]: descriptor });

  // Instead, to workaround the Safari bug
  const result = originalDefineProperty(object, prop, descriptor);
  if (result !== object) {
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_DEFINE_PROPERTY_FAILED_SILENTLY.md
    throw TypeError(
      `Please report that the original defineProperty silently failed to set ${stringifyJson(
        String(prop),
      )}. (SES_DEFINE_PROPERTY_FAILED_SILENTLY)`,
    );
  }
  return result;
};$h͏_once.defineProperty(defineProperty);

       const {
  apply,
  construct,
  get: reflectGet,
  getOwnPropertyDescriptor: reflectGetOwnPropertyDescriptor,
  has: reflectHas,
  isExtensible: reflectIsExtensible,
  ownKeys,
  preventExtensions: reflectPreventExtensions,
  set: reflectSet,
} = Reflect;$h͏_once.apply(apply);$h͏_once.construct(construct);$h͏_once.reflectGet(reflectGet);$h͏_once.reflectGetOwnPropertyDescriptor(reflectGetOwnPropertyDescriptor);$h͏_once.reflectHas(reflectHas);$h͏_once.reflectIsExtensible(reflectIsExtensible);$h͏_once.ownKeys(ownKeys);$h͏_once.reflectPreventExtensions(reflectPreventExtensions);$h͏_once.reflectSet(reflectSet);

       const { isArray, prototype: arrayPrototype } = Array;$h͏_once.isArray(isArray);$h͏_once.arrayPrototype(arrayPrototype);
       const { prototype: arrayBufferPrototype } = ArrayBuffer;$h͏_once.arrayBufferPrototype(arrayBufferPrototype);
       const { prototype: mapPrototype } = Map;$h͏_once.mapPrototype(mapPrototype);
       const { revocable: proxyRevocable } = Proxy;$h͏_once.proxyRevocable(proxyRevocable);
       const { prototype: regexpPrototype } = RegExp;$h͏_once.regexpPrototype(regexpPrototype);
       const { prototype: setPrototype } = Set;$h͏_once.setPrototype(setPrototype);
       const { prototype: stringPrototype } = String;$h͏_once.stringPrototype(stringPrototype);
       const { prototype: weakmapPrototype } = WeakMap;$h͏_once.weakmapPrototype(weakmapPrototype);
       const { prototype: weaksetPrototype } = WeakSet;$h͏_once.weaksetPrototype(weaksetPrototype);
       const { prototype: functionPrototype } = Function;$h͏_once.functionPrototype(functionPrototype);
       const { prototype: promisePrototype } = Promise;$h͏_once.promisePrototype(promisePrototype);
       const { prototype: generatorPrototype } = getPrototypeOf(
  // eslint-disable-next-line no-empty-function, func-names
  function* () {},
);$h͏_once.generatorPrototype(generatorPrototype);
       const iteratorPrototype = getPrototypeOf(
  // eslint-disable-next-line @endo/no-polymorphic-call
  getPrototypeOf(arrayPrototype.values()),
);$h͏_once.iteratorPrototype(iteratorPrototype);

       const typedArrayPrototype = getPrototypeOf(Uint8Array.prototype);$h͏_once.typedArrayPrototype(typedArrayPrototype);

const { bind } = functionPrototype;

/**
 * uncurryThis()
 * Equivalent of: fn => (thisArg, ...args) => apply(fn, thisArg, args)
 *
 * See those reference for a complete explanation:
 * http://wiki.ecmascript.org/doku.php?id=conventions:safe_meta_programming
 * which only lives at
 * http://web.archive.org/web/20160805225710/http://wiki.ecmascript.org/doku.php?id=conventions:safe_meta_programming
 *
 * @type {<F extends (this: any, ...args: any[]) => any>(fn: F) => ((thisArg: ThisParameterType<F>, ...args: Parameters<F>) => ReturnType<F>)}
 */
       const uncurryThis = bind.bind(bind.call); // eslint-disable-line @endo/no-polymorphic-call

// See https://github.com/endojs/endo/issues/2930
$h͏_once.uncurryThis(uncurryThis);if(!('hasOwn'in Object)){
  const ObjectPrototypeHasOwnProperty = objectPrototype.hasOwnProperty;
  const hasOwnShim = (obj, key) => {
    if (obj === undefined || obj === null) {
      // We need to add this extra test because of differences in
      // the order in which `hasOwn` vs `hasOwnProperty` validates
      // arguments.
      throw TypeError('Cannot convert undefined or null to object');
    }
    return apply(ObjectPrototypeHasOwnProperty, obj, [key]);
  };
  defineProperty(Object, 'hasOwn', {
    value: hasOwnShim,
    writable: true,
    enumerable: false,
    configurable: true,
  });
}

       const { hasOwn } = Object;
//
$h͏_once.hasOwn(hasOwn);const arrayFilter=uncurryThis(arrayPrototype.filter);$h͏_once.arrayFilter(arrayFilter);
       const arrayForEach = uncurryThis(arrayPrototype.forEach);$h͏_once.arrayForEach(arrayForEach);
       const arrayIncludes = uncurryThis(arrayPrototype.includes);$h͏_once.arrayIncludes(arrayIncludes);
       const arrayJoin = uncurryThis(arrayPrototype.join);
/** @type {<T, U>(thisArg: readonly T[], callbackfn: (value: T, index: number, array: T[]) => U, cbThisArg?: any) => U[]} */$h͏_once.arrayJoin(arrayJoin);
       const arrayMap = /** @type {any} */ (uncurryThis(arrayPrototype.map));$h͏_once.arrayMap(arrayMap);
       const arrayFlatMap = /** @type {any} */ (
  uncurryThis(arrayPrototype.flatMap)
);$h͏_once.arrayFlatMap(arrayFlatMap);
       const arrayPop = uncurryThis(arrayPrototype.pop);
/** @type {<T>(thisArg: T[], ...items: T[]) => number} */$h͏_once.arrayPop(arrayPop);
       const arrayPush = uncurryThis(arrayPrototype.push);$h͏_once.arrayPush(arrayPush);
       const arraySlice = uncurryThis(arrayPrototype.slice);$h͏_once.arraySlice(arraySlice);
       const arraySome = uncurryThis(arrayPrototype.some);$h͏_once.arraySome(arraySome);
       const arraySort = uncurryThis(arrayPrototype.sort);$h͏_once.arraySort(arraySort);
       const iterateArray = uncurryThis(arrayPrototype[iteratorSymbol]);
//
$h͏_once.iterateArray(iterateArray);const arrayBufferSlice=uncurryThis(arrayBufferPrototype.slice);
/** @type {(b: ArrayBuffer) => number} */$h͏_once.arrayBufferSlice(arrayBufferSlice);
       const arrayBufferGetByteLength = uncurryThis(
  // @ts-expect-error we know it is there on all conforming platforms
  getOwnPropertyDescriptor(arrayBufferPrototype, 'byteLength').get,
);
//
$h͏_once.arrayBufferGetByteLength(arrayBufferGetByteLength);const typedArraySet=uncurryThis(typedArrayPrototype.set);
//
$h͏_once.typedArraySet(typedArraySet);const mapSet=uncurryThis(mapPrototype.set);$h͏_once.mapSet(mapSet);
       const mapGet = uncurryThis(mapPrototype.get);$h͏_once.mapGet(mapGet);
       const mapHas = uncurryThis(mapPrototype.has);$h͏_once.mapHas(mapHas);
       const mapDelete = uncurryThis(mapPrototype.delete);$h͏_once.mapDelete(mapDelete);
       const mapEntries = uncurryThis(mapPrototype.entries);$h͏_once.mapEntries(mapEntries);
       const iterateMap = uncurryThis(mapPrototype[iteratorSymbol]);
//
$h͏_once.iterateMap(iterateMap);const setAdd=uncurryThis(setPrototype.add);$h͏_once.setAdd(setAdd);
       const setDelete = uncurryThis(setPrototype.delete);$h͏_once.setDelete(setDelete);
       const setForEach = uncurryThis(setPrototype.forEach);$h͏_once.setForEach(setForEach);
       const setHas = uncurryThis(setPrototype.has);$h͏_once.setHas(setHas);
       const iterateSet = uncurryThis(setPrototype[iteratorSymbol]);
//
/**
 * `regexpExec` is provided in exclusion of `regexpTest`, which would be
 * vulnerable to RegExp.prototype poisoning.
 */$h͏_once.iterateSet(iterateSet);
       const regexpExec = uncurryThis(regexpPrototype.exec);
/**
 * @type { &
 *   ((thisArg: RegExp, string: string, replaceValue: string) => string) &
 *   ((thisArg: RegExp, string: string, replacer: (substring: string, ...args: any[]) => string) => string)
 * }
 */$h͏_once.regexpExec(regexpExec);
       const regexpReplace = /** @type {any} */ (
  uncurryThis(regexpPrototype[replaceSymbol])
);$h͏_once.regexpReplace(regexpReplace);
       const matchAllRegExp = uncurryThis(regexpPrototype[matchAllSymbol]);$h͏_once.matchAllRegExp(matchAllRegExp);
const { _regexpConstructor, ...regexpDescriptors } =
  getOwnPropertyDescriptors(regexpPrototype);
arrayForEach(ownKeys(regexpDescriptors), key => {
  const desc = regexpDescriptors[/** @type {any} */ (key)];
  desc.configurable = false;
  if (desc.writable) desc.writable = false;
});
/**
 * Protect a RegExp instance against RegExp.prototype poisoning ("exec",
 * "flags", Symbol.replace, etc.).
 * @type {<T extends RegExp>(regexp: T) => T}
 */
       const sealRegexp = regexp =>
  seal(defineProperties(regexp, regexpDescriptors));
//
$h͏_once.sealRegexp(sealRegexp);const stringEndsWith=uncurryThis(stringPrototype.endsWith);$h͏_once.stringEndsWith(stringEndsWith);
       const stringIncludes = uncurryThis(stringPrototype.includes);$h͏_once.stringIncludes(stringIncludes);
       const stringIndexOf = uncurryThis(stringPrototype.indexOf);$h͏_once.stringIndexOf(stringIndexOf);
       const stringMatch = uncurryThis(stringPrototype.match);
// `stringReplace` is intentionally omitted because it would be vulnerable to
// RegExp.prototype poisoning; use `regexpReplace(re, str, replacer)` instead
// (and `sealRegexp` on its regular expressions).
$h͏_once.stringMatch(stringMatch);const stringSearch=uncurryThis(stringPrototype.search);$h͏_once.stringSearch(stringSearch);
       const stringSlice = uncurryThis(stringPrototype.slice);
/**
 * `stringSplit` should only be used with a string separator; regular
 * expressions are vulnerable to RegExp.prototype poisoning.
 * @type {(thisArg: string, separator: string, limit?: number) => string[]}
 */$h͏_once.stringSlice(stringSlice);
       const stringSplit = /** @type {any} */ (
  uncurryThis(stringPrototype.split)
);$h͏_once.stringSplit(stringSplit);
       const stringStartsWith = uncurryThis(stringPrototype.startsWith);$h͏_once.stringStartsWith(stringStartsWith);
       const iterateString = uncurryThis(stringPrototype[iteratorSymbol]);
//
$h͏_once.iterateString(iterateString);const weakmapDelete=uncurryThis(weakmapPrototype.delete);
/** @type {<K extends {}, V>(thisArg: WeakMap<K, V>, ...args: Parameters<WeakMap<K,V>['get']>) => ReturnType<WeakMap<K,V>['get']>} */$h͏_once.weakmapDelete(weakmapDelete);
       const weakmapGet = uncurryThis(weakmapPrototype.get);$h͏_once.weakmapGet(weakmapGet);
       const weakmapHas = uncurryThis(weakmapPrototype.has);$h͏_once.weakmapHas(weakmapHas);
       const weakmapSet = uncurryThis(weakmapPrototype.set);
//
$h͏_once.weakmapSet(weakmapSet);const weaksetAdd=uncurryThis(weaksetPrototype.add);$h͏_once.weaksetAdd(weaksetAdd);
       const weaksetHas = uncurryThis(weaksetPrototype.has);
//
$h͏_once.weaksetHas(weaksetHas);const functionToString=uncurryThis(functionPrototype.toString);$h͏_once.functionToString(functionToString);
       const functionBind = uncurryThis(bind);
//
$h͏_once.functionBind(functionBind);const generatorNext=uncurryThis(generatorPrototype.next);$h͏_once.generatorNext(generatorNext);
       const generatorThrow = uncurryThis(generatorPrototype.throw);
//
$h͏_once.generatorThrow(generatorThrow);const{all}=Promise;
       const promiseAll = promises => apply(all, Promise, [promises]);$h͏_once.promiseAll(promiseAll);
       const promiseCatch = uncurryThis(promisePrototype.catch);
/** @type {<T, TResult1 = T, TResult2 = never>(thisArg: T, onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null) => Promise<TResult1 | TResult2>} */$h͏_once.promiseCatch(promiseCatch);
       const promiseThen = /** @type {any} */ (
  uncurryThis(promisePrototype.then)
);
//
$h͏_once.promiseThen(promiseThen);const finalizationRegistryRegister=
  FinalizationRegistry && uncurryThis(FinalizationRegistry.prototype.register);$h͏_once.finalizationRegistryRegister(finalizationRegistryRegister);
       const finalizationRegistryUnregister =
  FinalizationRegistry &&
  uncurryThis(FinalizationRegistry.prototype.unregister);

/**
 * TODO Consolidate with `isPrimitive` that's currently in `@endo/pass-style`.
 * Layering constraints make this tricky, which is why we haven't yet figured
 * out how to do this.
 *
 * @type {(val: unknown) => val is (undefined
 * | null
 * | boolean
 * | number
 * | bigint
 * | string
 * | symbol)}
 */$h͏_once.finalizationRegistryUnregister(finalizationRegistryUnregister);
       const isPrimitive = val =>
  !val || (typeof val !== 'object' && typeof val !== 'function');

/**
 * isError tests whether an object inherits from the intrinsic
 * `Error.prototype`.
 * We capture the original error constructor as FERAL_ERROR to provide a clear
 * signal for reviewers that we are handling an object with excess authority,
 * like stack trace inspection, that we are carefully hiding from client code.
 * Checking instanceof happens to be safe, but to avoid uttering FERAL_ERROR
 * for such a trivial case outside commons.js, we provide a utility function.
 *
 * @param {any} value
 */$h͏_once.isPrimitive(isPrimitive);
       const isError = value => value instanceof FERAL_ERROR;

/**
 * @template T
 * @param {T} x
 */$h͏_once.isError(isError);
       const identity = x => x;

// The original unsafe untamed eval function, which must not escape.
// Sample at module initialization time, which is before lockdown can
// repair it.  Use it only to build powerless abstractions.
// eslint-disable-next-line no-eval
$h͏_once.identity(identity);const FERAL_EVAL=eval;

// The original unsafe untamed Function constructor, which must not escape.
// Sample at module initialization time, which is before lockdown can
// repair it.  Use it only to build powerless abstractions.
$h͏_once.FERAL_EVAL(FERAL_EVAL);const FERAL_FUNCTION=Function;$h͏_once.FERAL_FUNCTION(FERAL_FUNCTION);

       const noEvalEvaluate = () => {
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_NO_EVAL.md
  throw TypeError('Cannot eval with evalTaming set to "no-eval" (SES_NO_EVAL)');
};

// ////////////////// FERAL_STACK_GETTER FERAL_STACK_SETTER ////////////////////

// The error repair mechanism is very similar to code in
// pass-style/src/error.js and these implementations should be kept in sync.

/**
 * We gratuitiously construct a TypeError instance using syntax in order to
 * obviate the possibility that code that ran before SES (for which we are
 * irreducable vulnerable) may have replaced the global TypeError constructor.
 * We treat the nature of this error instance as the source of truth for the
 * nature of runtime constructed errors on the platform, particularly whether
 * such errors will have an own "stack" property with getters and setters.
 * At time of writing (2025) we know of no comparable mechanism for obtaining a
 * host-generated base Error instance, but we corroborate the nature of the
 * global Error constructor's instances and refuse to initialize SES in an
 * environment where the syntactic TypeError and global Error produce
 * inconsistent "stack" properties.
 * @returns {TypeError}
 */$h͏_once.noEvalEvaluate(noEvalEvaluate);
const makeTypeError = () => {
  try {
    // @ts-expect-error deliberate TypeError
    null.null;
    throw TypeError('obligatory'); // To convince the type flow inferrence.
  } catch (error) {
    return error;
  }
};

const errorStackDesc = getOwnPropertyDescriptor(Error('obligatory'), 'stack');
const typeErrorStackDesc = getOwnPropertyDescriptor(makeTypeError(), 'stack');

let feralStackGetter;
let feralStackSetter;
if (typeErrorStackDesc && typeErrorStackDesc.get) {
  // We should only encounter this case on v8 because of its problematic
  // error own stack accessor behavior.
  // Note that FF/SpiderMonkey, Moddable/XS, and the error stack proposal
  // all inherit a stack accessor property from Error.prototype, which is
  // great. That case needs no heroics to secure.
  if (
    // In the v8 case as we understand it, all errors have an own stack
    // accessor property, but within the same realm, all these accessor
    // properties have the same getter and have the same setter.
    // This is therefore the case that we repair.
    errorStackDesc &&
    typeof typeErrorStackDesc.get === 'function' &&
    typeErrorStackDesc.get === errorStackDesc.get &&
    typeof typeErrorStackDesc.set === 'function' &&
    typeErrorStackDesc.set === errorStackDesc.set
  ) {
    // Otherwise, we have own stack accessor properties that are outside
    // our expectations, that therefore need to be understood better
    // before we know how to repair them.
    feralStackGetter = freeze(typeErrorStackDesc.get);
    feralStackSetter = freeze(typeErrorStackDesc.set);
  } else {
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNEXPECTED_ERROR_OWN_STACK_ACCESSOR.md
    throw TypeError(
      'Unexpected Error own stack accessor functions (SES_UNEXPECTED_ERROR_OWN_STACK_ACCESSOR)',
    );
  }
}

/**
 * If on a v8 with the problematic error own stack accessor behavior,
 * `FERAL_STACK_GETTER` will be the shared getter of all those accessors
 * and `FERAL_STACK_SETTER` will be the shared setter. On any platform
 * without this problem, `FERAL_STACK_GETTER` and `FERAL_STACK_SETTER` are
 * both `undefined`.
 *
 * @type {(() => any) | undefined}
 */
       const FERAL_STACK_GETTER = feralStackGetter;

/**
 * If on a v8 with the problematic error own stack accessor behavior,
 * `FERAL_STACK_GETTER` will be the shared getter of all those accessors
 * and `FERAL_STACK_SETTER` will be the shared setter. On any platform
 * without this problem, `FERAL_STACK_GETTER` and `FERAL_STACK_SETTER` are
 * both `undefined`.
 *
 * @type {((newValue: any) => void) | undefined}
 */$h͏_once.FERAL_STACK_GETTER(FERAL_STACK_GETTER);
       const FERAL_STACK_SETTER = feralStackSetter;$h͏_once.FERAL_STACK_SETTER(FERAL_STACK_SETTER);

const getAsyncGeneratorFunctionInstance = () => {
  // Test for async generator function syntax support.
  try {
    // Wrapping one in an new Function lets the `hermesc` binary file
    // parse the Metro js bundle without SyntaxError, to generate the
    // optimised Hermes bytecode bundle, when `gradlew` is called to
    // assemble the release build APK for React Native prod Android apps.
    // Delaying the error until runtime lets us customise lockdown behaviour.
    return new FERAL_FUNCTION(
      'return (async function* AsyncGeneratorFunctionInstance() {})',
    )();
  } catch (error) {
    // Note: `Error.prototype.jsEngine` is only set by React Native runtime, not Hermes:
    // https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/hermes/executor/HermesExecutorFactory.cpp#L224-L230
    if (error.name === 'SyntaxError') {
      // Swallows Hermes error `async generators are unsupported` at runtime.
      // Note: `console` is not a JS built-in, so Hermes engine throws:
      // Uncaught ReferenceError: Property 'console' doesn't exist
      // See: https://github.com/facebook/hermes/issues/675
      // However React Native provides a `console` implementation when setting up error handling:
      // https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Core/InitializeCore.js
      return undefined;
    } else if (error.name === 'EvalError') {
      // eslint-disable-next-line no-empty-function
      return async function* AsyncGeneratorFunctionInstance() {};
    } else {
      throw error;
    }
  }
};

/**
 * If the platform supports async generator functions, this will be an
 * async generator function instance. Otherwise, it will be `undefined`.
 *
 * @type {AsyncGeneratorFunction | undefined}
 */
       const AsyncGeneratorFunctionInstance =
  getAsyncGeneratorFunctionInstance();$h͏_once.AsyncGeneratorFunctionInstance(AsyncGeneratorFunctionInstance);
})()
,
// === 1. ses ./src/assert-sloppy-mode.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError;$h͏_imports([["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]]]]]);

/** getThis returns globalThis in sloppy mode or undefined in strict mode. */
function getThis() {
  return this;
}

if (getThis()) {
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_NO_SLOPPY.md
  throw TypeError(`SES failed to initialize, sloppy mode (SES_NO_SLOPPY)`);
}
})()
,
// === 2. env-options ./src/env-options.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);/* global globalThis */
// @ts-check

// `@endo/env-options` needs to be imported quite early, and so should
// avoid importing from ses or anything that depends on ses.

// /////////////////////////////////////////////////////////////////////////////
// Prelude of cheap good - enough imitations of things we'd use or
// do differently if we could depend on ses

// eslint-disable-next-line no-restricted-globals
const localThis = globalThis;

const { Object, Reflect, Array, String, JSON, Error } = localThis;
const { freeze } = Object;
const { apply } = Reflect;

// Should be equivalent to the one in ses' commons.js even though it
// uses the other technique.
const uncurryThis =
  fn =>
  (receiver, ...args) =>
    apply(fn, receiver, args);
const arrayPush = uncurryThis(Array.prototype.push);
const arrayIncludes = uncurryThis(Array.prototype.includes);
const stringSplit = uncurryThis(String.prototype.split);

const q = JSON.stringify;

const Fail = (literals, ...args) => {
  let msg = literals[0];
  for (let i = 0; i < args.length; i += 1) {
    msg = `${msg}${args[i]}${literals[i + 1]}`;
  }
  throw Error(msg);
};

// end prelude
// /////////////////////////////////////////////////////////////////////////////

/**
 * `makeEnvironmentCaptor` provides a mechanism for getting environment
 * variables, if they are needed, and a way to catalog the names of all
 * the environment variables that were captured.
 *
 * @param {object} aGlobal
 * @param {boolean} [dropNames] Defaults to false. If true, don't track
 * names used.
 */
       const makeEnvironmentCaptor = (aGlobal, dropNames = false) => {
  /** @type {string[]} */
  const capturedEnvironmentOptionNames = [];

  /**
   * Gets an environment option by name and returns the option value or the
   * given default.
   *
   * @param {string} optionName
   * @param {string} defaultSetting
   * @param {string[]} [optOtherValues]
   * If provided, the option value must be included or match `defaultSetting`.
   * @returns {string}
   */
  const getEnvironmentOption = (
    optionName,
    defaultSetting,
    optOtherValues = undefined,
  ) => {
    typeof optionName === 'string' ||
      Fail`Environment option name ${q(optionName)} must be a string.`;
    typeof defaultSetting === 'string' ||
      Fail`Environment option default setting ${q(
        defaultSetting,
      )} must be a string.`;

    /** @type {string} */
    let setting = defaultSetting;
    const globalProcess = aGlobal.process || undefined;
    const globalEnv =
      (typeof globalProcess === 'object' && globalProcess.env) || undefined;
    if (typeof globalEnv === 'object') {
      if (optionName in globalEnv) {
        if (!dropNames) {
          arrayPush(capturedEnvironmentOptionNames, optionName);
        }
        const optionValue = globalEnv[optionName];
        // eslint-disable-next-line @endo/no-polymorphic-call
        typeof optionValue === 'string' ||
          Fail`Environment option named ${q(
            optionName,
          )}, if present, must have a corresponding string value, got ${q(
            optionValue,
          )}`;
        setting = optionValue;
      }
    }
    optOtherValues === undefined ||
      setting === defaultSetting ||
      arrayIncludes(optOtherValues, setting) ||
      Fail`Unrecognized ${q(optionName)} value ${q(
        setting,
      )}. Expected one of ${q([defaultSetting, ...optOtherValues])}`;
    return setting;
  };
  freeze(getEnvironmentOption);

  /**
   * @template {string} [T=string]
   * @param {string} optionName
   * @returns {T[]}
   */
  const getEnvironmentOptionsList = optionName => {
    const option = getEnvironmentOption(optionName, '');
    return freeze(option === '' ? [] : stringSplit(option, ','));
  };
  freeze(getEnvironmentOptionsList);

  /**
   * @template {string} [T=string]
   * @param {string} optionName
   * @param {T} element
   * @returns {boolean}
   */
  const environmentOptionsListHas = (optionName, element) =>
    arrayIncludes(getEnvironmentOptionsList(optionName), element);

  const getCapturedEnvironmentOptionNames = () => {
    return freeze([...capturedEnvironmentOptionNames]);
  };
  freeze(getCapturedEnvironmentOptionNames);

  return freeze({
    getEnvironmentOption,
    getEnvironmentOptionsList,
    environmentOptionsListHas,
    getCapturedEnvironmentOptionNames,
  });
};$h͏_once.makeEnvironmentCaptor(makeEnvironmentCaptor);
freeze(makeEnvironmentCaptor);

/**
 * For the simple case, where the global in question is `globalThis` and no
 * reporting of option names is desired.
 */
       const {
  getEnvironmentOption,
  getEnvironmentOptionsList,
  environmentOptionsListHas,
} = makeEnvironmentCaptor(localThis, true);$h͏_once.getEnvironmentOption(getEnvironmentOption);$h͏_once.getEnvironmentOptionsList(getEnvironmentOptionsList);$h͏_once.environmentOptionsListHas(environmentOptionsListHas);
})()
,
// === 3. env-options ./index.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([["./src/env-options.js", []]]);
})()
,
// === 4. immutable-arraybuffer ./src/immutable-arraybuffer-pony.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);/* global globalThis */

const {
  ArrayBuffer,
  Object,
  Reflect,
  Symbol,
  TypeError,
  Uint8Array,
  WeakMap,
  // Capture structuredClone before it can be scuttled.
  structuredClone: optStructuredClone
  // eslint-disable-next-line no-restricted-globals
} = globalThis;

const { freeze, defineProperty, getPrototypeOf, getOwnPropertyDescriptor } =
  Object;
const { apply, ownKeys } = Reflect;
const { toStringTag } = Symbol;

const { prototype: arrayBufferPrototype } = ArrayBuffer;
const { slice, transfer: optTransfer } = arrayBufferPrototype;
// @ts-expect-error TS doesn't know it'll be there
const { get: arrayBufferByteLength } = getOwnPropertyDescriptor(
  arrayBufferPrototype,
  'byteLength',
);

const typedArrayPrototype = getPrototypeOf(Uint8Array.prototype);
const { set: uint8ArraySet } = typedArrayPrototype;
// @ts-expect-error TS doesn't know it'll be there
const { get: uint8ArrayBuffer } = getOwnPropertyDescriptor(
  typedArrayPrototype,
  'buffer',
);

/**
 * Copy a range of values from a genuine ArrayBuffer exotic object into a new
 * ArrayBuffer.
 *
 * @param {ArrayBuffer} realBuffer
 * @param {number} [start]
 * @param {number} [end]
 * @returns {ArrayBuffer}
 */
const arrayBufferSlice = (realBuffer, start = undefined, end = undefined) =>
  apply(slice, realBuffer, [start, end]);

/**
 * Move the contents of a genuine ArrayBuffer exotic object into a new fresh
 * ArrayBuffer and detach the original source.
 * We can only do this on platforms that support `structuredClone` or
 * `ArrayBuffer.prototype.transfer`.
 * On other platforms, we can still emulate
 * `ArrayBuffer.prototoype.sliceToImmutable`, but not
 * `ArrayBuffer.prototype.transferToImmutable`.
 * Currently, these known-deficient platforms are
 * - Hermes
 * - Node.js <= 16
 * - Apparently some versions of JavaScriptCore that are still of concern.
 *
 * @param {ArrayBuffer} arrayBuffer
 * @returns {ArrayBuffer}
 */
let optArrayBufferTransfer;

if (optTransfer) {
  optArrayBufferTransfer = arrayBuffer => apply(optTransfer, arrayBuffer, []);
} else if (optStructuredClone) {
  optArrayBufferTransfer = arrayBuffer => {
    // Hopefully, a zero-length slice is cheap, but still enforces that
    // `arrayBuffer` is a genuine `ArrayBuffer` exotic object.
    arrayBufferSlice(arrayBuffer, 0, 0);
    return optStructuredClone(arrayBuffer, {
      transfer: [arrayBuffer],
    });
  };
} else {
  // Assignment is redundant, but remains for clarity.
  optArrayBufferTransfer = undefined;
}

/**
 * If we could use classes with private fields everywhere, this would have
 * been a `this.#buffer` private field on an `ImmutableArrayBufferInternal`
 * class. But we cannot do so on Hermes. So, instead, we
 * emulate the `this.#buffer` private field, including its use as a brand check.
 * Maps from all and only emulated Immutable ArrayBuffers to real ArrayBuffers.
 *
 * @type {Pick<WeakMap<ArrayBuffer, ArrayBuffer>, 'get' | 'has' | 'set'>}
 */
const buffers = new WeakMap();
// Avoid post-hoc prototype lookups.
for (const methodName of ['get', 'has', 'set']) {
  defineProperty(buffers, methodName, { value: buffers[methodName] });
}
const getBuffer = immuAB => {
  // Safe because this WeakMap owns its get method.
  // eslint-disable-next-line @endo/no-polymorphic-call
  const result = buffers.get(immuAB);
  if (result) {
    return result;
  }
  throw TypeError('Not an emulated Immutable ArrayBuffer');
};

// Omits `constructor` so `Array.prototype.constructor` is inherited.
const ImmutableArrayBufferInternalPrototype = {
  __proto__: arrayBufferPrototype,
  get byteLength() {
    return apply(arrayBufferByteLength, getBuffer(this), []);
  },
  get detached() {
    getBuffer(this); // shim brand check
    return false;
  },
  get maxByteLength() {
    // Not underlying maxByteLength, which is irrelevant
    return apply(arrayBufferByteLength, getBuffer(this), []);
  },
  get resizable() {
    getBuffer(this); // shim brand check
    return false;
  },
  get immutable() {
    getBuffer(this); // shim brand check
    return true;
  },
  slice(start = undefined, end = undefined) {
    return arrayBufferSlice(getBuffer(this), start, end);
  },
  sliceToImmutable(start = undefined, end = undefined) {
    // eslint-disable-next-line no-use-before-define
    return sliceBufferToImmutable(getBuffer(this), start, end);
  },
  resize(_newByteLength = undefined) {
    getBuffer(this); // shim brand check
    throw TypeError('Cannot resize an immutable ArrayBuffer');
  },
  transfer(_newLength = undefined) {
    getBuffer(this); // shim brand check
    throw TypeError('Cannot detach an immutable ArrayBuffer');
  },
  transferToFixedLength(_newLength = undefined) {
    getBuffer(this); // shim brand check
    throw TypeError('Cannot detach an immutable ArrayBuffer');
  },
  transferToImmutable(_newLength = undefined) {
    getBuffer(this); // shim brand check
    throw TypeError('Cannot detach an immutable ArrayBuffer');
  },
  /**
   * See https://github.com/endojs/endo/tree/master/packages/immutable-arraybuffer#purposeful-violation
   */
  [toStringTag]: 'ImmutableArrayBuffer',
};

// Better fidelity emulation of a class prototype
for (const key of ownKeys(ImmutableArrayBufferInternalPrototype)) {
  defineProperty(ImmutableArrayBufferInternalPrototype, key, {
    enumerable: false,
  });
}

/**
 * Emulates what would have been the encapsulated `ImmutableArrayBufferInternal`
 * class constructor. This function takes the `realBuffer` which its
 * result encapsulates. Security demands that this result has exclusive access
 * to the `realBuffer` it is given, which its callers must ensure.
 *
 * @param {ArrayBuffer} realBuffer
 * @returns {ArrayBuffer}
 */
const makeImmutableArrayBufferInternal = realBuffer => {
  const result = /** @type {ArrayBuffer} */ (
    /** @type {unknown} */ ({
      __proto__: ImmutableArrayBufferInternalPrototype,
    })
  );
  // Safe because this WeakMap owns its set method.
  // eslint-disable-next-line @endo/no-polymorphic-call
  buffers.set(result, realBuffer);
  return result;
};
// Since `makeImmutableArrayBufferInternal` MUST not escape,
// this `freeze` is just belt-and-suspenders.
freeze(makeImmutableArrayBufferInternal);

/**
 * @param {ArrayBuffer} buffer
 * @returns {boolean}
 */
// eslint-disable-next-line @endo/no-polymorphic-call
       const isBufferImmutable = buffer => buffers.has(buffer);

/**
 * Creates an immutable slice of the given buffer.
 * @param {ArrayBuffer} buffer The original buffer.
 * @param {number} [start] The start index.
 * @param {number} [end] The end index.
 * @returns {ArrayBuffer} The sliced immutable ArrayBuffer.
 */$h͏_once.isBufferImmutable(isBufferImmutable);
       const sliceBufferToImmutable = (
  buffer,
  start = undefined,
  end = undefined,
) => {
  // Safe because this WeakMap owns its get method.
  // eslint-disable-next-line @endo/no-polymorphic-call
  let realBuffer = buffers.get(buffer);
  if (realBuffer === undefined) {
    realBuffer = buffer;
  }
  return makeImmutableArrayBufferInternal(
    arrayBufferSlice(realBuffer, start, end),
  );
};$h͏_once.sliceBufferToImmutable(sliceBufferToImmutable);

let transferBufferToImmutable;
if (optArrayBufferTransfer) {
  /**
   * Transfer the contents to a new Immutable ArrayBuffer
   *
   * @param {ArrayBuffer} buffer The original buffer.
   * @param {number} [newLength] The start index.
   * @returns {ArrayBuffer}
   */
  transferBufferToImmutable = (buffer, newLength = undefined) => {
    if (newLength === undefined) {
      buffer = optArrayBufferTransfer(buffer);
    } else if (optTransfer) {
      buffer = apply(optTransfer, buffer, [newLength]);
    } else {
      buffer = optArrayBufferTransfer(buffer);
      const oldLength = buffer.byteLength;
      // eslint-disable-next-line @endo/restrict-comparison-operands
      if (newLength <= oldLength) {
        buffer = arrayBufferSlice(buffer, 0, newLength);
      } else {
        const oldTA = new Uint8Array(buffer);
        const newTA = new Uint8Array(newLength);
        apply(uint8ArraySet, newTA, [oldTA]);
        buffer = apply(uint8ArrayBuffer, newTA, []);
      }
    }
    const result = makeImmutableArrayBufferInternal(buffer);
    return /** @type {ArrayBuffer} */ (/** @type {unknown} */ (result));
  };
} else {
  transferBufferToImmutable = undefined;
}

       const optTransferBufferToImmutable = transferBufferToImmutable;$h͏_once.optTransferBufferToImmutable(optTransferBufferToImmutable);
})()
,
// === 5. immutable-arraybuffer ./src/immutable-arraybuffer-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let isBufferImmutable,sliceBufferToImmutable,optXferBuf2Immu;$h͏_imports([["./immutable-arraybuffer-pony.js", [["isBufferImmutable",[$h͏_a => (isBufferImmutable = $h͏_a)]],["sliceBufferToImmutable",[$h͏_a => (sliceBufferToImmutable = $h͏_a)]],["optTransferBufferToImmutable",[$h͏_a => (optXferBuf2Immu = $h͏_a)]]]]]);







const {
  ArrayBuffer,
  JSON,
  Object,
  Reflect
  // eslint-disable-next-line no-restricted-globals
} = globalThis;

// Even though the imported one is not exported by the pony as a live binding,
// TS doesn't know that,
// so it cannot do its normal flow-based inference. By making and using a local
// copy, no problem.
const optTransferBufferToImmutable = optXferBuf2Immu;

const { getOwnPropertyDescriptors, defineProperties, defineProperty } = Object;
const { ownKeys } = Reflect;
const { prototype: arrayBufferPrototype } = ArrayBuffer;
const { stringify } = JSON;

const arrayBufferMethods = {
  /**
   * Creates an immutable slice of the given buffer.
   *
   * @this {ArrayBuffer} buffer The original buffer.
   * @param {number} [start] The start index.
   * @param {number} [end] The end index.
   * @returns {ArrayBuffer} The sliced immutable ArrayBuffer.
   */
  sliceToImmutable(start = undefined, end = undefined) {
    return sliceBufferToImmutable(this, start, end);
  },

  /**
   * @this {ArrayBuffer}
   */
  get immutable() {
    return isBufferImmutable(this);
  },

  ...(optTransferBufferToImmutable
    ? {
        /**
         * Transfer the contents to a new immutable ArrayBuffer
         *
         * @this {ArrayBuffer} buffer The original buffer.
         * @param {number} [newLength] The start index.
         * @returns {ArrayBuffer} The new immutable ArrayBuffer.
         */
        transferToImmutable(newLength = undefined) {
          return optTransferBufferToImmutable(this, newLength);
        },
      }
    : {}),
};

// Better fidelity emulation of a class prototype
for (const key of ownKeys(arrayBufferMethods)) {
  defineProperty(arrayBufferMethods, key, {
    enumerable: false,
  });
}

// Modern shim practice frowns on conditional installation, at least for
// proposals prior to stage 3. This is so changes to the proposal since
// an old shim was distributed don't need to worry about the proposal
// breaking old code depending on the old shim. Thus, if we detect that
// we're about to overwrite a prior installation, we simply issue this
// warning and continue.
//
// TODO, if the primordials are frozen after the prior implementation, such as
// by `lockdown`, then this precludes overwriting as expected. However, for
// this case, the following warning text will be confusing.
//
// Allowing polymorphic calls because these occur during initialization.
// eslint-disable-next-line @endo/no-polymorphic-call
const overwrites = ownKeys(arrayBufferMethods).filter(
  key => key in arrayBufferPrototype,
);
if (overwrites.length > 0) {
  // eslint-disable-next-line @endo/no-polymorphic-call
  console.warn(
    `About to overwrite ArrayBuffer.prototype properties ${stringify(overwrites)}`,
  );
}

defineProperties(
  arrayBufferPrototype,
  getOwnPropertyDescriptors(arrayBufferMethods),
);
})()
,
// === 6. immutable-arraybuffer ./shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([["./src/immutable-arraybuffer-shim.js", []]]);
})()
,
// === 7. ses ./src/error/stringify-utils.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Set,String,isArray,arrayJoin,arraySlice,arraySort,arrayMap,keys,fromEntries,freeze,is,isError,setAdd,setHas,stringIncludes,stringStartsWith,stringifyJson,toStringTagSymbol;$h͏_imports([["../commons.js", [["Set",[$h͏_a => (Set = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["isArray",[$h͏_a => (isArray = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arraySlice",[$h͏_a => (arraySlice = $h͏_a)]],["arraySort",[$h͏_a => (arraySort = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["keys",[$h͏_a => (keys = $h͏_a)]],["fromEntries",[$h͏_a => (fromEntries = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["isError",[$h͏_a => (isError = $h͏_a)]],["setAdd",[$h͏_a => (setAdd = $h͏_a)]],["setHas",[$h͏_a => (setHas = $h͏_a)]],["stringIncludes",[$h͏_a => (stringIncludes = $h͏_a)]],["stringStartsWith",[$h͏_a => (stringStartsWith = $h͏_a)]],["stringifyJson",[$h͏_a => (stringifyJson = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]]]]]);






















/** @import {Stringable} from '../../types.js' */

/**
 * Joins English terms with commas and an optional conjunction.
 *
 * @param {(string | Stringable)[]} terms
 * @param {"and" | "or"} conjunction
 */
       const enJoin = (terms, conjunction) => {
  if (terms.length === 0) {
    return '(none)';
  } else if (terms.length === 1) {
    return terms[0];
  } else if (terms.length === 2) {
    const [first, second] = terms;
    return `${first} ${conjunction} ${second}`;
  } else {
    return `${arrayJoin(arraySlice(terms, 0, -1), ', ')}, ${conjunction} ${
      terms[terms.length - 1]
    }`;
  }
};

/**
 * Prepend the correct indefinite article onto a noun, typically a typeof
 * result, e.g., "an object" vs. "a number"
 *
 * @param {string} str The noun to prepend
 * @returns {string} The noun prepended with a/an
 */$h͏_once.enJoin(enJoin);
const an = str => {
  str = `${str}`;
  if (str.length >= 1 && stringIncludes('aeiouAEIOU', str[0])) {
    return `an ${str}`;
  }
  return `a ${str}`;
};$h͏_once.an(an);
freeze(an);


/**
 * Like `JSON.stringify` but does not blow up if given a cycle or a bigint.
 * This is not
 * intended to be a serialization to support any useful unserialization,
 * or any programmatic use of the resulting string. The string is intended
 * *only* for showing a human under benign conditions, in order to be
 * informative enough for some
 * logging purposes. As such, this `bestEffortStringify` has an
 * imprecise specification and may change over time.
 *
 * The current `bestEffortStringify` possibly emits too many "seen"
 * markings: Not only for cycles, but also for repeated subtrees by
 * object identity.
 *
 * As a best effort only for diagnostic interpretation by humans,
 * `bestEffortStringify` also turns various cases that normal
 * `JSON.stringify` skips or errors on, like `undefined` or bigints,
 * into strings that convey their meaning. To distinguish this from
 * strings in the input, these synthesized strings always begin and
 * end with square brackets. To distinguish those strings from an
 * input string with square brackets, and input string that starts
 * with an open square bracket `[` is itself placed in square brackets.
 *
 * @param {any} payload
 * @param {(string|number)=} spaces
 * @returns {string}
 */
const bestEffortStringify = (payload, spaces = undefined) => {
  const seenSet = new Set();
  const replacer = (_, val) => {
    switch (typeof val) {
      case 'object': {
        if (val === null) {
          return null;
        }
        if (setHas(seenSet, val)) {
          return '[Seen]';
        }
        setAdd(seenSet, val);
        if (isError(val)) {
          return `[${val.name}: ${val.message}]`;
        }
        if (toStringTagSymbol in val) {
          // For the built-ins that have or inherit a `Symbol.toStringTag`-named
          // property, most of them inherit the default `toString` method,
          // which will print in a similar manner: `"[object Foo]"` vs
          // `"[Foo]"`. The exceptions are
          //    * `Symbol.prototype`, `BigInt.prototype`, `String.prototype`
          //      which don't matter to us since we handle primitives
          //      separately and we don't care about primitive wrapper objects.
          //    * TODO
          //      `Date.prototype`, `TypedArray.prototype`.
          //      Hmmm, we probably should make special cases for these. We're
          //      not using these yet, so it's not urgent. But others will run
          //      into these.
          //
          // Once #2018 is closed, the only objects in our code that have or
          // inherit a `Symbol.toStringTag`-named property are remotables
          // or their remote presences.
          // This printing will do a good job for these without
          // violating abstraction layering. This behavior makes sense
          // purely in terms of JavaScript concepts. That's some of the
          // motivation for choosing that representation of remotables
          // and their remote presences in the first place.
          return `[${val[toStringTagSymbol]}]`;
        }
        if (isArray(val)) {
          return val;
        }
        const names = keys(val);
        if (names.length < 2) {
          return val;
        }
        let sorted = true;
        for (let i = 1; i < names.length; i += 1) {
          if (names[i - 1] >= names[i]) {
            sorted = false;
            break;
          }
        }
        if (sorted) {
          return val;
        }
        arraySort(names);
        const entries = arrayMap(names, name => [name, val[name]]);
        return fromEntries(entries);
      }
      case 'function': {
        return `[Function ${val.name || '<anon>'}]`;
      }
      case 'string': {
        if (stringStartsWith(val, '[')) {
          return `[${val}]`;
        }
        return val;
      }
      case 'undefined':
      case 'symbol': {
        return `[${String(val)}]`;
      }
      case 'bigint': {
        return `[${val}n]`;
      }
      case 'number': {
        if (is(val, NaN)) {
          return '[NaN]';
        } else if (val === Infinity) {
          return '[Infinity]';
        } else if (val === -Infinity) {
          return '[-Infinity]';
        }
        return val;
      }
      default: {
        return val;
      }
    }
  };
  try {
    return stringifyJson(payload, replacer, spaces);
  } catch (_err) {
    // Don't do anything more fancy here if there is any
    // chance that might throw, unless you surround that
    // with another try-catch-recovery. For example,
    // the caught thing might be a proxy or other exotic
    // object rather than an error. The proxy might throw
    // whenever it is possible for it to.
    return '[Something that failed to stringify]';
  }
};$h͏_once.bestEffortStringify(bestEffortStringify);
freeze(bestEffortStringify);
})()
,
// === 8. ses ./src/error/types.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);// @ts-check

/** @import {GenericErrorConstructor, AssertMakeErrorOptions, DetailsToken, Stringable} from '../../types.js' */

/**
 * @typedef {object} VirtualConsole
 * @property {Console['debug']} debug
 * @property {Console['log']} log
 * @property {Console['info']} info
 * @property {Console['warn']} warn
 * @property {Console['error']} error
 *
 * @property {Console['trace']} trace
 * @property {Console['dirxml']} dirxml
 * @property {Console['group']} group
 * @property {Console['groupCollapsed']} groupCollapsed
 *
 * @property {Console['assert']} assert
 * @property {Console['timeLog']} timeLog
 *
 * @property {Console['clear']} clear
 * @property {Console['count']} count
 * @property {Console['countReset']} countReset
 * @property {Console['dir']} dir
 * @property {Console['groupEnd']} groupEnd
 *
 * @property {Console['table']} table
 * @property {Console['time']} time
 * @property {Console['timeEnd']} timeEnd
 * @property {Console['timeStamp']} timeStamp
 */

/* This is deliberately *not* JSDoc, it is a regular comment.
 *
 * TODO: We'd like to add the following properties to the above
 * VirtualConsole, but they currently cause conflicts where
 * some Typescript implementations don't have these properties
 * on the Console type.
 *
 * @property {Console['profile']} profile
 * @property {Console['profileEnd']} profileEnd
 */

/**
 * @typedef {'debug' | 'log' | 'info' | 'warn' | 'error'} LogSeverity
 */

/**
 * @typedef ConsoleFilter
 * @property {(severity: LogSeverity) => boolean} canLog
 */

/**
 * @callback FilterConsole
 * @param {VirtualConsole} baseConsole
 * @param {ConsoleFilter} filter
 * @param {string} [topic]
 * @returns {VirtualConsole}
 */
})()
,
// === 9. ses ./src/error/internal-types.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);// @ts-check

/**
 * @import {VirtualConsole} from './types.js'
 */

/**
 * @typedef {readonly any[]} LogArgs
 *
 * This is an array suitable to be used as arguments of a console
 * level message *after* the format string argument. It is the result of
 * a `details` template string and consists of alternating literal strings
 * and substitution values, starting with a literal string. At least that
 * first literal string is always present.
 */

/**
 * @callback NoteCallback
 *
 * @param {Error} error
 * @param {LogArgs} noteLogArgs
 * @returns {void}
 */

/**
 * @callback GetStackString
 * @param {Error} error
 * @returns {string=}
 */

/**
 * @typedef {object} LoggedErrorHandler
 *
 * Used to parameterize `makeCausalConsole` to give it access to potentially
 * hidden information to augment the logging of errors.
 *
 * @property {GetStackString} getStackString
 * @property {(error: Error) => string} tagError
 * @property {() => void} resetErrorTagNum for debugging purposes only
 * @property {(error: Error) => (LogArgs | undefined)} getMessageLogArgs
 * @property {(error: Error) => (LogArgs | undefined)} takeMessageLogArgs
 * @property {(error: Error, callback?: NoteCallback) => LogArgs[] } takeNoteLogArgsArray
 */

// /////////////////////////////////////////////////////////////////////////////

/**
 * @typedef {readonly [string, ...any[]]} LogRecord
 */

/**
 * @typedef {object} LoggingConsoleKit
 * @property {VirtualConsole} loggingConsole
 * @property {() => readonly LogRecord[]} takeLog
 */

/**
 * @typedef {object} MakeLoggingConsoleKitOptions
 * @property {boolean=} shouldResetForDebugging
 */

/**
 * @callback MakeLoggingConsoleKit
 *
 * A logging console just accumulates the contents of all permitted calls,
 * making them available to callers of `takeLog()`. Calling `takeLog()`
 * consumes these, so later calls to `takeLog()` will only provide a log of
 * calls that have happened since then.
 *
 * @param {LoggedErrorHandler} loggedErrorHandler
 * @param {MakeLoggingConsoleKitOptions=} options
 * @returns {LoggingConsoleKit}
 */

/**
 * @typedef {{
 *   NOTE: 'ERROR_NOTE:',
 *   MESSAGE: 'ERROR_MESSAGE:',
 *   CAUSE: 'cause:',
 *   ERRORS: 'errors:',
 * }} ErrorInfo
 */

/**
 * @typedef {ErrorInfo[keyof ErrorInfo]} ErrorInfoKind
 */

/**
 * @callback MakeCausalConsole
 *
 * Makes a causal console wrapper of a `baseConsole`, where the causal console
 * calls methods of the `loggedErrorHandler` to customize how it handles logged
 * errors.
 *
 * @param {VirtualConsole | undefined} baseConsole
 * @param {LoggedErrorHandler} loggedErrorHandler
 * @returns {VirtualConsole | undefined}
 */
})()
,
// === 10. cache-map ./src/cachemap.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);// @ts-check
/* global globalThis */
/* eslint-disable @endo/no-polymorphic-call */

// eslint-disable-next-line no-restricted-globals
const { Error, TypeError, WeakMap } = globalThis;
// eslint-disable-next-line no-restricted-globals
const { parse, stringify } = JSON;
// eslint-disable-next-line no-restricted-globals
const { isSafeInteger } = Number;
// eslint-disable-next-line no-restricted-globals
const { freeze } = Object;
// eslint-disable-next-line no-restricted-globals
const { toStringTag: toStringTagSymbol } = Symbol;

// eslint-disable-next-line no-restricted-globals
const UNKNOWN_KEY = Symbol('UNKNOWN_KEY');

/**
 * @template T
 * @typedef {T extends object ? { -readonly [K in keyof T]: T[K] } : never} WritableDeep
 *   Intentionally limited to local needs; refer to
 *   https://github.com/sindresorhus/type-fest if insufficient.
 */

/**
 * @template T
 * @param {T} value
 * @param {<U,>(name: string, value: U) => U} [reviver]
 * @returns {WritableDeep<T>}
 */
const deepCopyJsonable = (value, reviver) => {
  const encoded = stringify(value);
  const decoded = parse(encoded, reviver);
  return decoded;
};

const freezingReviver = (_name, value) => freeze(value);

/** @type {<T,>(value: T) => T} */
const deepCopyAndFreezeJsonable = value =>
  deepCopyJsonable(value, freezingReviver);

/**
 * A cache of bounded size, implementing the WeakMap interface but holding keys
 * strongly if created with a non-weak `makeMap` option of
 * {@link makeCacheMapKit}.
 *
 * @template K
 * @template V
 * @typedef {Pick<Map<K, V>, Exclude<keyof WeakMap<WeakKey, *>, 'set'>> & {set: (key: K, value: V) => WeakMapAPI<K, V>}} WeakMapAPI
 */

/**
 * @template K
 * @template V
 * @typedef {WeakMapAPI<K, V> & ({clear?: undefined} | Pick<Map<K, V>, 'clear'>)} SingleEntryMap
 */

/**
 * A cell of a doubly-linked ring (circular list) for a cache map.
 * Instances are not frozen, and so should be closely encapsulated.
 *
 * @template K
 * @template V
 * @typedef {object} CacheMapCell
 * @property {number} id for debugging
 * @property {CacheMapCell<K, V>} next
 * @property {CacheMapCell<K, V>} prev
 * @property {SingleEntryMap<K, V>} data
 */

/**
 * @template K
 * @template V
 * @param {CacheMapCell<K, V>} prev
 * @param {number} id
 * @param {SingleEntryMap<K, V>} data
 * @returns {CacheMapCell<K, V>}
 */
const appendNewCell = (prev, id, data) => {
  const next = prev?.next;
  const cell = { id, next, prev, data };
  prev.next = cell;
  next.prev = cell;
  return cell;
};

/**
 * @template K
 * @template V
 * @param {CacheMapCell<K, V>} cell
 * @param {CacheMapCell<K, V>} prev
 * @param {CacheMapCell<K, V>} [next]
 */
const moveCellAfter = (cell, prev, next = prev.next) => {
  if (cell === prev || cell === next) return; // already in position

  // Splice out cell.
  const { prev: oldPrev, next: oldNext } = cell;
  oldPrev.next = oldNext;
  oldNext.prev = oldPrev;

  // Splice in cell after prev.
  cell.prev = prev;
  cell.next = next;
  prev.next = cell;
  next.prev = cell;
};

/**
 * Clear out a cell to prepare it for future use. Its map is preserved when
 * possible, but must instead be replaced if the associated key is not known.
 *
 * @template K
 * @template V
 * @param {CacheMapCell<K, V>} cell
 * @param {K | UNKNOWN_KEY} oldKey
 * @param {() => SingleEntryMap<K, V>} [makeMap] required when the key is unknown
 */
const resetCell = (cell, oldKey, makeMap) => {
  if (oldKey !== UNKNOWN_KEY) {
    cell.data.delete(oldKey);
    return;
  }
  if (cell.data.clear) {
    cell.data.clear();
    return;
  }
  // WeakMap instances must be replaced when the key is unknown.
  if (!makeMap) {
    throw Error('internal: makeMap is required with UNKNOWN_KEY');
  }
  cell.data = makeMap();
};

const zeroMetrics = freeze({
  totalQueryCount: 0,
  totalHitCount: 0
  // TODO?
  // * method-specific counts
  // * liveTouchStats/evictedTouchStats { count, sum, mean, min, max }
  //   * p50/p90/p95/p99 via Ben-Haim/Tom-Tov streaming histograms
});
/** @typedef {typeof zeroMetrics} CacheMapMetrics */

/**
 * @template {MapConstructor | WeakMapConstructor} [C=WeakMapConstructor]
 * @template {Parameters<InstanceType<C>['set']>[0]} [K=Parameters<InstanceType<C>['set']>[0]]
 * @template {unknown} [V=unknown]
 * @typedef {object} CacheMapKit
 * @property {WeakMapAPI<K, V>} cache
 * @property {() => CacheMapMetrics} getMetrics
 */

/**
 * Create a bounded-size cache having WeakMap-compatible
 * `has`/`get`/`set`/`delete` methods, capable of supporting SES (specifically
 * `assert` error notes).
 * Key validity, comparison, and referential strength are controlled by the
 * `makeMap` option, which defaults to `WeakMap` but can be set to any producer
 * of objects with those methods (e.g., using `Map` allows for arbitrary keys
 * which will be strongly held).
 * Cache eviction policy is not currently configurable, but strives for a hit
 * ratio at least as good as
 * [LRU](https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU) (e.g., it
 * might be
 * [CLOCK](https://en.wikipedia.org/wiki/Page_replacement_algorithm#Clock)
 * or [SIEVE](https://sievecache.com/)).
 *
 * @template {MapConstructor | WeakMapConstructor} [C=WeakMapConstructor]
 * @template {Parameters<InstanceType<C>['set']>[0]} [K=Parameters<InstanceType<C>['set']>[0]]
 * @template {unknown} [V=unknown]
 * @param {number} capacity
 * @param {object} [options]
 * @param {C | (() => SingleEntryMap<K, V>)} [options.makeMap]
 * @returns {CacheMapKit<C, K, V>}
 */
       const makeCacheMapKit = (capacity, options = {}) => {
  if (!isSafeInteger(capacity) || capacity < 0) {
    throw TypeError(
      'capacity must be a non-negative safe integer number <= 2**53 - 1',
    );
  }

  /**
   * @template V
   * @type {<V,>() => SingleEntryMap<K, V>}
   */
  const makeMap = (MaybeCtor => {
    try {
      // @ts-expect-error
      MaybeCtor();
      return /** @type {any} */ (MaybeCtor);
    } catch (err) {
      // @ts-expect-error
      const constructNewMap = () => new MaybeCtor();
      return constructNewMap;
    }
  })(options.makeMap ?? WeakMap);
  const tag =
    /** @type {any} */ (makeMap()).clear === undefined
      ? 'WeakCacheMap'
      : 'CacheMap';

  /** @type {WeakMapAPI<K, CacheMapCell<K, V>>} */
  const keyToCell = makeMap();
  // @ts-expect-error this sentinel head is special
  const head = /** @type {CacheMapCell<K, V>} */ ({
    id: 0,
    // next and prev are established below as self-referential.
    next: undefined,
    prev: undefined,
    data: {
      has: () => {
        throw Error('internal: sentinel head cell has no data');
      },
    },
  });
  head.next = head;
  head.prev = head;
  let cellCount = 0;

  const metrics = deepCopyJsonable(zeroMetrics);
  const getMetrics = () => deepCopyAndFreezeJsonable(metrics);

  /**
   * Touching moves a cell to first position so LRU eviction can target the last
   * cell (`head.prev`).
   *
   * @type {(key: K) => (CacheMapCell<K, V> | undefined)}
   */
  const touchKey = key => {
    metrics.totalQueryCount += 1;
    const cell = keyToCell.get(key);
    if (!cell?.data.has(key)) return undefined;

    metrics.totalHitCount += 1;
    moveCellAfter(cell, head);
    return cell;
  };

  /** @type {WeakMapAPI<K, V>['has']} */
  const has = key => {
    const cell = touchKey(key);
    return cell !== undefined;
  };
  freeze(has);

  /** @type {WeakMapAPI<K, V>['get']} */
  const get = key => {
    const cell = touchKey(key);
    return cell?.data.get(key);
  };
  freeze(get);

  /** @type {WeakMapAPI<K, V>['set']} */
  const set = (key, value) => {
    let cell = touchKey(key);
    if (cell) {
      cell.data.set(key, value);
      // eslint-disable-next-line no-use-before-define
      return implementation;
    }

    if (cellCount < capacity) {
      // Add and use a new cell at first position.
      cell = appendNewCell(head, cellCount + 1, makeMap());
      cellCount += 1; // intentionally follows cell creation
      cell.data.set(key, value);
    } else if (capacity > 0) {
      // Reuse the current tail, moving it to first position.
      cell = head.prev;
      resetCell(/** @type {any} */ (cell), UNKNOWN_KEY, makeMap);
      cell.data.set(key, value);
      moveCellAfter(cell, head);
    }

    // Don't establish this entry until prior steps succeed.
    if (cell) keyToCell.set(key, cell);

    // eslint-disable-next-line no-use-before-define
    return implementation;
  };
  freeze(set);

  // "delete" is a keyword.
  const { delete: deleteEntry } = {
    /** @type {WeakMapAPI<K, V>['delete']} */
    delete: key => {
      const cell = keyToCell.get(key);
      if (!cell?.data.has(key)) {
        keyToCell.delete(key);
        return false;
      }
      moveCellAfter(cell, head.prev);
      resetCell(cell, key);
      keyToCell.delete(key);
      return true;
    },
  };
  freeze(deleteEntry);

  const implementation = /** @type {WeakMapAPI<K, V>} */ ({
    has,
    get,
    set,
    delete: deleteEntry,
    // eslint-disable-next-line jsdoc/check-types
    [/** @type {typeof Symbol.toStringTag} */ (toStringTagSymbol)]: tag,
  });
  freeze(implementation);

  const kit = { cache: implementation, getMetrics };
  return freeze(kit);
};$h͏_once.makeCacheMapKit(makeCacheMapKit);
freeze(makeCacheMapKit);
})()
,
// === 11. cache-map ./index.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([["./src/cachemap.js", []]]);
})()
,
// === 12. ses ./src/error/note-log-args.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let makeCacheMapKit;$h͏_imports([["@endo/cache-map", [["makeCacheMapKit",[$h͏_a => (makeCacheMapKit = $h͏_a)]]]]]);





/**
 * @import {CacheMapKit} from '@endo/cache-map';
 * @import {LogArgs} from './internal-types.js';
 */

const { freeze } = Object;
const { isSafeInteger } = Number;

const defaultLoggedErrorsBudget = 1000;
const defaultArgsPerErrorBudget = 100;

/**
 * @param {number} [errorsBudget]
 * @param {number} [argsPerErrorBudget]
 */
       const makeNoteLogArgsArrayKit = (
  errorsBudget = defaultLoggedErrorsBudget,
  argsPerErrorBudget = defaultArgsPerErrorBudget,
) => {
  if (!isSafeInteger(argsPerErrorBudget) || argsPerErrorBudget < 1) {
    throw TypeError(
      'argsPerErrorBudget must be a safe positive integer number',
    );
  }

  /**
   * Maps from an error to an array of log args, where each log args is
   * remembered as an annotation on that error. This can be used, for example,
   * to keep track of additional causes of the error. The elements of any
   * log args may include errors which are associated with further annotations.
   * An augmented console, like the causal console of `console.js`, could
   * then retrieve the graph of such annotations.
   *
   * @type {CacheMapKit<WeakMapConstructor, Error, LogArgs[]>}
   */
  const { cache: noteLogArgsArrayMap } = makeCacheMapKit(errorsBudget);

  /**
   * @param {Error} error
   * @param {LogArgs} logArgs
   */
  const addLogArgs = (error, logArgs) => {
    const logArgsArray = noteLogArgsArrayMap.get(error);
    if (logArgsArray !== undefined) {
      if (logArgsArray.length >= argsPerErrorBudget) {
        logArgsArray.shift();
      }
      logArgsArray.push(logArgs);
    } else {
      noteLogArgsArrayMap.set(error, [logArgs]);
    }
  };
  freeze(addLogArgs);

  /**
   * @param {Error} error
   * @returns {LogArgs[] | undefined}
   */
  const takeLogArgsArray = error => {
    const result = noteLogArgsArrayMap.get(error);
    noteLogArgsArrayMap.delete(error);
    return result;
  };
  freeze(takeLogArgsArray);

  return freeze({
    addLogArgs,
    takeLogArgsArray,
  });
};$h͏_once.makeNoteLogArgsArrayKit(makeNoteLogArgsArrayKit);
freeze(makeNoteLogArgsArrayKit);
})()
,
// === 13. ses ./src/error/assert.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let RangeError,TypeError,WeakMap,arrayJoin,arrayMap,arrayPop,arrayPush,assign,freeze,defineProperty,globalThis,is,isError,regexpExec,regexpReplace,sealRegexp,stringIndexOf,stringSlice,stringStartsWith,weakmapDelete,weakmapGet,weakmapHas,weakmapSet,AggregateError,getOwnPropertyDescriptors,ownKeys,create,objectPrototype,hasOwn,an,bestEffortStringify,makeNoteLogArgsArrayKit;$h͏_imports([["../commons.js", [["RangeError",[$h͏_a => (RangeError = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["WeakMap",[$h͏_a => (WeakMap = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["arrayPop",[$h͏_a => (arrayPop = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["isError",[$h͏_a => (isError = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]],["regexpReplace",[$h͏_a => (regexpReplace = $h͏_a)]],["sealRegexp",[$h͏_a => (sealRegexp = $h͏_a)]],["stringIndexOf",[$h͏_a => (stringIndexOf = $h͏_a)]],["stringSlice",[$h͏_a => (stringSlice = $h͏_a)]],["stringStartsWith",[$h͏_a => (stringStartsWith = $h͏_a)]],["weakmapDelete",[$h͏_a => (weakmapDelete = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapHas",[$h͏_a => (weakmapHas = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]],["AggregateError",[$h͏_a => (AggregateError = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["objectPrototype",[$h͏_a => (objectPrototype = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]]]],["./stringify-utils.js", [["an",[$h͏_a => (an = $h͏_a)]],["bestEffortStringify",[$h͏_a => (bestEffortStringify = $h͏_a)]]]],["./types.js", []],["./internal-types.js", []],["./note-log-args.js", [["makeNoteLogArgsArrayKit",[$h͏_a => (makeNoteLogArgsArrayKit = $h͏_a)]]]]]);
















































/**
 * @import {BaseAssert, Assert, AssertionFunctions, AssertionUtilities, DeprecatedAssertionUtilities, Stringable, DetailsToken, MakeAssert} from '../../types.js';
 * @import {LogArgs, NoteCallback, LoggedErrorHandler} from './internal-types.js';
 */

// For internal debugging purposes, uncomment
// const internalDebugConsole = console;

// /////////////////////////////////////////////////////////////////////////////

/**
 * Maps the result of a `quote` or `bare` call back to its input value.
 *
 * @type {WeakMap<Stringable, any>}
 */
const declassifiers = new WeakMap();

/** @type {AssertionUtilities['quote']} */
const quote = (value, spaces = undefined) => {
  const result = freeze({
    toString: freeze(() => bestEffortStringify(value, spaces)),
  });
  weakmapSet(declassifiers, result, value);
  return result;
};$h͏_once.quote(quote);
freeze(quote);

const canBeBare = freeze(/^[\w:-]( ?[\w:-])*$/);

/**
 * @type {AssertionUtilities['bare']}
 */
const bare = (text, spaces = undefined) => {
  if (typeof text !== 'string' || !regexpExec(canBeBare, text)) {
    return quote(text, spaces);
  }
  const result = freeze({
    toString: freeze(() => text),
  });
  weakmapSet(declassifiers, result, text);
  return result;
};$h͏_once.bare(bare);
freeze(bare);

// /////////////////////////////////////////////////////////////////////////////

/**
 * @typedef {{ template: TemplateStringsArray | string[], args: any[] }} DetailsParts
 *
 * The contents of a `details` template literal tag: literal strings (always at
 * least one) and arbitrary substitution values from in between them.
 *
 * Unquoted substitution values are sensitive (and are redacted in error
 * `message` strings), so a DetailsPart must not leak outside of this file.
 */

/**
 * Maps the result of a `details` tagged template literal back to a record of
 * that template literal's contents.
 *
 * @type {WeakMap<DetailsToken, DetailsParts>}
 */
const hiddenDetailsMap = new WeakMap();

/**
 * Construct an error message string from `details` template literal contents,
 * replacing unquoted substitution values with redactions.
 *
 * @param {DetailsParts} hiddenDetails
 * @returns {string}
 */
const getMessageString = ({ template, args }) => {
  const parts = [template[0]];
  for (let i = 0; i < args.length; i += 1) {
    const arg = args[i];
    let argStr;
    if (weakmapHas(declassifiers, arg)) {
      argStr = `${arg}`;
    } else if (isError(arg)) {
      argStr = `(${an(arg.name)})`;
    } else {
      argStr = `(${an(typeof arg)})`;
    }
    arrayPush(parts, argStr, template[i + 1]);
  }
  return arrayJoin(parts, '');
};

/**
 * Define `toString` behavior for DetailsToken. To minimize the overhead of
 * creating new instances, we do this with an inherited `this`-sensitive method,
 * even though we normally avoid such sensitivity. To protect the method from
 * inappropriate application, it verifies that `this` is registered in
 * `redactedDetails` before doing interesting work.
 *
 * The behavior must not reveal anything redacted, so we use `getMessageString`
 * to return the same value as the message for a thrown assertion-failure error.
 */
const DetailsTokenProto = freeze({
  toString() {
    const hiddenDetails = weakmapGet(hiddenDetailsMap, this);
    if (hiddenDetails === undefined) {
      return '[Not a DetailsToken]';
    }
    return getMessageString(hiddenDetails);
  },
});
freeze(DetailsTokenProto.toString);

/**
 * Normally this is the function exported as `assert.details` and often
 * spelled `X`. However, if the `{errorTaming: 'unsafe'}` or
 * `{errorTaming: 'unsafe-debug'}` option is
 * given to `lockdown`, then `unredactedDetails` is used instead.
 *
 * There are some unconditional uses of `redactedDetails` in this module. All
 * of them should be uses where the template literal has no redacted (unquoted)
 * substitution values. In those cases, `redactedDetails` is equivalent to
 * `unredactedDetails`.
 *
 * @type {AssertionUtilities['details']}
 */
const redactedDetails = (template, ...args) => {
  // In case the result of this call is never used, perform as little processing
  // as possible here to keep things fast.
  const detailsToken = freeze({ __proto__: DetailsTokenProto });
  weakmapSet(hiddenDetailsMap, detailsToken, { template, args });
  return /** @type {DetailsToken} */ (/** @type {unknown} */ (detailsToken));
};$h͏_once.redactedDetails(redactedDetails);
freeze(redactedDetails);

/**
 * `unredactedDetails` is like `details` except that it does not redact
 * anything. It acts like `details` would act if all substitution values
 * were wrapped with the `quote` function above (the function normally
 * spelled `q`). If the `{errorTaming: 'unsafe'}`
 * or `{errorTaming: 'unsafe-debug'}` option is given to
 * `lockdown`, then the lockdown-shim arranges for the global `assert` to be
 * one whose `details` property is `unredactedDetails`.
 * This setting optimizes the debugging and testing experience at the price
 * of safety. `unredactedDetails` also sacrifices the speed of `details`,
 * which is usually fine in debugging and testing.
 *
 * @type {AssertionUtilities['details']}
 */
const unredactedDetails = (template, ...args) => {
  args = arrayMap(args, arg =>
    weakmapHas(declassifiers, arg) ? arg : quote(arg),
  );
  return redactedDetails(template, ...args);
};$h͏_once.unredactedDetails(unredactedDetails);
freeze(unredactedDetails);


const leadingSpacePattern = sealRegexp(/^ /);
const trailingSpacePattern = sealRegexp(/ $/);

/**
 * Get arguments suitable for a console logger function (e.g., `console.error`)
 * from `details` template literal contents, unquoting quoted substitution
 * values.
 *
 * @param {DetailsParts} hiddenDetails
 * @returns {LogArgs}
 */
const getLogArgs = ({ template, args }) => {
  const logArgs = [template[0]];
  for (let i = 0; i < args.length; i += 1) {
    let arg = args[i];
    if (weakmapHas(declassifiers, arg)) {
      arg = weakmapGet(declassifiers, arg);
    }
    // Remove substitution-adjacent spaces from template fixed-string parts
    // (since console logging inserts its own argument-separating spaces).
    const prevLiteralPart = regexpReplace(
      trailingSpacePattern,
      arrayPop(logArgs) || '',
      '',
    );
    if (prevLiteralPart !== '') {
      arrayPush(logArgs, prevLiteralPart);
    }
    const nextLiteralPart = regexpReplace(
      leadingSpacePattern,
      template[i + 1],
      '',
    );
    arrayPush(logArgs, arg, nextLiteralPart);
  }
  if (logArgs[logArgs.length - 1] === '') {
    arrayPop(logArgs);
  }
  return logArgs;
};

/**
 * Maps from an error object to arguments suitable for a privileged console
 * logger function such as `console.error`, including values that may be
 * redacted in the error's `message`.
 *
 * @type {WeakMap<Error, LogArgs>}
 */
const hiddenMessageLogArgs = new WeakMap();

// So each error tag will be unique.
let errorTagNum = 0;

/**
 * @type {WeakMap<Error, string>}
 */
const errorTags = new WeakMap();

/**
 * @param {Error} err
 * @param {string=} optErrorName
 * @returns {string}
 */
const tagError = (err, optErrorName = err.name) => {
  let errorTag = weakmapGet(errorTags, err);
  if (errorTag !== undefined) {
    return errorTag;
  }
  errorTagNum += 1;
  errorTag = `${optErrorName}#${errorTagNum}`;
  weakmapSet(errorTags, err, errorTag);
  return errorTag;
};

/**
 * Make reasonable best efforts to make a `Passable` error.
 *   - `sanitizeError` will remove any "extraneous" own properties already added
 *     by the host,
 *     such as `fileName`,`lineNumber` on FireFox or `line` on Safari.
 *   - If any such "extraneous" properties were removed, `sanitizeError` will
 *     annotate
 *     the error with them, so they still appear on the causal console
 *     log output for diagnostic purposes, but not be otherwise visible.
 *   - `sanitizeError` will ensure that any expected properties already
 *     added by the host are data
 *     properties, converting accessor properties to data properties as needed,
 *     such as `stack` on v8 (Chrome, Brave, Edge?)
 *   - `sanitizeError` will freeze the error, preventing any correct engine from
 *     adding or
 *     altering any of the error's own properties `sanitizeError` is done.
 *
 * However, `sanitizeError` will not, for example, `harden`
 * (i.e., deeply freeze)
 * or ensure that the `cause` or `errors` property satisfy the `Passable`
 * constraints. The purpose of `sanitizeError` is only to protect against
 * mischief the host may have already added to the error as created,
 * not to ensure that the error is actually Passable. For that,
 * see `toPassableError` in `@endo/pass-style`.
 *
 * @param {Error} error
 */
       const sanitizeError = error => {
  const descs = getOwnPropertyDescriptors(error);
  const {
    name: _nameDesc,
    message: _messageDesc,
    errors: _errorsDesc = undefined,
    cause: _causeDesc = undefined,
    stack: _stackDesc = undefined,
    ...restDescs
  } = descs;

  const restNames = ownKeys(restDescs);
  if (restNames.length >= 1) {
    for (const name of restNames) {
      delete error[name];
    }
    const dropped = create(objectPrototype, restDescs);
    const droppedDetails = redactedDetails`originally with properties ${quote(dropped)}`;
    // eslint-disable-next-line no-use-before-define
    note(error, droppedDetails);
  }
  for (const name of ownKeys(error)) {
    // @ts-expect-error TypeScript is still confused by symbols as property keys
    const desc = descs[name];
    if (desc && hasOwn(desc, 'get')) {
      const value = error[name]; // invokes the getter
      defineProperty(error, name, { value });
    }
  }
  freeze(error);
};

/**
 * @type {AssertionUtilities['makeError']}
 */$h͏_once.sanitizeError(sanitizeError);
const makeError = (
  optDetails = redactedDetails`Assert failed`,
  errConstructor = globalThis.Error,
  {
    errorName = undefined,
    cause = undefined,
    errors = undefined,
    sanitize = true,
  } = {},
) => {
  // Promote string-valued `optDetails` into a minimal DetailsParts
  // consisting of that string as the sole literal part with no substitutions.
  if (typeof optDetails === 'string') {
    optDetails = redactedDetails([optDetails]);
  }
  const hiddenDetails = weakmapGet(hiddenDetailsMap, optDetails);
  if (hiddenDetails === undefined) {
    throw TypeError(`unrecognized details ${quote(optDetails)}`);
  }
  const messageString = getMessageString(hiddenDetails);
  const opts = cause && { cause };
  let error;
  if (
    typeof AggregateError !== 'undefined' &&
    errConstructor === AggregateError
  ) {
    error = AggregateError(errors || [], messageString, opts);
  } else {
    const ErrorCtor = /** @type {ErrorConstructor} */ (errConstructor);
    error = ErrorCtor(messageString, opts);
    // Since we need to tolerate `errors` on an AggregateError, we may as well
    // tolerate it on all errors.
    if (errors !== undefined) {
      defineProperty(error, 'errors', {
        value: errors,
        writable: true,
        enumerable: false,
        configurable: true,
      });
    }
  }
  weakmapSet(hiddenMessageLogArgs, error, getLogArgs(hiddenDetails));
  if (errorName !== undefined) {
    tagError(error, errorName);
  }
  if (sanitize) {
    sanitizeError(error);
  }
  // The next line is a particularly fruitful place to put a breakpoint.
  return error;
};$h͏_once.makeError(makeError);
freeze(makeError);

// /////////////////////////////////////////////////////////////////////////////

const { addLogArgs: addNoteLogArgs, takeLogArgsArray: takeAllNoteLogArgs } =
  makeNoteLogArgsArrayKit();

/**
 * An augmented console will normally only take the hidden noteArgs array once,
 * when it logs the error being annotated. Once that happens, further
 * annotations of that error should go to the console immediately. We arrange
 * that by accepting a note-callback function from the console as an optional
 * part of that taking operation. Normally there will only be at most one
 * callback per error, but that depends on console behavior which we should not
 * assume. We make this an array of callbacks so multiple registrations
 * are independent.
 *
 * @type {WeakMap<Error, NoteCallback[]>}
 */
const hiddenNoteCallbacks = new WeakMap();

/** @type {AssertionUtilities['note']} */
const note = (error, detailsNote) => {
  // Promote string-valued `detailsNote` into a minimal DetailsParts consisting
  // of that string as the sole literal part with no substitutions.
  if (typeof detailsNote === 'string') {
    detailsNote = redactedDetails([detailsNote]);
  }
  const hiddenDetails = weakmapGet(hiddenDetailsMap, detailsNote);
  if (hiddenDetails === undefined) {
    throw TypeError(`unrecognized details ${quote(detailsNote)}`);
  }
  const logArgs = getLogArgs(hiddenDetails);
  const callbacks = weakmapGet(hiddenNoteCallbacks, error);
  if (callbacks !== undefined) {
    for (const callback of callbacks) {
      callback(error, logArgs);
    }
  } else {
    addNoteLogArgs(error, logArgs);
  }
};$h͏_once.note(note);
freeze(note);

/**
 * The unprivileged form that just uses the de facto `error.stack` property.
 * The start compartment normally has a privileged `globalThis.getStackString`
 * which should be preferred if present.
 *
 * @param {Error} error
 * @returns {string}
 */
const defaultGetStackString = error => {
  if (!('stack' in error)) {
    return '';
  }
  const stackString = `${error.stack}`;
  const pos = stringIndexOf(stackString, '\n');
  if (stringStartsWith(stackString, ' ') || pos === -1) {
    return stackString;
  }
  return stringSlice(stackString, pos + 1); // exclude the initial newline
};

/** @type {LoggedErrorHandler} */
const loggedErrorHandler = {
  getStackString: globalThis.getStackString || defaultGetStackString,
  tagError: error => tagError(error),
  resetErrorTagNum: () => {
    errorTagNum = 0;
  },
  getMessageLogArgs: error => weakmapGet(hiddenMessageLogArgs, error),
  takeMessageLogArgs: error => {
    const logArgs = weakmapGet(hiddenMessageLogArgs, error);
    weakmapDelete(hiddenMessageLogArgs, error);
    return logArgs;
  },
  takeNoteLogArgsArray: (error, callback) => {
    const logArgsArray = takeAllNoteLogArgs(error);
    if (callback !== undefined) {
      const callbacks = weakmapGet(hiddenNoteCallbacks, error);
      if (callbacks) {
        arrayPush(callbacks, callback);
      } else {
        weakmapSet(hiddenNoteCallbacks, error, [callback]);
      }
    }
    return logArgsArray || [];
  },
};$h͏_once.loggedErrorHandler(loggedErrorHandler);
freeze(loggedErrorHandler);


// /////////////////////////////////////////////////////////////////////////////

/**
 * @type {MakeAssert}
 */
       const makeAssert = (optRaise = undefined, unredacted = false) => {
  const details = unredacted ? unredactedDetails : redactedDetails;
  const assertFailedDetails = details`Check failed`;

  /** @type {AssertionFunctions['fail']} */
  const fail = (
    optDetails = assertFailedDetails,
    errConstructor = undefined,
    options = undefined,
  ) => {
    const reason = makeError(optDetails, errConstructor, options);
    if (optRaise !== undefined) {
      optRaise(reason);
    }
    throw reason;
  };
  freeze(fail);

  /** @type {AssertionUtilities['Fail']} */
  const Fail = (template, ...args) => fail(details(template, ...args));

  // Don't freeze or export `assert` until we add methods.
  /** @type {BaseAssert} */
  const assert = (
    condition,
    optDetails = undefined,
    errConstructor = undefined,
    options = undefined,
  ) => {
    condition || fail(optDetails, errConstructor, options);
  };

  /** @type {AssertionFunctions['equal']} */
  const equal = (
    actual,
    expected,
    optDetails = undefined,
    errConstructor = undefined,
    options = undefined,
  ) => {
    is(actual, expected) ||
      fail(
        optDetails || details`Expected ${actual} is same as ${expected}`,
        errConstructor || RangeError,
        options,
      );
  };
  freeze(equal);

  /** @type {AssertionFunctions['typeof']} */
  const assertTypeof = (specimen, typename, optDetails) => {
    // This will safely fall through if typename is not a string,
    // which is what we want.
    // eslint-disable-next-line valid-typeof
    if (typeof specimen === typename) {
      return;
    }
    typeof typename === 'string' || Fail`${quote(typename)} must be a string`;

    if (optDetails === undefined) {
      // Embed the type phrase without quotes.
      const typeWithDeterminer = an(typename);
      optDetails = details`${specimen} must be ${bare(typeWithDeterminer)}`;
    }
    fail(optDetails, TypeError);
  };
  freeze(assertTypeof);

  /** @type {AssertionFunctions['string']} */
  const assertString = (specimen, optDetails = undefined) =>
    assertTypeof(specimen, 'string', optDetails);

  /** @type {Pick<AssertionFunctions, keyof AssertionFunctions>} */
  const assertionFunctions = {
    equal,
    typeof: assertTypeof,
    string: assertString,
    fail,
  };

  /** @type {AssertionUtilities} */
  const assertionUtilities = {
    makeError,
    note,
    details,
    Fail,
    quote,
    bare,
  };

  /** @type {DeprecatedAssertionUtilities} */
  const deprecated = { error: makeError, makeAssert };

  /** @type {Assert} */
  const finishedAssert = assign(assert, {
    ...assertionFunctions,
    ...assertionUtilities,
    ...deprecated,
  });
  return freeze(finishedAssert);
};$h͏_once.makeAssert(makeAssert);
freeze(makeAssert);

/** @type {Assert} */
const assert = makeAssert();$h͏_once.assert(assert);


// Internal, to obviate polymorphic dispatch, but may become rigorously
// consistent with @endo/error:

/** @type {AssertionFunctions['equal']} */
const assertEqual = assert.equal;$h͏_once.assertEqual(assertEqual);
})()
,
// === 14. ses ./src/make-hardener.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Set,String,TypeError,WeakSet,globalThis,apply,arrayForEach,defineProperty,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,getPrototypeOf,isInteger,isPrimitive,hasOwn,ownKeys,preventExtensions,setAdd,setForEach,setHas,toStringTagSymbol,typedArrayPrototype,weaksetAdd,weaksetHas,FERAL_STACK_GETTER,FERAL_STACK_SETTER,isError,assert;$h͏_imports([["./commons.js", [["Set",[$h͏_a => (Set = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["arrayForEach",[$h͏_a => (arrayForEach = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["isInteger",[$h͏_a => (isInteger = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["preventExtensions",[$h͏_a => (preventExtensions = $h͏_a)]],["setAdd",[$h͏_a => (setAdd = $h͏_a)]],["setForEach",[$h͏_a => (setForEach = $h͏_a)]],["setHas",[$h͏_a => (setHas = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["typedArrayPrototype",[$h͏_a => (typedArrayPrototype = $h͏_a)]],["weaksetAdd",[$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]],["FERAL_STACK_GETTER",[$h͏_a => (FERAL_STACK_GETTER = $h͏_a)]],["FERAL_STACK_SETTER",[$h͏_a => (FERAL_STACK_SETTER = $h͏_a)]],["isError",[$h͏_a => (isError = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);





















































/**
 * @import {Harden} from '../types.js'
 */

// Obtain the string tag accessor of of TypedArray so we can indirectly use the
// TypedArray brand check it employs.
const typedArrayToStringTag = getOwnPropertyDescriptor(
  typedArrayPrototype,
  toStringTagSymbol,
);
assert(typedArrayToStringTag);
const getTypedArrayToStringTag = typedArrayToStringTag.get;
assert(getTypedArrayToStringTag);

// Exported for tests.
/**
 * Duplicates packages/marshal/src/helpers/passStyle-helpers.js to avoid a dependency.
 *
 * @param {unknown} object
 */
       const isTypedArray = object => {
  // The object must pass a brand check or toStringTag will return undefined.
  const tag = apply(getTypedArrayToStringTag, object, []);
  return tag !== undefined;
};

/**
 * Tests if a property key is an integer-valued canonical numeric index.
 * https://tc39.es/ecma262/#sec-canonicalnumericindexstring
 *
 * @param {string | symbol} propertyKey
 */$h͏_once.isTypedArray(isTypedArray);
const isCanonicalIntegerIndexString = propertyKey => {
  const n = +String(propertyKey);
  return isInteger(n) && String(n) === propertyKey;
};

/**
 * @template T
 * @param {ArrayLike<T>} array
 */
const freezeTypedArray = array => {
  preventExtensions(array);

  // Downgrade writable expandos to readonly, even if non-configurable.
  // We get each descriptor individually rather than using
  // getOwnPropertyDescriptors in order to fail safe when encountering
  // an obscure GraalJS issue where getOwnPropertyDescriptor returns
  // undefined for a property that does exist.
  arrayForEach(ownKeys(array), (/** @type {string | symbol} */ name) => {
    const desc = getOwnPropertyDescriptor(array, name);
    assert(desc);
    // TypedArrays are integer-indexed exotic objects, which define special
    // treatment for property names in canonical numeric form:
    // integers in range are permanently writable and non-configurable.
    // https://tc39.es/ecma262/#sec-integer-indexed-exotic-objects
    //
    // This is analogous to the data of a hardened Map or Set,
    // so we carve out this exceptional behavior but make all other
    // properties non-configurable.
    if (!isCanonicalIntegerIndexString(name)) {
      defineProperty(array, name, {
        ...desc,
        writable: false,
        configurable: false,
      });
    }
  });
};

/**
 * Create a `harden` function.
 *
 * @returns {Harden}
 */
       const makeHardener = () => {
  // Use a native hardener if possible.
  if (typeof globalThis.harden === 'function') {
    const safeHarden = globalThis.harden;
    return safeHarden;
  }

  const hardened = new WeakSet();

  const { harden } = {
    /**
     * @template T
     * @param {T} root
     * @returns {T}
     */
    harden(root) {
      const toFreeze = new Set();

      // If val is something we should be freezing but aren't yet,
      // add it to toFreeze.
      /**
       * @param {any} val
       */
      function enqueue(val) {
        if (isPrimitive(val)) {
          // ignore primitives
          return;
        }
        const type = typeof val;
        if (type !== 'object' && type !== 'function') {
          // future proof: break until someone figures out what it should do
          throw TypeError(`Unexpected typeof: ${type}`);
        }
        if (weaksetHas(hardened, val) || setHas(toFreeze, val)) {
          // Ignore if this is an exit, or we've already visited it
          return;
        }
        // console.warn(`adding ${val} to toFreeze`, val);
        setAdd(toFreeze, val);
      }

      /**
       * @param {any} obj
       */
      const baseFreezeAndTraverse = obj => {
        // Now freeze the object to ensure reactive
        // objects such as proxies won't add properties
        // during traversal, before they get frozen.

        // Object are verified before being enqueued,
        // therefore this is a valid candidate.
        // Throws if this fails (strict mode).
        // Also throws if the object is an ArrayBuffer or any TypedArray.
        if (isTypedArray(obj)) {
          freezeTypedArray(obj);
        } else {
          freeze(obj);
        }

        // we rely upon certain commitments of Object.freeze and proxies here

        // get stable/immutable outbound links before a Proxy has a chance to do
        // something sneaky.
        const descs = getOwnPropertyDescriptors(obj);
        const proto = getPrototypeOf(obj);
        enqueue(proto);

        arrayForEach(ownKeys(descs), (/** @type {string | symbol} */ name) => {
          // The 'name' may be a symbol, and TypeScript doesn't like us to
          // index arbitrary symbols on objects, so we pretend they're just
          // strings.
          const desc = descs[/** @type {string} */ (name)];
          // getOwnPropertyDescriptors is guaranteed to return well-formed
          // descriptors, but they still inherit from Object.prototype. If
          // someone has poisoned Object.prototype to add 'value' or 'get'
          // properties, then a simple 'if ("value" in desc)' or 'desc.value'
          // test could be confused. We use hasOwnProperty to be sure about
          // whether 'value' is present or not, which tells us for sure that
          // this is a data property.
          if (hasOwn(desc, 'value')) {
            enqueue(desc.value);
          } else {
            enqueue(desc.get);
            enqueue(desc.set);
          }
        });
      };

      const freezeAndTraverse =
        FERAL_STACK_GETTER === undefined && FERAL_STACK_SETTER === undefined
          ? // On platforms without v8's error own stack accessor problem,
            // don't pay for any extra overhead.
            baseFreezeAndTraverse
          : obj => {
              if (isError(obj)) {
                // Only pay the overhead if it first passes this cheap isError
                // check. Otherwise, it will be unrepaired, but won't be judged
                // to be a passable error anyway, so will not be unsafe.
                const stackDesc = getOwnPropertyDescriptor(obj, 'stack');
                if (
                  stackDesc &&
                  stackDesc.get === FERAL_STACK_GETTER &&
                  stackDesc.configurable
                ) {
                  // Can only repair if it is configurable. Otherwise, leave
                  // unrepaired, in which case it will not be judged passable,
                  // avoiding a safety problem.
                  defineProperty(obj, 'stack', {
                    // NOTE: Calls getter during harden, which seems dangerous.
                    // But we're only calling the problematic getter whose
                    // hazards we think we understand.
                    // @ts-expect-error TS should know FERAL_STACK_GETTER
                    // cannot be `undefined` here.
                    // See https://github.com/endojs/endo/pull/2232#discussion_r1575179471
                    value: apply(FERAL_STACK_GETTER, obj, []),
                  });
                }
              }
              return baseFreezeAndTraverse(obj);
            };

      const dequeue = () => {
        // New values added before forEach() has finished will be visited.
        setForEach(toFreeze, freezeAndTraverse);
      };

      /** @param {any} value */
      const markHardened = value => {
        weaksetAdd(hardened, value);
      };

      const commit = () => {
        setForEach(toFreeze, markHardened);
      };

      enqueue(root);
      dequeue();
      // console.warn("toFreeze set:", toFreeze);
      commit();

      return root;
    },
  };

  return harden;
};$h͏_once.makeHardener(makeHardener);
})()
,
// === 15. ses ./src/cauterize-property.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let hasOwn;$h͏_imports([["./commons.js", [["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]]]]]);

/**
 * @import {Reporter} from './reporting-types.js'
 */

/**
 * Delete `obj[prop]` or at least make it harmless.
 *
 * If the property was not expected, then emit a reporter-dependent warning
 * to bring attention to this case, so someone can determine what to do with it.
 *
 * If the property to be deleted is a function's `.prototype` property, this
 * will normally be because the function was supposed to be a
 * - builtin method or non-constructor function
 * - arrow function
 * - concise method
 *
 * all of whom are not supposed to have a `.prototype` property. Nevertheless,
 * on some platforms (like older versions of Hermes), or as a result of
 * some shim-based mods to the primordials (like core-js?), some of these
 * functions may accidentally be more like `function` functions with
 * an undeletable `.prototype` property. In these cases, if we can
 * set the value of that bogus `.prototype` property to `undefined`,
 * we do so, issuing a warning, rather than failing to initialize ses.
 *
 * @param {object} obj
 * @param {PropertyKey} prop
 * @param {boolean} known If deletion is expected, don't warn
 * @param {string} subPath Used for warning messages
 * @param {Reporter} reporter Where to issue warning or error.
 * @returns {void}
 */
       const cauterizeProperty = (
  obj,
  prop,
  known,
  subPath,
  { warn, error },
) => {
  // Either the object lacks a permit or the object doesn't match the
  // permit.
  // If the permit is specifically false, not merely undefined,
  // this is a property we expect to see because we know it exists in
  // some environments and we have expressly decided to exclude it.
  // Any other disallowed property is one we have not audited and we log
  // that we are removing it so we know to look into it, as happens when
  // the language evolves new features to existing intrinsics.
  if (!known) {
    warn(`Removing ${subPath}`);
  }
  try {
    delete obj[prop];
  } catch (err) {
    if (hasOwn(obj, prop)) {
      if (typeof obj === 'function' && prop === 'prototype') {
        obj.prototype = undefined;
        if (obj.prototype === undefined) {
          warn(`Tolerating undeletable ${subPath} === undefined`);
          return;
        }
      }
      error(`failed to delete ${subPath}`, err);
    } else {
      error(`deleting ${subPath} threw`, err);
    }
    throw err;
  }
};$h͏_once.cauterizeProperty(cauterizeProperty);
})()
,
// === 16. ses ./src/permits.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let arrayPush,arrayForEach;$h͏_imports([["./commons.js", [["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["arrayForEach",[$h͏_a => (arrayForEach = $h͏_a)]]]]]);




/** @import {GenericErrorConstructor} from '../types.js' */

/**
 * Exports {@code permits}, a recursively defined
 * JSON record enumerating all intrinsics and their properties
 * according to ECMA specs.
 *
 * @author JF Paradis
 * @author Mark S. Miller
 *
 * @module
 */

/**
 * constantProperties
 * non-configurable, non-writable data properties of all global objects.
 * Must be powerless.
 * Maps from property name to the actual value
 */
       const constantProperties = {
  // *** Value Properties of the Global Object

  Infinity,
  NaN,
  undefined,
};

/**
 * universalPropertyNames
 * Properties of all global objects.
 * Must be powerless.
 * Maps from property name to the intrinsic name in the permits.
 */$h͏_once.constantProperties(constantProperties);
       const universalPropertyNames = {
  // *** Function Properties of the Global Object

  isFinite: 'isFinite',
  isNaN: 'isNaN',
  parseFloat: 'parseFloat',
  parseInt: 'parseInt',

  decodeURI: 'decodeURI',
  decodeURIComponent: 'decodeURIComponent',
  encodeURI: 'encodeURI',
  encodeURIComponent: 'encodeURIComponent',

  // *** Constructor Properties of the Global Object

  Array: 'Array',
  ArrayBuffer: 'ArrayBuffer',
  BigInt: 'BigInt',
  BigInt64Array: 'BigInt64Array',
  BigUint64Array: 'BigUint64Array',
  Boolean: 'Boolean',
  DataView: 'DataView',
  EvalError: 'EvalError',
  // https://github.com/tc39/proposal-float16array
  Float16Array: 'Float16Array',
  Float32Array: 'Float32Array',
  Float64Array: 'Float64Array',
  Int8Array: 'Int8Array',
  Int16Array: 'Int16Array',
  Int32Array: 'Int32Array',
  Map: 'Map',
  Number: 'Number',
  Object: 'Object',
  Promise: 'Promise',
  Proxy: 'Proxy',
  RangeError: 'RangeError',
  ReferenceError: 'ReferenceError',
  Set: 'Set',
  String: 'String',
  SyntaxError: 'SyntaxError',
  TypeError: 'TypeError',
  Uint8Array: 'Uint8Array',
  Uint8ClampedArray: 'Uint8ClampedArray',
  Uint16Array: 'Uint16Array',
  Uint32Array: 'Uint32Array',
  URIError: 'URIError',
  WeakMap: 'WeakMap',
  WeakSet: 'WeakSet',
  // https://github.com/tc39/proposal-iterator-helpers
  Iterator: 'Iterator',
  // https://github.com/tc39/proposal-async-iterator-helpers
  AsyncIterator: 'AsyncIterator',
  // https://github.com/endojs/endo/issues/550
  AggregateError: 'AggregateError',

  // https://github.com/tc39/proposal-explicit-resource-management
  // TODO DisposableStack, AsyncDisposableStack
  // DisposableStack: 'DisposableStack',
  // AsyncDisposableStack: 'AsyncDisposableStack',

  // https://tc39.es/proposal-shadowrealm/
  // TODO ShadowRealm
  // ShadowRealm: 'ShadowRealm',

  // *** Other Properties of the Global Object

  JSON: 'JSON',
  Reflect: 'Reflect',

  // *** Annex B

  escape: 'escape',
  unescape: 'unescape',

  // ESNext

  // https://github.com/tc39/proposal-source-phase-imports?tab=readme-ov-file#js-module-source
  ModuleSource: 'ModuleSource',

  lockdown: 'lockdown',
  harden: 'harden',

  HandledPromise: 'HandledPromise'  // TODO: Until Promise.delegate (see below).
};

/**
 * initialGlobalPropertyNames
 * Those found only on the initial global, i.e., the global of the
 * start compartment, as well as any compartments created before lockdown.
 * These may provide much of the power provided by the original.
 * Maps from property name to the intrinsic name in the permits.
 */$h͏_once.universalPropertyNames(universalPropertyNames);
       const initialGlobalPropertyNames = {
  // *** Constructor Properties of the Global Object

  Date: '%InitialDate%',
  Error: '%InitialError%',
  RegExp: '%InitialRegExp%',

  // Omit `Symbol`, because we want the original to appear on the
  // start compartment without passing through the permits mechanism, since
  // we want to preserve all its properties, even if we never heard of them.
  // Symbol: '%InitialSymbol%',

  // *** Other Properties of the Global Object

  Math: '%InitialMath%',

  // ESNext

  // From Error-stack proposal
  // Only on initial global. No corresponding
  // powerless form for other globals.
  getStackString: '%InitialGetStackString%'

  // TODO https://github.com/Agoric/SES-shim/issues/551
  // Need initial WeakRef and FinalizationGroup in
  // start compartment only.

  // TODO Temporal
  // https://github.com/tc39/proposal-temporal
  // Temporal: '%InitialTemporal%' // with Temporal.Now
};

/**
 * sharedGlobalPropertyNames
 * Those found only on the globals of new compartments created after lockdown,
 * which must therefore be powerless.
 * Maps from property name to the intrinsic name in the permits.
 */$h͏_once.initialGlobalPropertyNames(initialGlobalPropertyNames);
       const sharedGlobalPropertyNames = {
  // *** Constructor Properties of the Global Object

  Date: '%SharedDate%',
  Error: '%SharedError%',
  RegExp: '%SharedRegExp%',
  Symbol: '%SharedSymbol%',

  // *** Other Properties of the Global Object

  Math: '%SharedMath%'

  // TODO Temporal
  // https://github.com/tc39/proposal-temporal
  // Temporal: '%SharedTemporal%' // without Temporal.Now
};

/**
 * uniqueGlobalPropertyNames
 * Those made separately for each global, including the initial global
 * of the start compartment.
 * Maps from property name to the intrinsic name in the permits
 * (which is currently always the same).
 */$h͏_once.sharedGlobalPropertyNames(sharedGlobalPropertyNames);
       const uniqueGlobalPropertyNames = {
  // *** Value Properties of the Global Object

  globalThis: '%UniqueGlobalThis%',

  // *** Function Properties of the Global Object

  eval: '%UniqueEval%',

  // *** Constructor Properties of the Global Object

  Function: '%UniqueFunction%',

  // *** Other Properties of the Global Object

  // ESNext

  Compartment: '%UniqueCompartment%'
  // According to current agreements, eventually the Realm constructor too.
  // 'Realm',
};

// All the "subclasses" of Error. These are collectively represented in the
// ECMAScript spec by the meta variable NativeError.
/** @type {GenericErrorConstructor[]} */$h͏_once.uniqueGlobalPropertyNames(uniqueGlobalPropertyNames);
const NativeErrors = [
  EvalError,
  RangeError,
  ReferenceError,
  SyntaxError,
  TypeError,
  URIError
  // https://github.com/endojs/endo/issues/550
  // Commented out to accommodate platforms prior to AggregateError.
  // Instead, conditional push below.
  // AggregateError,
];$h͏_once.NativeErrors(NativeErrors);

if (typeof AggregateError !== 'undefined') {
  // Conditional, to accommodate platforms prior to AggregateError
  arrayPush(NativeErrors, AggregateError);
}



/**
 * <p>Each JSON record enumerates the disposition of the properties on
 *    some corresponding intrinsic object.
 *
 * <p>All records are made of key-value pairs where the key
 *    is the property to process, and the value is the associated
 *    dispositions a.k.a. the "permit". Those permits can be:
 * <ul>
 * <li>The boolean value "false", in which case this property is
 *     blacklisted and simply removed. Properties not mentioned
 *     are also considered blacklisted and are removed.
 * <li>A string value equal to a primitive ("number", "string", etc),
 *     in which case the property is permitted if its value property
 *     is typeof the given type. For example, {@code "Infinity"} leads to
 *     "number" and property values that fail {@code typeof "number"}.
 *     are removed.
 * <li>A string value equal to an intinsic name ("ObjectPrototype",
 *     "Array", etc), in which case the property permitted if its
 *     value property is equal to the value of the corresponfing
 *     intrinsics. For example, {@code Map.prototype} leads to
 *     "MapPrototype" and the property is removed if its value is
 *     not equal to %MapPrototype%
 * <li>Another record, in which case this property is simply
 *     permitted and that next record represents the disposition of
 *     the object which is its value. For example, {@code "Object"}
 *     leads to another record explaining what properties {@code
 *     "Object"} may have and how each such property should be treated.
 *
 * <p>Notes:
 * <li>"[[Proto]]" is used to refer to the "[[Prototype]]" internal
 *     slot, which says which object this object inherits from.
 * <li>"--proto--" is used to refer to the "__proto__" property name,
 *     which is the name of an accessor property on Object.prototype.
 *     In practice, it is used to access the [[Proto]] internal slot,
 *     but is distinct from the internal slot itself. We use
 *     "--proto--" rather than "__proto__" below because "__proto__"
 *     in an object literal is special syntax rather than a normal
 *     property definition.
 * <li>"ObjectPrototype" is the default "[[Proto]]" (when not specified).
 * <li>Constants "fn" and "getter" are used to keep the structure DRY.
 * <li>Symbol properties are listed as follow:
 *     <li>Well-known symbols use the "@@name" form.
 *     <li>Registered symbols use the "RegisteredSymbol(key)" form.
 *     <li>Unique symbols use the "UniqueSymbol(description)" form.
 */

// Function Instances
       const FunctionInstance = {
  '[[Proto]]': '%FunctionPrototype%',
  length: 'number',
  name: 'string'
  // Do not specify "prototype" here, since only Function instances that can
  // be used as a constructor have a prototype property. For constructors,
  // since prototype properties are instance-specific, we define it there.
};

// AsyncFunction Instances
$h͏_once.FunctionInstance(FunctionInstance);const AsyncFunctionInstance={
  // This property is not mentioned in ECMA 262, but is present in V8 and
  // necessary for lockdown to succeed.
  '[[Proto]]': '%AsyncFunctionPrototype%',
};

// Aliases
$h͏_once.AsyncFunctionInstance(AsyncFunctionInstance);const fn=FunctionInstance;
const asyncFn = AsyncFunctionInstance;

const getter = {
  get: fn,
  set: 'undefined',
};

// Possible but not encountered in the specs
// export const setter = {
//   get: 'undefined',
//   set: fn,
// };

const accessor = {
  get: fn,
  set: fn,
};

// eslint-disable-next-line func-names
const strict = function () {
  'use strict';
};

// TODO Remove this once we no longer support the Hermes that needed this.
arrayForEach(['caller', 'arguments'], prop => {
  try {
    strict[prop];
  } catch (e) {
    // https://github.com/facebook/hermes/blob/main/test/hermes/function-non-strict.js
    if (e.message === 'Restricted in strict mode') {
      // Fixed in Static Hermes: https://github.com/facebook/hermes/issues/1582
      FunctionInstance[prop] = accessor;
    }
  }
});

       const isAccessorPermit = permit => {
  return permit === getter || permit === accessor;
};

// NativeError Object Structure
$h͏_once.isAccessorPermit(isAccessorPermit);function NativeError(prototype){
  return {
    // Properties of the NativeError Constructors
    '[[Proto]]': '%SharedError%',

    // NativeError.prototype
    prototype,
  };
}

function NativeErrorPrototype(constructor) {
  return {
    // Properties of the NativeError Prototype Objects
    '[[Proto]]': '%ErrorPrototype%',
    constructor,
    message: 'string',
    name: 'string',
    // Redundantly present only on v8. Safe to remove.
    toString: false,
    // Superfluously present in some versions of V8.
    // https://github.com/tc39/notes/blob/master/meetings/2021-10/oct-26.md#:~:text=However%2C%20Chrome%2093,and%20node%2016.11.
    cause: false,
  };
}

// The TypedArray Constructors
function TypedArray(prototype) {
  return {
    // Properties of the TypedArray Constructors
    '[[Proto]]': '%TypedArray%',
    BYTES_PER_ELEMENT: 'number',
    prototype,
  };
}

function TypedArrayPrototype(constructor) {
  return {
    // Properties of the TypedArray Prototype Objects
    '[[Proto]]': '%TypedArrayPrototype%',
    BYTES_PER_ELEMENT: 'number',
    constructor,
  };
}

// Without Math.random
const CommonMath = {
  E: 'number',
  LN10: 'number',
  LN2: 'number',
  LOG10E: 'number',
  LOG2E: 'number',
  PI: 'number',
  SQRT1_2: 'number',
  SQRT2: 'number',
  '@@toStringTag': 'string',
  abs: fn,
  acos: fn,
  acosh: fn,
  asin: fn,
  asinh: fn,
  atan: fn,
  atanh: fn,
  atan2: fn,
  cbrt: fn,
  ceil: fn,
  clz32: fn,
  cos: fn,
  cosh: fn,
  exp: fn,
  expm1: fn,
  floor: fn,
  fround: fn,
  hypot: fn,
  imul: fn,
  log: fn,
  log1p: fn,
  log10: fn,
  log2: fn,
  max: fn,
  min: fn,
  pow: fn,
  round: fn,
  sign: fn,
  sin: fn,
  sinh: fn,
  sqrt: fn,
  tan: fn,
  tanh: fn,
  trunc: fn,
  // https://github.com/tc39/proposal-float16array
  f16round: fn,
  // https://github.com/tc39/proposal-math-sum
  sumPrecise: fn,

  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  idiv: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  idivmod: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  imod: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  imuldiv: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  irem: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523
  mod: false,
  // See https://github.com/Moddable-OpenSource/moddable/issues/523#issuecomment-1942904505
  irandom: false,
};

       const permitted = {
  // ECMA https://tc39.es/ecma262

  // The intrinsics object has no prototype to avoid conflicts.
  '[[Proto]]': null,

  // %ThrowTypeError%
  '%ThrowTypeError%': fn,

  // *** The Global Object

  // *** Value Properties of the Global Object
  Infinity: 'number',
  NaN: 'number',
  undefined: 'undefined',

  // *** Function Properties of the Global Object

  // eval
  '%UniqueEval%': fn,
  isFinite: fn,
  isNaN: fn,
  parseFloat: fn,
  parseInt: fn,
  decodeURI: fn,
  decodeURIComponent: fn,
  encodeURI: fn,
  encodeURIComponent: fn,

  // *** Fundamental Objects

  Object: {
    // Properties of the Object Constructor
    '[[Proto]]': '%FunctionPrototype%',
    assign: fn,
    create: fn,
    defineProperties: fn,
    defineProperty: fn,
    entries: fn,
    freeze: fn,
    fromEntries: fn,
    getOwnPropertyDescriptor: fn,
    getOwnPropertyDescriptors: fn,
    getOwnPropertyNames: fn,
    getOwnPropertySymbols: fn,
    getPrototypeOf: fn,
    is: fn,
    isExtensible: fn,
    isFrozen: fn,
    isSealed: fn,
    keys: fn,
    preventExtensions: fn,
    prototype: '%ObjectPrototype%',
    seal: fn,
    setPrototypeOf: fn,
    values: fn,
    'RegisteredSymbol(harden)': {
      ...fn,
      // Installed with hardenTaming: 'unsafe'
      isFake: 'boolean',
    },
    // https://github.com/tc39/proposal-accessible-object-hasownproperty
    hasOwn: fn,
    // https://github.com/tc39/proposal-array-grouping
    groupBy: fn,
    // Seen on QuickJS
    __getClass: false,
  },

  '%ObjectPrototype%': {
    // Properties of the Object Prototype Object
    '[[Proto]]': null,
    constructor: 'Object',
    hasOwnProperty: fn,
    isPrototypeOf: fn,
    propertyIsEnumerable: fn,
    toLocaleString: fn,
    toString: fn,
    valueOf: fn,

    // Annex B: Additional Properties of the Object.prototype Object

    // See note in header about the difference between [[Proto]] and --proto--
    // special notations.
    '--proto--': accessor,
    __defineGetter__: fn,
    __defineSetter__: fn,
    __lookupGetter__: fn,
    __lookupSetter__: fn,
  },

  '%UniqueFunction%': {
    // Properties of the Function Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%FunctionPrototype%',
  },

  '%InertFunction%': {
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%FunctionPrototype%',
  },

  '%FunctionPrototype%': {
    apply: fn,
    bind: fn,
    call: fn,
    constructor: '%InertFunction%',
    toString: fn,
    '@@hasInstance': fn,
    // proposed but not yet std. To be removed if there
    caller: false,
    // proposed but not yet std. To be removed if there
    arguments: false,
    // Seen on QuickJS. TODO grab getter for use by console
    fileName: false,
    // Seen on QuickJS. TODO grab getter for use by console
    lineNumber: false,
  },

  Boolean: {
    // Properties of the Boolean Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%BooleanPrototype%',
  },

  '%BooleanPrototype%': {
    constructor: 'Boolean',
    toString: fn,
    valueOf: fn,
  },

  '%SharedSymbol%': {
    // Properties of the Symbol Constructor
    '[[Proto]]': '%FunctionPrototype%',
    asyncIterator: 'symbol',
    for: fn,
    hasInstance: 'symbol',
    isConcatSpreadable: 'symbol',
    iterator: 'symbol',
    keyFor: fn,
    match: 'symbol',
    matchAll: 'symbol',
    prototype: '%SymbolPrototype%',
    replace: 'symbol',
    search: 'symbol',
    species: 'symbol',
    split: 'symbol',
    toPrimitive: 'symbol',
    toStringTag: 'symbol',
    unscopables: 'symbol',
    // https://github.com/tc39/proposal-explicit-resource-management
    asyncDispose: 'symbol',
    // https://github.com/tc39/proposal-explicit-resource-management
    dispose: 'symbol',
    // Seen at core-js https://github.com/zloirock/core-js#ecmascript-symbol
    useSimple: false,
    // Seen at core-js https://github.com/zloirock/core-js#ecmascript-symbol
    useSetter: false,
    // Seen on QuickJS
    operatorSet: false,
  },

  '%SymbolPrototype%': {
    // Properties of the Symbol Prototype Object
    constructor: '%SharedSymbol%',
    description: getter,
    toString: fn,
    valueOf: fn,
    '@@toPrimitive': fn,
    '@@toStringTag': 'string',
  },

  '%InitialError%': {
    // Properties of the Error Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%ErrorPrototype%',
    // Non standard, v8 only, used by tap
    captureStackTrace: fn,
    // Non standard, v8 only, used by tap, tamed to accessor
    stackTraceLimit: accessor,
    // Non standard, v8 only, used by several, tamed to accessor
    prepareStackTrace: accessor,
    // https://github.com/tc39/proposal-is-error
    isError: fn,
  },

  '%SharedError%': {
    // Properties of the Error Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%ErrorPrototype%',
    // Non standard, v8 only, used by tap
    captureStackTrace: fn,
    // Non standard, v8 only, used by tap, tamed to accessor
    stackTraceLimit: accessor,
    // Non standard, v8 only, used by several, tamed to accessor
    prepareStackTrace: accessor,
    // https://github.com/tc39/proposal-is-error
    isError: fn,
  },

  '%ErrorPrototype%': {
    constructor: '%SharedError%',
    message: 'string',
    name: 'string',
    toString: fn,
    // proposed de-facto, assumed TODO
    // Seen on FF Nightly 88.0a1
    at: false,
    // Seen on FF and XS
    stack: accessor,
    // Superfluously present in some versions of V8.
    // https://github.com/tc39/notes/blob/master/meetings/2021-10/oct-26.md#:~:text=However%2C%20Chrome%2093,and%20node%2016.11.
    cause: false,
  },

  // NativeError

  EvalError: NativeError('%EvalErrorPrototype%'),
  RangeError: NativeError('%RangeErrorPrototype%'),
  ReferenceError: NativeError('%ReferenceErrorPrototype%'),
  SyntaxError: NativeError('%SyntaxErrorPrototype%'),
  TypeError: NativeError('%TypeErrorPrototype%'),
  URIError: NativeError('%URIErrorPrototype%'),
  // https://github.com/endojs/endo/issues/550
  AggregateError: NativeError('%AggregateErrorPrototype%'),

  // TODO SuppressedError
  // https://github.com/tc39/proposal-explicit-resource-management
  // SuppressedError: NativeError('%SuppressedErrorPrototype%'),

  '%EvalErrorPrototype%': NativeErrorPrototype('EvalError'),
  '%RangeErrorPrototype%': NativeErrorPrototype('RangeError'),
  '%ReferenceErrorPrototype%': NativeErrorPrototype('ReferenceError'),
  '%SyntaxErrorPrototype%': NativeErrorPrototype('SyntaxError'),
  '%TypeErrorPrototype%': NativeErrorPrototype('TypeError'),
  '%URIErrorPrototype%': NativeErrorPrototype('URIError'),
  // https://github.com/endojs/endo/issues/550
  '%AggregateErrorPrototype%': NativeErrorPrototype('AggregateError'),
  // TODO AggregateError .errors

  // TODO SuppressedError
  // https://github.com/tc39/proposal-explicit-resource-management
  // '%SuppressedErrorPrototype%': NativeErrorPrototype('SuppressedError'),
  // TODO SuppressedError .error
  // TODO SuppressedError .suppressed

  // *** Numbers and Dates

  Number: {
    // Properties of the Number Constructor
    '[[Proto]]': '%FunctionPrototype%',
    EPSILON: 'number',
    isFinite: fn,
    isInteger: fn,
    isNaN: fn,
    isSafeInteger: fn,
    MAX_SAFE_INTEGER: 'number',
    MAX_VALUE: 'number',
    MIN_SAFE_INTEGER: 'number',
    MIN_VALUE: 'number',
    NaN: 'number',
    NEGATIVE_INFINITY: 'number',
    parseFloat: fn,
    parseInt: fn,
    POSITIVE_INFINITY: 'number',
    prototype: '%NumberPrototype%',
  },

  '%NumberPrototype%': {
    // Properties of the Number Prototype Object
    constructor: 'Number',
    toExponential: fn,
    toFixed: fn,
    toLocaleString: fn,
    toPrecision: fn,
    toString: fn,
    valueOf: fn,
  },

  BigInt: {
    // Properties of the BigInt Constructor
    '[[Proto]]': '%FunctionPrototype%',
    asIntN: fn,
    asUintN: fn,
    prototype: '%BigIntPrototype%',
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    bitLength: false,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    fromArrayBuffer: false,
    // Seen on QuickJS
    tdiv: false,
    // Seen on QuickJS
    fdiv: false,
    // Seen on QuickJS
    cdiv: false,
    // Seen on QuickJS
    ediv: false,
    // Seen on QuickJS
    tdivrem: false,
    // Seen on QuickJS
    fdivrem: false,
    // Seen on QuickJS
    cdivrem: false,
    // Seen on QuickJS
    edivrem: false,
    // Seen on QuickJS
    sqrt: false,
    // Seen on QuickJS
    sqrtrem: false,
    // Seen on QuickJS
    floorLog2: false,
    // Seen on QuickJS
    ctz: false,
  },

  '%BigIntPrototype%': {
    constructor: 'BigInt',
    toLocaleString: fn,
    toString: fn,
    valueOf: fn,
    '@@toStringTag': 'string',
  },

  '%InitialMath%': {
    ...CommonMath,
    // `%InitialMath%.random()` has the standard unsafe behavior
    random: fn,
  },

  '%SharedMath%': {
    ...CommonMath,
    // `%SharedMath%.random()` is tamed to always throw
    random: fn,
  },

  '%InitialDate%': {
    // Properties of the Date Constructor
    '[[Proto]]': '%FunctionPrototype%',
    now: fn,
    parse: fn,
    prototype: '%DatePrototype%',
    UTC: fn,
  },

  '%SharedDate%': {
    // Properties of the Date Constructor
    '[[Proto]]': '%FunctionPrototype%',
    // `%SharedDate%.now()` is tamed to always throw
    now: fn,
    parse: fn,
    prototype: '%DatePrototype%',
    UTC: fn,
  },

  '%DatePrototype%': {
    constructor: '%SharedDate%',
    getDate: fn,
    getDay: fn,
    getFullYear: fn,
    getHours: fn,
    getMilliseconds: fn,
    getMinutes: fn,
    getMonth: fn,
    getSeconds: fn,
    getTime: fn,
    getTimezoneOffset: fn,
    getUTCDate: fn,
    getUTCDay: fn,
    getUTCFullYear: fn,
    getUTCHours: fn,
    getUTCMilliseconds: fn,
    getUTCMinutes: fn,
    getUTCMonth: fn,
    getUTCSeconds: fn,
    setDate: fn,
    setFullYear: fn,
    setHours: fn,
    setMilliseconds: fn,
    setMinutes: fn,
    setMonth: fn,
    setSeconds: fn,
    setTime: fn,
    setUTCDate: fn,
    setUTCFullYear: fn,
    setUTCHours: fn,
    setUTCMilliseconds: fn,
    setUTCMinutes: fn,
    setUTCMonth: fn,
    setUTCSeconds: fn,
    toDateString: fn,
    toISOString: fn,
    toJSON: fn,
    toLocaleDateString: fn,
    toLocaleString: fn,
    toLocaleTimeString: fn,
    toString: fn,
    toTimeString: fn,
    toUTCString: fn,
    valueOf: fn,
    '@@toPrimitive': fn,

    // Annex B: Additional Properties of the Date.prototype Object
    getYear: fn,
    setYear: fn,
    toGMTString: fn,
  },

  // Text Processing

  String: {
    // Properties of the String Constructor
    '[[Proto]]': '%FunctionPrototype%',
    fromCharCode: fn,
    fromCodePoint: fn,
    prototype: '%StringPrototype%',
    raw: fn,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    fromArrayBuffer: false,
  },

  '%StringPrototype%': {
    // Properties of the String Prototype Object
    length: 'number',
    charAt: fn,
    charCodeAt: fn,
    codePointAt: fn,
    concat: fn,
    constructor: 'String',
    endsWith: fn,
    includes: fn,
    indexOf: fn,
    lastIndexOf: fn,
    localeCompare: fn,
    match: fn,
    matchAll: fn,
    normalize: fn,
    padEnd: fn,
    padStart: fn,
    repeat: fn,
    replace: fn,
    replaceAll: fn, // ES2021
    search: fn,
    slice: fn,
    split: fn,
    startsWith: fn,
    substring: fn,
    toLocaleLowerCase: fn,
    toLocaleUpperCase: fn,
    toLowerCase: fn,
    toString: fn,
    toUpperCase: fn,
    trim: fn,
    trimEnd: fn,
    trimStart: fn,
    valueOf: fn,
    '@@iterator': fn,
    // Failed tc39 proposal
    // https://github.com/tc39/proposal-relative-indexing-method
    at: fn,
    // https://github.com/tc39/proposal-is-usv-string
    isWellFormed: fn,
    toWellFormed: fn,
    unicodeSets: fn,

    // Annex B: Additional Properties of the String.prototype Object
    substr: fn,
    anchor: fn,
    big: fn,
    blink: fn,
    bold: fn,
    fixed: fn,
    fontcolor: fn,
    fontsize: fn,
    italics: fn,
    link: fn,
    small: fn,
    strike: fn,
    sub: fn,
    sup: fn,
    trimLeft: fn,
    trimRight: fn,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    compare: false,
    // Seen on QuickJS
    __quote: false,
  },

  '%StringIteratorPrototype%': {
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  '%InitialRegExp%': {
    // Properties of the RegExp Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%RegExpPrototype%',
    '@@species': getter,
    // https://github.com/tc39/proposal-regex-escaping
    escape: fn,

    // The https://github.com/tc39/proposal-regexp-legacy-features
    // are all optional, unsafe, and omitted
    input: false,
    $_: false,
    lastMatch: false,
    '$&': false,
    lastParen: false,
    '$+': false,
    leftContext: false,
    '$`': false,
    rightContext: false,
    "$'": false,
    $1: false,
    $2: false,
    $3: false,
    $4: false,
    $5: false,
    $6: false,
    $7: false,
    $8: false,
    $9: false,
  },

  '%SharedRegExp%': {
    // Properties of the RegExp Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%RegExpPrototype%',
    '@@species': getter,
    // https://github.com/tc39/proposal-regex-escaping
    escape: fn,
  },

  '%RegExpPrototype%': {
    // Properties of the RegExp Prototype Object
    constructor: '%SharedRegExp%',
    exec: fn,
    dotAll: getter,
    flags: getter,
    global: getter,
    hasIndices: getter,
    ignoreCase: getter,
    '@@match': fn,
    '@@matchAll': fn,
    multiline: getter,
    '@@replace': fn,
    '@@search': fn,
    source: getter,
    '@@split': fn,
    sticky: getter,
    test: fn,
    toString: fn,
    unicode: getter,
    unicodeSets: getter,

    // Annex B: Additional Properties of the RegExp.prototype Object
    compile: false  // UNSAFE and suppressed.
  },

  '%RegExpStringIteratorPrototype%': {
    // The %RegExpStringIteratorPrototype% Object
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  // Indexed Collections

  Array: {
    // Properties of the Array Constructor
    '[[Proto]]': '%FunctionPrototype%',
    from: fn,
    isArray: fn,
    of: fn,
    prototype: '%ArrayPrototype%',
    '@@species': getter,

    // Failed tc39 proposal
    // https://tc39.es/proposal-relative-indexing-method/
    at: fn,
    // https://tc39.es/proposal-array-from-async/
    fromAsync: fn,
  },

  '%ArrayPrototype%': {
    // Properties of the Array Prototype Object
    length: 'number',
    concat: fn,
    constructor: 'Array',
    copyWithin: fn,
    entries: fn,
    every: fn,
    fill: fn,
    filter: fn,
    find: fn,
    findIndex: fn,
    flat: fn,
    flatMap: fn,
    forEach: fn,
    includes: fn,
    indexOf: fn,
    join: fn,
    keys: fn,
    lastIndexOf: fn,
    map: fn,
    pop: fn,
    push: fn,
    reduce: fn,
    reduceRight: fn,
    reverse: fn,
    shift: fn,
    slice: fn,
    some: fn,
    sort: fn,
    splice: fn,
    toLocaleString: fn,
    toString: fn,
    unshift: fn,
    values: fn,
    '@@iterator': fn,
    '@@unscopables': {
      '[[Proto]]': null,
      copyWithin: 'boolean',
      entries: 'boolean',
      fill: 'boolean',
      find: 'boolean',
      findIndex: 'boolean',
      flat: 'boolean',
      flatMap: 'boolean',
      includes: 'boolean',
      keys: 'boolean',
      values: 'boolean',
      // Failed tc39 proposal
      // https://tc39.es/proposal-relative-indexing-method/
      // Seen on FF Nightly 88.0a1
      at: 'boolean',
      // See https://github.com/tc39/proposal-array-find-from-last
      findLast: 'boolean',
      findLastIndex: 'boolean',
      // https://github.com/tc39/proposal-change-array-by-copy
      toReversed: 'boolean',
      toSorted: 'boolean',
      toSpliced: 'boolean',
      with: 'boolean',
      // https://github.com/tc39/proposal-array-grouping
      group: 'boolean',
      groupToMap: 'boolean',
      groupBy: 'boolean',
    },
    // See https://github.com/tc39/proposal-array-find-from-last
    findLast: fn,
    findLastIndex: fn,
    // https://github.com/tc39/proposal-change-array-by-copy
    toReversed: fn,
    toSorted: fn,
    toSpliced: fn,
    with: fn,
    // https://github.com/tc39/proposal-array-grouping
    group: fn, // Not in proposal? Where?
    groupToMap: fn, // Not in proposal? Where?
    groupBy: fn,
    // Failed tc39 proposal
    // https://tc39.es/proposal-relative-indexing-method/
    at: fn,
  },

  '%ArrayIteratorPrototype%': {
    // The %ArrayIteratorPrototype% Object
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  // *** TypedArray Objects

  '%TypedArray%': {
    // Properties of the %TypedArray% Intrinsic Object
    '[[Proto]]': '%FunctionPrototype%',
    from: fn,
    of: fn,
    prototype: '%TypedArrayPrototype%',
    '@@species': getter,
  },

  '%TypedArrayPrototype%': {
    buffer: getter,
    byteLength: getter,
    byteOffset: getter,
    constructor: '%TypedArray%',
    copyWithin: fn,
    entries: fn,
    every: fn,
    fill: fn,
    filter: fn,
    find: fn,
    findIndex: fn,
    forEach: fn,
    includes: fn,
    indexOf: fn,
    join: fn,
    keys: fn,
    lastIndexOf: fn,
    length: getter,
    map: fn,
    reduce: fn,
    reduceRight: fn,
    reverse: fn,
    set: fn,
    slice: fn,
    some: fn,
    sort: fn,
    subarray: fn,
    toLocaleString: fn,
    toString: fn,
    values: fn,
    '@@iterator': fn,
    '@@toStringTag': getter,
    // Failed tc39 proposal
    // https://tc39.es/proposal-relative-indexing-method/
    at: fn,
    // See https://github.com/tc39/proposal-array-find-from-last
    findLast: fn,
    findLastIndex: fn,
    // https://github.com/tc39/proposal-change-array-by-copy
    toReversed: fn,
    toSorted: fn,
    with: fn,
  },

  // The TypedArray Constructors

  BigInt64Array: TypedArray('%BigInt64ArrayPrototype%'),
  BigUint64Array: TypedArray('%BigUint64ArrayPrototype%'),
  // https://github.com/tc39/proposal-float16array
  Float16Array: TypedArray('%Float16ArrayPrototype%'),
  Float32Array: TypedArray('%Float32ArrayPrototype%'),
  Float64Array: TypedArray('%Float64ArrayPrototype%'),
  Int16Array: TypedArray('%Int16ArrayPrototype%'),
  Int32Array: TypedArray('%Int32ArrayPrototype%'),
  Int8Array: TypedArray('%Int8ArrayPrototype%'),
  Uint16Array: TypedArray('%Uint16ArrayPrototype%'),
  Uint32Array: TypedArray('%Uint32ArrayPrototype%'),
  Uint8ClampedArray: TypedArray('%Uint8ClampedArrayPrototype%'),
  Uint8Array: {
    ...TypedArray('%Uint8ArrayPrototype%'),
    // https://github.com/tc39/proposal-arraybuffer-base64
    fromBase64: fn,
    // https://github.com/tc39/proposal-arraybuffer-base64
    fromHex: fn,
  },

  '%BigInt64ArrayPrototype%': TypedArrayPrototype('BigInt64Array'),
  '%BigUint64ArrayPrototype%': TypedArrayPrototype('BigUint64Array'),
  // https://github.com/tc39/proposal-float16array
  '%Float16ArrayPrototype%': TypedArrayPrototype('Float16Array'),
  '%Float32ArrayPrototype%': TypedArrayPrototype('Float32Array'),
  '%Float64ArrayPrototype%': TypedArrayPrototype('Float64Array'),
  '%Int16ArrayPrototype%': TypedArrayPrototype('Int16Array'),
  '%Int32ArrayPrototype%': TypedArrayPrototype('Int32Array'),
  '%Int8ArrayPrototype%': TypedArrayPrototype('Int8Array'),
  '%Uint16ArrayPrototype%': TypedArrayPrototype('Uint16Array'),
  '%Uint32ArrayPrototype%': TypedArrayPrototype('Uint32Array'),
  '%Uint8ClampedArrayPrototype%': TypedArrayPrototype('Uint8ClampedArray'),
  '%Uint8ArrayPrototype%': {
    ...TypedArrayPrototype('Uint8Array'),
    // https://github.com/tc39/proposal-arraybuffer-base64
    setFromBase64: fn,
    // https://github.com/tc39/proposal-arraybuffer-base64
    setFromHex: fn,
    // https://github.com/tc39/proposal-arraybuffer-base64
    toBase64: fn,
    // https://github.com/tc39/proposal-arraybuffer-base64
    toHex: fn,
  },

  // *** Keyed Collections

  Map: {
    // Properties of the Map Constructor
    '[[Proto]]': '%FunctionPrototype%',
    '@@species': getter,
    prototype: '%MapPrototype%',
    // https://github.com/tc39/proposal-array-grouping
    groupBy: fn,
  },

  '%MapPrototype%': {
    clear: fn,
    constructor: 'Map',
    delete: fn,
    entries: fn,
    forEach: fn,
    get: fn,
    has: fn,
    keys: fn,
    set: fn,
    size: getter,
    values: fn,
    '@@iterator': fn,
    '@@toStringTag': 'string',
  },

  '%MapIteratorPrototype%': {
    // The %MapIteratorPrototype% Object
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  Set: {
    // Properties of the Set Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%SetPrototype%',
    '@@species': getter,
    // Seen on QuickJS
    groupBy: false,
  },

  '%SetPrototype%': {
    add: fn,
    clear: fn,
    constructor: 'Set',
    delete: fn,
    entries: fn,
    forEach: fn,
    has: fn,
    keys: fn,
    size: getter,
    values: fn,
    '@@iterator': fn,
    '@@toStringTag': 'string',
    // See https://github.com/tc39/proposal-set-methods
    intersection: fn,
    // See https://github.com/tc39/proposal-set-methods
    union: fn,
    // See https://github.com/tc39/proposal-set-methods
    difference: fn,
    // See https://github.com/tc39/proposal-set-methods
    symmetricDifference: fn,
    // See https://github.com/tc39/proposal-set-methods
    isSubsetOf: fn,
    // See https://github.com/tc39/proposal-set-methods
    isSupersetOf: fn,
    // See https://github.com/tc39/proposal-set-methods
    isDisjointFrom: fn,
  },

  '%SetIteratorPrototype%': {
    // The %SetIteratorPrototype% Object
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    '@@toStringTag': 'string',
  },

  WeakMap: {
    // Properties of the WeakMap Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%WeakMapPrototype%',
  },

  '%WeakMapPrototype%': {
    constructor: 'WeakMap',
    delete: fn,
    get: fn,
    has: fn,
    set: fn,
    '@@toStringTag': 'string',
  },

  WeakSet: {
    // Properties of the WeakSet Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%WeakSetPrototype%',
  },

  '%WeakSetPrototype%': {
    add: fn,
    constructor: 'WeakSet',
    delete: fn,
    has: fn,
    '@@toStringTag': 'string',
  },

  // *** Structured Data

  ArrayBuffer: {
    // Properties of the ArrayBuffer Constructor
    '[[Proto]]': '%FunctionPrototype%',
    isView: fn,
    prototype: '%ArrayBufferPrototype%',
    '@@species': getter,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    fromString: false,
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    fromBigInt: false,
  },

  '%ArrayBufferPrototype%': {
    byteLength: getter,
    constructor: 'ArrayBuffer',
    slice: fn,
    '@@toStringTag': 'string',
    // See https://github.com/Moddable-OpenSource/moddable/issues/523
    concat: false,
    // See https://github.com/tc39/proposal-resizablearraybuffer
    transfer: fn,
    resize: fn,
    resizable: getter,
    maxByteLength: getter,
    // https://github.com/tc39/proposal-arraybuffer-transfer
    transferToFixedLength: fn,
    detached: getter,
    // https://github.com/endojs/endo/pull/2309#issuecomment-2155513240
    // to be proposed
    transferToImmutable: fn,
    sliceToImmutable: fn,
    immutable: getter,
  },

  // If this exists, it is purely an artifact of how we currently shim
  // `transferToImmutable`. As natively implemented, there would be no
  // such extra prototype.
  '%ImmutableArrayBufferPrototype%': {
    '[[Proto]]': '%ArrayBufferPrototype%',
    byteLength: getter,
    slice: fn,
    // See https://github.com/endojs/endo/tree/master/packages/immutable-arraybuffer#purposeful-violation
    '@@toStringTag': 'string',
    // See https://github.com/tc39/proposal-resizablearraybuffer
    transfer: fn,
    resize: fn,
    resizable: getter,
    maxByteLength: getter,
    // https://github.com/tc39/proposal-arraybuffer-transfer
    transferToFixedLength: fn,
    detached: getter,
    // https://github.com/endojs/endo/pull/2309#issuecomment-2155513240
    // to be proposed
    transferToImmutable: fn,
    sliceToImmutable: fn,
    immutable: getter,
  },

  // SharedArrayBuffer Objects
  SharedArrayBuffer: false, // UNSAFE and purposely suppressed.
  '%SharedArrayBufferPrototype%': false, // UNSAFE and purposely suppressed.

  DataView: {
    // Properties of the DataView Constructor
    '[[Proto]]': '%FunctionPrototype%',
    BYTES_PER_ELEMENT: 'number', // Non std but undeletable on Safari.
    prototype: '%DataViewPrototype%',
  },

  '%DataViewPrototype%': {
    buffer: getter,
    byteLength: getter,
    byteOffset: getter,
    constructor: 'DataView',
    getBigInt64: fn,
    getBigUint64: fn,
    // https://github.com/tc39/proposal-float16array
    getFloat16: fn,
    getFloat32: fn,
    getFloat64: fn,
    getInt8: fn,
    getInt16: fn,
    getInt32: fn,
    getUint8: fn,
    getUint16: fn,
    getUint32: fn,
    setBigInt64: fn,
    setBigUint64: fn,
    // https://github.com/tc39/proposal-float16array
    setFloat16: fn,
    setFloat32: fn,
    setFloat64: fn,
    setInt8: fn,
    setInt16: fn,
    setInt32: fn,
    setUint8: fn,
    setUint16: fn,
    setUint32: fn,
    '@@toStringTag': 'string',
  },

  // Atomics
  Atomics: false, // UNSAFE and suppressed.

  JSON: {
    parse: fn,
    stringify: fn,
    '@@toStringTag': 'string',
    // https://github.com/tc39/proposal-json-parse-with-source/
    rawJSON: fn,
    isRawJSON: fn,
  },

  // *** Control Abstraction Objects

  // https://github.com/tc39/proposal-iterator-helpers
  Iterator: {
    // Properties of the Iterator Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%IteratorPrototype%',
    from: fn,
    // https://github.com/tc39/proposal-joint-iteration
    zip: fn,
    zipKeyed: fn,
    // https://github.com/tc39/proposal-iterator-sequencing
    concat: fn,
  },

  '%IteratorPrototype%': {
    // The %IteratorPrototype% Object
    '@@iterator': fn,
    // https://github.com/tc39/proposal-iterator-helpers
    constructor: 'Iterator',
    map: fn,
    filter: fn,
    take: fn,
    drop: fn,
    flatMap: fn,
    reduce: fn,
    toArray: fn,
    forEach: fn,
    some: fn,
    every: fn,
    find: fn,
    '@@toStringTag': 'string',
    // https://github.com/tc39/proposal-async-iterator-helpers
    toAsync: fn,
    // https://github.com/tc39/proposal-explicit-resource-management
    // See https://github.com/Moddable-OpenSource/moddable/issues/523#issuecomment-1942904505
    '@@dispose': false,
  },

  // https://github.com/tc39/proposal-iterator-helpers
  '%WrapForValidIteratorPrototype%': {
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    return: fn,
  },

  // https://github.com/tc39/proposal-iterator-helpers
  '%IteratorHelperPrototype%': {
    '[[Proto]]': '%IteratorPrototype%',
    next: fn,
    return: fn,
    '@@toStringTag': 'string',
  },

  // https://github.com/tc39/proposal-async-iterator-helpers
  AsyncIterator: {
    // Properties of the Iterator Constructor
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%AsyncIteratorPrototype%',
    from: fn,
  },

  '%AsyncIteratorPrototype%': {
    // The %AsyncIteratorPrototype% Object
    '@@asyncIterator': fn,
    // https://github.com/tc39/proposal-async-iterator-helpers
    constructor: 'AsyncIterator',
    map: fn,
    filter: fn,
    take: fn,
    drop: fn,
    flatMap: fn,
    reduce: fn,
    toArray: fn,
    forEach: fn,
    some: fn,
    every: fn,
    find: fn,
    '@@toStringTag': 'string',
    // https://github.com/tc39/proposal-explicit-resource-management
    // See https://github.com/Moddable-OpenSource/moddable/issues/523#issuecomment-1942904505
    '@@asyncDispose': false,
  },

  // https://github.com/tc39/proposal-async-iterator-helpers
  '%WrapForValidAsyncIteratorPrototype%': {
    '[[Proto]]': '%AsyncIteratorPrototype%',
    next: fn,
    return: fn,
  },

  // https://github.com/tc39/proposal-async-iterator-helpers
  '%AsyncIteratorHelperPrototype%': {
    '[[Proto]]': '%AsyncIteratorPrototype%',
    next: fn,
    return: fn,
    '@@toStringTag': 'string',
  },

  '%InertGeneratorFunction%': {
    // Properties of the GeneratorFunction Constructor
    '[[Proto]]': '%InertFunction%',
    prototype: '%Generator%',
  },

  '%Generator%': {
    // Properties of the GeneratorFunction Prototype Object
    '[[Proto]]': '%FunctionPrototype%',
    constructor: '%InertGeneratorFunction%',
    prototype: '%GeneratorPrototype%',
    '@@toStringTag': 'string',
  },

  '%InertAsyncGeneratorFunction%': {
    // Properties of the AsyncGeneratorFunction Constructor
    '[[Proto]]': '%InertFunction%',
    prototype: '%AsyncGenerator%',
  },

  '%AsyncGenerator%': {
    // Properties of the AsyncGeneratorFunction Prototype Object
    '[[Proto]]': '%FunctionPrototype%',
    constructor: '%InertAsyncGeneratorFunction%',
    prototype: '%AsyncGeneratorPrototype%',
    // length prop added here for React Native jsc-android
    // https://github.com/endojs/endo/issues/660
    // https://github.com/react-native-community/jsc-android-buildscripts/issues/181
    length: 'number',
    '@@toStringTag': 'string',
  },

  '%GeneratorPrototype%': {
    // Properties of the Generator Prototype Object
    '[[Proto]]': '%IteratorPrototype%',
    constructor: '%Generator%',
    next: fn,
    return: fn,
    throw: fn,
    '@@toStringTag': 'string',
  },

  '%AsyncGeneratorPrototype%': {
    // Properties of the AsyncGenerator Prototype Object
    '[[Proto]]': '%AsyncIteratorPrototype%',
    constructor: '%AsyncGenerator%',
    next: fn,
    return: fn,
    throw: fn,
    '@@toStringTag': 'string',
  },

  // TODO: To be replaced with Promise.delegate
  //
  // The HandledPromise global variable shimmed by `@agoric/eventual-send/shim`
  // implements an initial version of the eventual send specification at:
  // https://github.com/tc39/proposal-eventual-send
  //
  // We will likely change this to add a property to Promise called
  // Promise.delegate and put static methods on it, which will necessitate
  // another permits change to update to the current proposed standard.
  HandledPromise: {
    '[[Proto]]': 'Promise',
    applyFunction: fn,
    applyFunctionSendOnly: fn,
    applyMethod: fn,
    applyMethodSendOnly: fn,
    get: fn,
    getSendOnly: fn,
    prototype: '%PromisePrototype%',
    resolve: fn,
  },

  // https://github.com/tc39/proposal-source-phase-imports?tab=readme-ov-file#js-module-source

  ModuleSource: {
    '[[Proto]]': '%AbstractModuleSource%',
    prototype: '%ModuleSourcePrototype%',
  },

  '%ModuleSourcePrototype%': {
    '[[Proto]]': '%AbstractModuleSourcePrototype%',
    constructor: 'ModuleSource',
    '@@toStringTag': 'string',
    // https://github.com/tc39/proposal-compartments
    bindings: getter,
    needsImport: getter,
    needsImportMeta: getter,
    // @endo/module-source provides a legacy interface
    imports: getter,
    exports: getter,
    reexports: getter,
  },

  '%AbstractModuleSource%': {
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%AbstractModuleSourcePrototype%',
  },

  '%AbstractModuleSourcePrototype%': {
    constructor: '%AbstractModuleSource%',
  },

  Promise: {
    // Properties of the Promise Constructor
    '[[Proto]]': '%FunctionPrototype%',
    all: fn,
    allSettled: fn,
    // https://github.com/Agoric/SES-shim/issues/550
    any: fn,
    prototype: '%PromisePrototype%',
    race: fn,
    reject: fn,
    resolve: fn,
    // https://github.com/tc39/proposal-promise-with-resolvers
    withResolvers: fn,
    '@@species': getter,
    // https://github.com/tc39/proposal-promise-try
    try: fn,
  },

  '%PromisePrototype%': {
    // Properties of the Promise Prototype Object
    catch: fn,
    constructor: 'Promise',
    finally: fn,
    then: fn,
    '@@toStringTag': 'string',
    // Non-standard, used in node to prevent async_hooks from breaking
    'UniqueSymbol(async_id_symbol)': accessor,
    'UniqueSymbol(trigger_async_id_symbol)': accessor,
    'UniqueSymbol(destroyed)': accessor,
  },

  '%InertAsyncFunction%': {
    // Properties of the AsyncFunction Constructor
    '[[Proto]]': '%InertFunction%',
    prototype: '%AsyncFunctionPrototype%',
  },

  '%AsyncFunctionPrototype%': {
    // Properties of the AsyncFunction Prototype Object
    '[[Proto]]': '%FunctionPrototype%',
    constructor: '%InertAsyncFunction%',
    // length prop added here for React Native jsc-android
    // https://github.com/endojs/endo/issues/660
    // https://github.com/react-native-community/jsc-android-buildscripts/issues/181
    length: 'number',
    '@@toStringTag': 'string',
  },

  // Reflection

  Reflect: {
    // The Reflect Object
    // Not a function object.
    apply: fn,
    construct: fn,
    defineProperty: fn,
    deleteProperty: fn,
    get: fn,
    getOwnPropertyDescriptor: fn,
    getPrototypeOf: fn,
    has: fn,
    isExtensible: fn,
    ownKeys: fn,
    preventExtensions: fn,
    set: fn,
    setPrototypeOf: fn,
    '@@toStringTag': 'string',
  },

  Proxy: {
    // Properties of the Proxy Constructor
    '[[Proto]]': '%FunctionPrototype%',
    revocable: fn,
  },

  // Appendix B

  // Annex B: Additional Properties of the Global Object

  escape: fn,
  unescape: fn,

  // Proposed

  '%UniqueCompartment%': {
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%CompartmentPrototype%',
    toString: fn,
  },

  '%InertCompartment%': {
    '[[Proto]]': '%FunctionPrototype%',
    prototype: '%CompartmentPrototype%',
    toString: fn,
  },

  '%CompartmentPrototype%': {
    constructor: '%InertCompartment%',
    evaluate: fn,
    globalThis: getter,
    name: getter,
    import: asyncFn,
    load: asyncFn,
    importNow: fn,
    module: fn,
    '@@toStringTag': 'string',
  },

  lockdown: fn,
  harden: { ...fn, isFake: 'boolean' },

  '%InitialGetStackString%': fn,
};$h͏_once.permitted(permitted);
})()
,
// === 17. ses ./src/intrinsics.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let cauterizeProperty,TypeError,WeakSet,arrayFilter,create,defineProperty,entries,freeze,getOwnPropertyDescriptor,getOwnPropertyDescriptors,globalThis,is,isPrimitive,hasOwn,values,weaksetHas,constantProperties,sharedGlobalPropertyNames,universalPropertyNames,permitted;$h͏_imports([["./cauterize-property.js", [["cauterizeProperty",[$h͏_a => (cauterizeProperty = $h͏_a)]]]],["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["values",[$h͏_a => (values = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]]]],["./permits.js", [["constantProperties",[$h͏_a => (constantProperties = $h͏_a)]],["sharedGlobalPropertyNames",[$h͏_a => (sharedGlobalPropertyNames = $h͏_a)]],["universalPropertyNames",[$h͏_a => (universalPropertyNames = $h͏_a)]],["permitted",[$h͏_a => (permitted = $h͏_a)]]]]]);

























/**
 * @import {Reporter} from './reporting-types.js'
 */

const isFunction = obj => typeof obj === 'function';

// Like defineProperty, but throws if it would modify an existing property.
// We use this to ensure that two conflicting attempts to define the same
// property throws, causing SES initialization to fail. Otherwise, a
// conflict between, for example, two of SES's internal permits might
// get masked as one overwrites the other. Accordingly, the thrown error
// complains of a "Conflicting definition".
function initProperty(obj, name, desc) {
  if (hasOwn(obj, name)) {
    const preDesc = getOwnPropertyDescriptor(obj, name);
    if (
      !preDesc ||
      !is(preDesc.value, desc.value) ||
      preDesc.get !== desc.get ||
      preDesc.set !== desc.set ||
      preDesc.writable !== desc.writable ||
      preDesc.enumerable !== desc.enumerable ||
      preDesc.configurable !== desc.configurable
    ) {
      throw TypeError(`Conflicting definitions of ${name}`);
    }
  }
  defineProperty(obj, name, desc);
}

// Like defineProperties, but throws if it would modify an existing property.
// This ensures that the intrinsics added to the intrinsics collector object
// graph do not overlap.
function initProperties(obj, descs) {
  for (const [name, desc] of entries(descs)) {
    initProperty(obj, name, desc);
  }
}

// sampleGlobals creates an intrinsics object, suitable for
// interinsicsCollector.addIntrinsics, from the named properties of a global
// object.
function sampleGlobals(globalObject, newPropertyNames) {
  const newIntrinsics = { __proto__: null };
  for (const [globalName, intrinsicName] of entries(newPropertyNames)) {
    if (hasOwn(globalObject, globalName)) {
      newIntrinsics[intrinsicName] = globalObject[globalName];
    }
  }
  return newIntrinsics;
}

/**
 * @param {Reporter} reporter
 */
       const makeIntrinsicsCollector = reporter => {
  /** @type {Record<any, any>} */
  const intrinsics = create(null);
  let pseudoNatives;

  const addIntrinsics = newIntrinsics => {
    initProperties(intrinsics, getOwnPropertyDescriptors(newIntrinsics));
  };
  freeze(addIntrinsics);

  // For each intrinsic, if it has a `.prototype` property, use the
  // permits to find out the intrinsic name for that prototype and add it
  // to the intrinsics.
  const completePrototypes = () => {
    for (const [name, intrinsic] of entries(intrinsics)) {
      if (isPrimitive(intrinsic)) {
        // eslint-disable-next-line no-continue
        continue;
      }
      if (!hasOwn(intrinsic, 'prototype')) {
        // eslint-disable-next-line no-continue
        continue;
      }
      const permit = permitted[name];
      if (typeof permit !== 'object') {
        throw TypeError(`Expected permit object at permits.${name}`);
      }
      const namePrototype = permit.prototype;
      if (!namePrototype) {
        cauterizeProperty(
          intrinsic,
          'prototype',
          false,
          `${name}.prototype`,
          reporter,
        );
        // eslint-disable-next-line no-continue
        continue;
      }
      if (
        typeof namePrototype !== 'string' ||
        !hasOwn(permitted, namePrototype)
      ) {
        throw TypeError(`Unrecognized ${name}.prototype permits entry`);
      }
      const intrinsicPrototype = intrinsic.prototype;
      if (hasOwn(intrinsics, namePrototype)) {
        if (intrinsics[namePrototype] !== intrinsicPrototype) {
          throw TypeError(`Conflicting bindings of ${namePrototype}`);
        }
        // eslint-disable-next-line no-continue
        continue;
      }
      intrinsics[namePrototype] = intrinsicPrototype;
    }
  };
  freeze(completePrototypes);

  const finalIntrinsics = () => {
    freeze(intrinsics);
    pseudoNatives = new WeakSet(arrayFilter(values(intrinsics), isFunction));
    return intrinsics;
  };
  freeze(finalIntrinsics);

  const isPseudoNative = obj => {
    if (!pseudoNatives) {
      throw TypeError(
        'isPseudoNative can only be called after finalIntrinsics',
      );
    }
    return weaksetHas(pseudoNatives, obj);
  };
  freeze(isPseudoNative);

  const intrinsicsCollector = {
    addIntrinsics,
    completePrototypes,
    finalIntrinsics,
    isPseudoNative,
  };
  freeze(intrinsicsCollector);

  addIntrinsics(constantProperties);
  addIntrinsics(sampleGlobals(globalThis, universalPropertyNames));

  return intrinsicsCollector;
};

/**
 * getGlobalIntrinsics()
 * Doesn't tame, delete, or modify anything. Samples globalObject to create an
 * intrinsics record containing only the permitted global variables, listed
 * by the intrinsic names appropriate for new globals, i.e., the globals of
 * newly constructed compartments.
 *
 * WARNING:
 * If run before lockdown, the returned intrinsics record will carry the
 * *original* unsafe (feral, untamed) bindings of these global variables.
 *
 * @param {object} globalObject
 * @param {Reporter} reporter
 */$h͏_once.makeIntrinsicsCollector(makeIntrinsicsCollector);
       const getGlobalIntrinsics = (globalObject, reporter) => {
  // TODO pass a proper reporter to `makeIntrinsicsCollector`
  const { addIntrinsics, finalIntrinsics } = makeIntrinsicsCollector(reporter);

  addIntrinsics(sampleGlobals(globalObject, sharedGlobalPropertyNames));

  return finalIntrinsics();
};$h͏_once.getGlobalIntrinsics(getGlobalIntrinsics);
})()
,
// === 18. ses ./src/permits-intrinsics.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let permitted,FunctionInstance,isAccessorPermit,Map,String,Symbol,TypeError,arrayFilter,arrayIncludes,arrayMap,entries,getOwnPropertyDescriptor,getPrototypeOf,isPrimitive,mapGet,hasOwn,ownKeys,symbolKeyFor,cauterizeProperty;$h͏_imports([["./permits.js", [["permitted",[$h͏_a => (permitted = $h͏_a)]],["FunctionInstance",[$h͏_a => (FunctionInstance = $h͏_a)]],["isAccessorPermit",[$h͏_a => (isAccessorPermit = $h͏_a)]]]],["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["Symbol",[$h͏_a => (Symbol = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["arrayIncludes",[$h͏_a => (arrayIncludes = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["symbolKeyFor",[$h͏_a => (symbolKeyFor = $h͏_a)]]]],["./cauterize-property.js", [["cauterizeProperty",[$h͏_a => (cauterizeProperty = $h͏_a)]]]]]);
































































/**
 * @import {Reporter} from './reporting-types.js'
 */

/**
 * Removes all non-allowed properties found by recursively and
 * reflectively walking own property chains.
 *
 * @param {object} intrinsics
 * @param {(virtualizedNativeFunction: object) => void} markVirtualizedNativeFunction
 * @param {Reporter} reporter
 */
               function removeUnpermittedIntrinsics(
  intrinsics,
  markVirtualizedNativeFunction,
  reporter,
) {
  // These primitives are allowed for permits.
  const primitives = ['undefined', 'boolean', 'number', 'string', 'symbol'];

  // These symbols are allowed as well-known symbols
  const wellKnownSymbolNames = new Map(
    Symbol
      ? arrayMap(
          arrayFilter(
            entries(permitted['%SharedSymbol%']),
            ([name, permit]) =>
              permit === 'symbol' && typeof Symbol[name] === 'symbol',
          ),
          ([name]) => [Symbol[name], `@@${name}`],
        )
      : [],
  );

  /**
   * asStringPropertyName()
   *
   * @param {string} path
   * @param {string | symbol} prop
   */
  function asStringPropertyName(path, prop) {
    if (typeof prop === 'string') {
      return prop;
    }

    const wellKnownSymbol = mapGet(wellKnownSymbolNames, prop);

    if (typeof prop === 'symbol') {
      if (wellKnownSymbol) {
        return wellKnownSymbol;
      } else {
        const registeredKey = symbolKeyFor(prop);
        if (registeredKey !== undefined) {
          return `RegisteredSymbol(${registeredKey})`;
        } else {
          return `Unique${String(prop)}`;
        }
      }
    }

    throw TypeError(`Unexpected property name type ${path} ${prop}`);
  }

  /*
   * visitPrototype()
   * Validate the object's [[prototype]] against a permit.
   */
  function visitPrototype(path, obj, protoName) {
    if (isPrimitive(obj)) {
      throw TypeError(`Object expected: ${path}, ${String(obj)}, ${protoName}`);
    }
    const proto = getPrototypeOf(obj);

    // Null prototype.
    if (proto === null && protoName === null) {
      return;
    }

    // Assert: protoName, if provided, is a string.
    if (protoName !== undefined && typeof protoName !== 'string') {
      throw TypeError(`Malformed permit ${path}.__proto__`);
    }

    // If permit not specified, default to Object.prototype.
    if (proto === intrinsics[protoName || '%ObjectPrototype%']) {
      return;
    }

    // We can't clean [[Prototype]], therefore abort.
    throw TypeError(
      `Unexpected [[Prototype]] at ${path}.__proto__ (expected ${protoName || '%ObjectPrototype%'})`,
    );
  }

  /*
   * isAllowedPropertyValue()
   * enforce permit for a single property value.
   */
  function isAllowedPropertyValue(path, value, prop, permit) {
    if (typeof permit === 'object') {
      // eslint-disable-next-line no-use-before-define
      visitProperties(path, value, permit);
      // The property is allowed.
      return true;
    }

    if (permit === false) {
      // A boolan 'false' permit specifies the removal of a property.
      // We require a more specific permit instead of allowing 'true'.
      return false;
    }

    if (typeof permit === 'string') {
      // A string permit can have one of two meanings:

      if (prop === 'prototype' || prop === 'constructor') {
        // For prototype and constructor value properties, the permit
        // is the name of an intrinsic.
        // Assumption: prototype and constructor cannot be primitives.
        // Assert: the permit is the name of an intrinsic.
        // Assert: the property value is equal to that intrinsic.

        if (hasOwn(intrinsics, permit)) {
          if (value !== intrinsics[permit]) {
            throw TypeError(`Does not match permit for ${path}`);
          }
          return true;
        }
      } else {
        // For all other properties, the permit is the name of a primitive.
        // Assert: the permit is the name of a primitive.
        // Assert: the property value type is equal to that primitive.

        // eslint-disable-next-line no-lonely-if
        if (arrayIncludes(primitives, permit)) {
          // eslint-disable-next-line valid-typeof
          if (typeof value !== permit) {
            throw TypeError(
              `At ${path} expected ${permit} not ${typeof value}`,
            );
          }
          return true;
        }
      }
    }

    throw TypeError(
      `Unexpected property ${prop} with permit ${permit} at ${path}`,
    );
  }

  /*
   * isAllowedProperty()
   * Check whether a single property is allowed.
   */
  function isAllowedProperty(path, obj, prop, permit) {
    const desc = getOwnPropertyDescriptor(obj, prop);
    if (!desc) {
      throw TypeError(`Property ${prop} not found at ${path}`);
    }

    // Is this a value property?
    if (hasOwn(desc, 'value')) {
      if (isAccessorPermit(permit)) {
        throw TypeError(`Accessor expected at ${path}`);
      }
      return isAllowedPropertyValue(path, desc.value, prop, permit);
    }
    if (!isAccessorPermit(permit)) {
      throw TypeError(`Accessor not expected at ${path}`);
    }
    return (
      isAllowedPropertyValue(`${path}<get>`, desc.get, prop, permit.get) &&
      isAllowedPropertyValue(`${path}<set>`, desc.set, prop, permit.set)
    );
  }

  /*
   * getSubPermit()
   */
  function getSubPermit(obj, permit, prop) {
    const permitProp = prop === '__proto__' ? '--proto--' : prop;
    if (hasOwn(permit, permitProp)) {
      return permit[permitProp];
    }

    if (typeof obj === 'function') {
      if (hasOwn(FunctionInstance, permitProp)) {
        return FunctionInstance[permitProp];
      }
    }

    return undefined;
  }

  /*
   * visitProperties()
   * Visit all properties for a permit.
   */
  function visitProperties(path, obj, permit) {
    if (obj === undefined || obj === null) {
      return;
    }

    const protoName = permit['[[Proto]]'];
    visitPrototype(path, obj, protoName);

    if (typeof obj === 'function') {
      markVirtualizedNativeFunction(obj);
    }

    for (const prop of ownKeys(obj)) {
      const propString = asStringPropertyName(path, prop);
      const subPath = `${path}.${propString}`;
      const subPermit = getSubPermit(obj, permit, propString);

      if (!subPermit || !isAllowedProperty(subPath, obj, prop, subPermit)) {
        cauterizeProperty(obj, prop, subPermit === false, subPath, reporter);
      }
    }
  }

  // Start path with 'intrinsics' to clarify that properties are not
  // removed from the global object by the permitting operation.
  visitProperties('intrinsics', intrinsics, permitted);
}$h͏_once.default(      removeUnpermittedIntrinsics);
})()
,
// === 19. ses ./src/tame-function-constructors.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,SyntaxError,TypeError,defineProperties,getPrototypeOf,setPrototypeOf,freeze,AsyncGeneratorFunctionInstance;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["SyntaxError",[$h͏_a => (SyntaxError = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["setPrototypeOf",[$h͏_a => (setPrototypeOf = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["AsyncGeneratorFunctionInstance",[$h͏_a => (AsyncGeneratorFunctionInstance = $h͏_a)]]]]]);










// This module replaces the original `Function` constructor, and the original
// `%GeneratorFunction%`, `%AsyncFunction%` and `%AsyncGeneratorFunction%`,
// with safe replacements that throw if invoked.
//
// These are all reachable via syntax, so it isn't sufficient to just
// replace global properties with safe versions. Our main goal is to prevent
// access to the `Function` constructor through these starting points.
//
// After modules block is done, the originals must no longer be reachable,
// unless a copy has been made, and functions can only be created by syntax
// (using eval) or by invoking a previously saved reference to the originals.
//
// Typically, this module will not be used directly, but via the
// [lockdown - shim] which handles all necessary repairs and taming in SES.
//
// Relation to ECMA specifications
//
// The taming of constructors really wants to be part of the standard, because
// new constructors may be added in the future, reachable from syntax, and this
// list must be updated to match.
//
// In addition, the standard needs to define four new intrinsics for the safe
// replacement functions. See [./permits-intrinsics.js].
//
// Adapted from SES/Caja
// Copyright (C) 2011 Google Inc.
// https://github.com/google/caja/blob/master/src/com/google/caja/ses/startSES.js
// https://github.com/google/caja/blob/master/src/com/google/caja/ses/repairES5.js

/**
 * tameFunctionConstructors()
 * This block replaces the original Function constructor, and the original
 * %GeneratorFunction% %AsyncFunction% and %AsyncGeneratorFunction%, with
 * safe replacements that throw if invoked.
 */
               function tameFunctionConstructors() {
  try {
    // Verify that the method is not callable.
    // eslint-disable-next-line @endo/no-polymorphic-call
    FERAL_FUNCTION.prototype.constructor('return 1');
  } catch (ignore) {
    // Throws, no need to patch.
    return freeze({});
  }

  const newIntrinsics = {};

  /*
   * The process to repair constructors:
   * 1. Create an instance of the function by evaluating syntax
   * 2. Obtain the prototype from the instance
   * 3. Create a substitute tamed constructor
   * 4. Replace the original constructor with the tamed constructor
   * 5. Replace tamed constructor prototype property with the original one
   * 6. Replace its [[Prototype]] slot with the tamed constructor of Function
   */
  function repairFunction(name, intrinsicName, declaration) {
    let FunctionInstance;
    try {
      // eslint-disable-next-line no-eval, no-restricted-globals
      FunctionInstance = (0, eval)(declaration);
    } catch (e) {
      if (e instanceof SyntaxError) {
        // Prevent failure on platforms where async and/or generators
        // are not supported.
        return;
      }
      // Re-throw
      throw e;
    }
    const FunctionPrototype = getPrototypeOf(FunctionInstance);

    // Prevents the evaluation of source when calling constructor on the
    // prototype of functions.
    // eslint-disable-next-line func-names
    const InertConstructor = function () {
      throw TypeError(
        'Function.prototype.constructor is not a valid constructor.',
      );
    };
    defineProperties(InertConstructor, {
      prototype: { value: FunctionPrototype },
      name: {
        value: name,
        writable: false,
        enumerable: false,
        configurable: true,
      },
    });

    defineProperties(FunctionPrototype, {
      constructor: { value: InertConstructor },
    });

    // Reconstructs the inheritance among the new tamed constructors
    // to mirror the original specified in normal JS.
    if (InertConstructor !== FERAL_FUNCTION.prototype.constructor) {
      setPrototypeOf(InertConstructor, FERAL_FUNCTION.prototype.constructor);
    }

    newIntrinsics[intrinsicName] = InertConstructor;
  }

  // Here, the order of operation is important: Function needs to be repaired
  // first since the other repaired constructors need to inherit from the
  // tamed Function function constructor.

  repairFunction('Function', '%InertFunction%', '(function(){})');
  repairFunction(
    'GeneratorFunction',
    '%InertGeneratorFunction%',
    '(function*(){})',
  );
  repairFunction(
    'AsyncFunction',
    '%InertAsyncFunction%',
    '(async function(){})',
  );

  if (AsyncGeneratorFunctionInstance !== undefined) {
    repairFunction(
      'AsyncGeneratorFunction',
      '%InertAsyncGeneratorFunction%',
      '(async function*(){})',
    );
  }

  return newIntrinsics;
}$h͏_once.default(      tameFunctionConstructors);
})()
,
// === 20. ses ./src/tame-date-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Date,TypeError,apply,construct,defineProperties;$h͏_imports([["./commons.js", [["Date",[$h͏_a => (Date = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["construct",[$h͏_a => (construct = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]]]]]);









               function tameDateConstructor() {
  const OriginalDate = Date;
  const DatePrototype = OriginalDate.prototype;

  // Use concise methods to obtain named functions without constructors.
  const tamedMethods = {
    /**
     * `%SharedDate%.now()` throw a `TypeError` starting with "secure mode".
     * See https://github.com/endojs/endo/issues/910#issuecomment-1581855420
     */
    now() {
      throw TypeError('secure mode Calling %SharedDate%.now() throws');
    },
  };

  /**
   * Tame the Date constructor.
   * See https://github.com/endojs/endo/issues/910#issuecomment-1581855420
   *
   * Common behavior
   *   * `new Date(x)` coerces x into a number and then returns a Date
   *     for that number of millis since the epoch
   *   * `new Date(NaN)` returns a Date object which stringifies to
   *     'Invalid Date'
   *   * `new Date(undefined)` returns a Date object which stringifies to
   *     'Invalid Date'
   *
   * OriginalDate (normal standard) behavior preserved by
   * `%InitialDate%`.
   *   * `Date(anything)` gives a string with the current time
   *   * `new Date()` returns the current time, as a Date object
   *
   * `%SharedDate%` behavior
   *   * `Date(anything)` throws a TypeError starting with "secure mode"
   *   * `new Date()` throws a TypeError starting with "secure mode"
   *
   * @param {{powers?: string}} [opts]
   */
  const makeDateConstructor = ({ powers = 'none' } = {}) => {
    let ResultDate;
    if (powers === 'original') {
      // eslint-disable-next-line no-shadow
      ResultDate = function Date(...rest) {
        if (new.target === undefined) {
          return apply(OriginalDate, undefined, rest);
        }
        return construct(OriginalDate, rest, new.target);
      };
    } else {
      // eslint-disable-next-line no-shadow
      ResultDate = function Date(...rest) {
        if (new.target === undefined) {
          throw TypeError(
            'secure mode Calling %SharedDate% constructor as a function throws',
          );
        }
        if (rest.length === 0) {
          throw TypeError(
            'secure mode Calling new %SharedDate%() with no arguments throws',
          );
        }
        return construct(OriginalDate, rest, new.target);
      };
    }

    defineProperties(ResultDate, {
      length: { value: 7 },
      prototype: {
        value: DatePrototype,
        writable: false,
        enumerable: false,
        configurable: false,
      },
      parse: {
        value: OriginalDate.parse,
        writable: true,
        enumerable: false,
        configurable: true,
      },
      UTC: {
        value: OriginalDate.UTC,
        writable: true,
        enumerable: false,
        configurable: true,
      },
    });
    return ResultDate;
  };
  const InitialDate = makeDateConstructor({ powers: 'original' });
  const SharedDate = makeDateConstructor({ powers: 'none' });

  defineProperties(InitialDate, {
    now: {
      value: OriginalDate.now,
      writable: true,
      enumerable: false,
      configurable: true,
    },
  });
  defineProperties(SharedDate, {
    now: {
      value: tamedMethods.now,
      writable: true,
      enumerable: false,
      configurable: true,
    },
  });

  defineProperties(DatePrototype, {
    constructor: { value: SharedDate },
  });

  return {
    '%InitialDate%': InitialDate,
    '%SharedDate%': SharedDate,
  };
}$h͏_once.default(      tameDateConstructor);
})()
,
// === 21. ses ./src/tame-math-object.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Math,TypeError,create,getOwnPropertyDescriptors,objectPrototype;$h͏_imports([["./commons.js", [["Math",[$h͏_a => (Math = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["objectPrototype",[$h͏_a => (objectPrototype = $h͏_a)]]]]]);







               function tameMathObject() {
  const originalMath = Math;
  const initialMath = originalMath; // to follow the naming pattern

  const { random: _, ...otherDescriptors } =
    getOwnPropertyDescriptors(originalMath);

  // Use concise methods to obtain named functions without constructors.
  const tamedMethods = {
    /**
     * `%SharedMath%.random()` throws a TypeError starting with "secure mode".
     * See https://github.com/endojs/endo/issues/910#issuecomment-1581855420
     */
    random() {
      throw TypeError('secure mode %SharedMath%.random() throws');
    },
  };

  const sharedMath = create(objectPrototype, {
    ...otherDescriptors,
    random: {
      value: tamedMethods.random,
      writable: true,
      enumerable: false,
      configurable: true,
    },
  });

  return {
    '%InitialMath%': initialMath,
    '%SharedMath%': sharedMath,
  };
}$h͏_once.default(      tameMathObject);
})()
,
// === 22. ses ./src/tame-regexp-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_REG_EXP,TypeError,construct,defineProperties,getOwnPropertyDescriptor,speciesSymbol;$h͏_imports([["./commons.js", [["FERAL_REG_EXP",[$h͏_a => (FERAL_REG_EXP = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["construct",[$h͏_a => (construct = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["speciesSymbol",[$h͏_a => (speciesSymbol = $h͏_a)]]]]]);








               function tameRegExpConstructor(regExpTaming = 'safe') {
  const RegExpPrototype = FERAL_REG_EXP.prototype;

  const makeRegExpConstructor = (_ = {}) => {
    // RegExp has non-writable static properties we need to omit.
    /**
     * @param  {Parameters<typeof FERAL_REG_EXP>} rest
     */
    const ResultRegExp = function RegExp(...rest) {
      if (new.target === undefined) {
        return FERAL_REG_EXP(...rest);
      }
      return construct(FERAL_REG_EXP, rest, new.target);
    };

    defineProperties(ResultRegExp, {
      length: { value: 2 },
      prototype: {
        value: RegExpPrototype,
        writable: false,
        enumerable: false,
        configurable: false,
      },
    });
    // Hermes does not have `Symbol.species`. We should support such platforms.
    if (speciesSymbol) {
      const speciesDesc = getOwnPropertyDescriptor(
        FERAL_REG_EXP,
        speciesSymbol,
      );
      if (!speciesDesc) {
        throw TypeError('no RegExp[Symbol.species] descriptor');
      }
      defineProperties(ResultRegExp, {
        [speciesSymbol]: speciesDesc,
      });
    }
    return ResultRegExp;
  };

  const InitialRegExp = makeRegExpConstructor();
  const SharedRegExp = makeRegExpConstructor();

  if (regExpTaming !== 'unsafe') {
    // @ts-expect-error Deleted properties must be optional
    delete RegExpPrototype.compile;
  }
  defineProperties(RegExpPrototype, {
    constructor: { value: SharedRegExp },
  });

  return {
    '%InitialRegExp%': InitialRegExp,
    '%SharedRegExp%': SharedRegExp,
  };
}$h͏_once.default(      tameRegExpConstructor);
})()
,
// === 23. ses ./src/enablements.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let toStringTagSymbol,iteratorSymbol;$h͏_imports([["./commons.js", [["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["iteratorSymbol",[$h͏_a => (iteratorSymbol = $h͏_a)]]]]]);

/**
 * Exports {@code enablements}, a recursively defined
 * JSON record defining the optimum set of intrinsics properties
 * that need to be "repaired" before hardening is applied on
 * enviromments subject to the override mistake.
 *
 * @author JF Paradis
 * @author Mark S. Miller
 *
 * @module
 */

/**
 * <p>Because "repairing" replaces data properties with accessors, every
 * time a repaired property is accessed, the associated getter is invoked,
 * which degrades the runtime performance of all code executing in the
 * repaired enviromment, compared to the non-repaired case. In order
 * to maintain performance, we only repair the properties of objects
 * for which hardening causes a breakage of their normal intended usage.
 *
 * There are three unwanted cases:
 * <ul>
 * <li>Overriding properties on objects typically used as records,
 *     namely {@code "Object"} and {@code "Array"}. In the case of arrays,
 *     the situation is unintentional, a given program might not be aware
 *     that non-numerical properties are stored on the underlying object
 *     instance, not on the array. When an object is typically used as a
 *     map, we repair all of its prototype properties.
 * <li>Overriding properties on objects that provide defaults on their
 *     prototype and that programs typically set using an assignment, such as
 *     {@code "Error.prototype.message"} and {@code "Function.prototype.name"}
 *     (both default to "").
 * <li>Setting-up a prototype chain, where a constructor is set to extend
 *     another one. This is typically set by assignment, for example
 *     {@code "Child.prototype.constructor = Child"}, instead of invoking
 *     Object.defineProperty();
 *
 * <p>Each JSON record enumerates the disposition of the properties on
 * some corresponding intrinsic object.
 *
 * <p>For each such record, the values associated with its property
 * names can be:
 * <ul>
 * <li>true, in which case this property is simply repaired. The
 *     value associated with that property is not traversed. For
 *     example, {@code "Function.prototype.name"} leads to true,
 *     meaning that the {@code "name"} property of {@code
 *     "Function.prototype"} should be repaired (which is needed
 *     when inheriting from @code{Function} and setting the subclass's
 *     {@code "prototype.name"} property). If the property is
 *     already an accessor property, it is not repaired (because
 *     accessors are not subject to the override mistake).
 * <li>"*", in which case this property is not repaired but the
 *     value associated with that property are traversed and repaired.
 * <li>Another record, in which case this property is not repaired
 *     and that next record represents the disposition of the object
 *     which is its value. For example,{@code "FunctionPrototype"}
 *     leads to another record explaining which properties {@code
 *     Function.prototype} need to be repaired.
 */

/**
 * Minimal enablements when all the code is modern and known not to
 * step into the override mistake, except for the following pervasive
 * cases.
 */
       const minEnablements = {
  '%ObjectPrototype%': {
    toString: true,
  },

  '%FunctionPrototype%': {
    toString: true  // set by "rollup"
  },

  '%ErrorPrototype%': {
    name: true  // set by "precond", "ava", "node-fetch"
  },

  '%IteratorPrototype%': {
    toString: true,
    // https://github.com/tc39/proposal-iterator-helpers
    constructor: true,
    // https://github.com/tc39/proposal-iterator-helpers
    [toStringTagSymbol]: true,
  },
};

/**
 * Moderate enablements are usually good enough for legacy compat.
 */$h͏_once.minEnablements(minEnablements);
       const moderateEnablements = {
  ...minEnablements,

  '%ObjectPrototype%': {
    toString: true,
    valueOf: true,
  },

  '%ArrayPrototype%': {
    toString: true,
    push: true, // set by "Google Analytics"
    concat: true, // set by mobx generated code (old TS compiler?)
    [iteratorSymbol]: true  // set by mobx generated code (old TS compiler?)
  },

  '%IteratorPrototype%': {
    [iteratorSymbol]: true  // is sometimes used in custom iterators and generators implementations eg. @rive-app/canvas
  },

  // Function.prototype has no 'prototype' property to enable.
  // Function instances have their own 'name' and 'length' properties
  // which are configurable and non-writable. Thus, they are already
  // non-assignable anyway.
  '%FunctionPrototype%': {
    constructor: true, // set by "regenerator-runtime"
    bind: true, // set by "underscore", "express"
    toString: true  // set by "rollup"
  },

  '%ErrorPrototype%': {
    constructor: true, // set by "fast-json-patch", "node-fetch"
    message: true,
    name: true, // set by "precond", "ava", "node-fetch", "node 14"
    toString: true  // set by "bluebird"
  },

  '%TypeErrorPrototype%': {
    constructor: true, // set by "readable-stream"
    message: true, // set by "tape"
    name: true  // set by "readable-stream", "node 14"
  },

  '%SyntaxErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  '%RangeErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  '%URIErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  '%EvalErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  '%ReferenceErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"
  },

  // https://github.com/endojs/endo/issues/550
  '%AggregateErrorPrototype%': {
    message: true, // to match TypeErrorPrototype.message
    name: true  // set by "node 14"?
  },

  '%PromisePrototype%': {
    constructor: true  // set by "core-js"
  },

  '%TypedArrayPrototype%': '*', // set by https://github.com/feross/buffer

  '%Generator%': {
    constructor: true,
    name: true,
    toString: true,
  },
};

/**
 * The 'severe' enablement are needed because of issues tracked at
 * https://github.com/endojs/endo/issues/576
 *
 * They are like the `moderate` enablements except for the entries below.
 */$h͏_once.moderateEnablements(moderateEnablements);
       const severeEnablements = {
  ...moderateEnablements,

  /**
   * Rollup (as used at least by vega) and webpack
   * (as used at least by regenerator) both turn exports into assignments
   * to a big `exports` object that inherits directly from
   * `Object.prototype`. Some of the exported names we've seen include
   * `hasOwnProperty`, `constructor`, and `toString`. But the strategy used
   * by rollup and webpack potentionally turns any exported name
   * into an assignment rejected by the override mistake. That's why
   * the `severe` enablements takes the extreme step of enabling
   * everything on `Object.prototype`.
   *
   * In addition, code doing inheritance manually will often override
   * the `constructor` property on the new prototype by assignment. We've
   * seen this several times.
   *
   * The cost of enabling all these is that they create a miserable debugging
   * experience specifically on Node.
   * https://github.com/Agoric/agoric-sdk/issues/2324
   * explains how it confused the Node console.
   *
   * (TODO Reexamine the vscode situation. I think it may have improved
   * since the following paragraph was written.)
   *
   * The vscode debugger's object inspector shows the own data properties of
   * an object, which is typically what you want, but also shows both getter
   * and setter for every accessor property whether inherited or own.
   * With the `'*'` setting here, all the properties inherited from
   * `Object.prototype` are accessors, creating an unusable display as seen
   * at As explained at
   * https://github.com/endojs/endo/blob/master/packages/ses/docs/lockdown.md#overridetaming-options
   * Open the triangles at the bottom of that section.
   */
  '%ObjectPrototype%': '*',

  /**
   * The widely used Buffer defined at https://github.com/feross/buffer
   * on initialization, manually creates the equivalent of a subclass of
   * `TypedArray`, which it then initializes by assignment. These assignments
   * include enough of the `TypeArray` methods that here, the `severe`
   * enablements just enable them all.
   */
  '%TypedArrayPrototype%': '*',

  /**
   * Needed to work with Immer before https://github.com/immerjs/immer/pull/914
   * is accepted.
   */
  '%MapPrototype%': '*',

  /**
   * Needed to work with Immer before https://github.com/immerjs/immer/pull/914
   * is accepted.
   */
  '%SetPrototype%': '*',
};$h͏_once.severeEnablements(severeEnablements);
})()
,
// === 24. ses ./src/enable-property-overrides.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Set,String,TypeError,arrayForEach,defineProperty,getOwnPropertyDescriptor,getOwnPropertyDescriptors,isPrimitive,hasOwn,ownKeys,setHas,minEnablements,moderateEnablements,severeEnablements;$h͏_imports([["./commons.js", [["Set",[$h͏_a => (Set = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayForEach",[$h͏_a => (arrayForEach = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["setHas",[$h͏_a => (setHas = $h͏_a)]]]],["./enablements.js", [["minEnablements",[$h͏_a => (minEnablements = $h͏_a)]],["moderateEnablements",[$h͏_a => (moderateEnablements = $h͏_a)]],["severeEnablements",[$h͏_a => (severeEnablements = $h͏_a)]]]]]);
























/** @import {Reporter} from './reporting-types.js' */

/**
 * For a special set of properties defined in the `enablement` list,
 * `enablePropertyOverrides` ensures that the effect of freezing does not
 * suppress the ability to override these properties on derived objects by
 * simple assignment.
 *
 * Because of lack of sufficient foresight at the time, ES5 unfortunately
 * specified that a simple assignment to a non-existent property must fail if
 * it would override an non-writable data property of the same name in the
 * shadow of the prototype chain. In retrospect, this was a mistake, the
 * so-called "override mistake". But it is now too late and we must live with
 * the consequences.
 *
 * As a result, simply freezing an object to make it tamper proof has the
 * unfortunate side effect of breaking previously correct code that is
 * considered to have followed JS best practices, if this previous code used
 * assignment to override.
 *
 * For the enabled properties, `enablePropertyOverrides` effectively shims what
 * the assignment behavior would have been in the absence of the override
 * mistake. However, the shim produces an imperfect emulation. It shims the
 * behavior by turning these data properties into accessor properties, where
 * the accessor's getter and setter provide the desired behavior. For
 * non-reflective operations, the illusion is perfect. However, reflective
 * operations like `getOwnPropertyDescriptor` see the descriptor of an accessor
 * property rather than the descriptor of a data property. At the time of this
 * writing, this is the best we know how to do.
 *
 * To the getter of the accessor we add a property named
 * `'originalValue'` whose value is, as it says, the value that the
 * data property had before being converted to an accessor property. We add
 * this extra property to the getter for two reason:
 *
 * The harden algorithm walks the own properties reflectively, i.e., with
 * `getOwnPropertyDescriptor` semantics, rather than `[[Get]]` semantics. When
 * it sees an accessor property, it does not invoke the getter. Rather, it
 * proceeds to walk both the getter and setter as part of its transitive
 * traversal. Without this extra property, `enablePropertyOverrides` would have
 * hidden the original data property value from `harden`, which would be bad.
 * Instead, by exposing that value in an own data property on the getter,
 * `harden` finds and walks it anyway.
 *
 * We enable a form of cooperative emulation, giving reflective code an
 * opportunity to cooperate in upholding the illusion. When such cooperative
 * reflective code sees an accessor property, where the accessor's getter
 * has an `originalValue` property, it knows that the getter is
 * alleging that it is the result of the `enablePropertyOverrides` conversion
 * pattern, so it can decide to cooperatively "pretend" that it sees a data
 * property with that value.
 *
 * @param {Record<string, any>} intrinsics
 * @param {'min' | 'moderate' | 'severe'} overrideTaming
 * @param {Reporter} reporter
 * @param {Iterable<string | symbol>} [overrideDebug]
 */
               function enablePropertyOverrides(
  intrinsics,
  overrideTaming,
  { warn },
  overrideDebug = [],
) {
  const debugProperties = new Set(overrideDebug);
  function enable(path, obj, prop, desc) {
    if ('value' in desc && desc.configurable) {
      const { value } = desc;

      const isDebug = setHas(debugProperties, prop);

      // We use concise method syntax to be `this` sensitive, but still
      // omit a prototype property or [[Construct]] behavior.
      // @ts-expect-error We know there is an accessor descriptor there
      const { get: getter, set: setter } = getOwnPropertyDescriptor(
        {
          get [prop]() {
            return value;
          },
          set [prop](newValue) {
            if (obj === this) {
              throw TypeError(
                `Cannot assign to read only property '${String(
                  prop,
                )}' of '${path}'`,
              );
            }
            if (hasOwn(this, prop)) {
              this[prop] = newValue;
            } else {
              if (isDebug) {
                warn(TypeError(`Override property ${prop}`));
              }
              defineProperty(this, prop, {
                value: newValue,
                writable: true,
                enumerable: true,
                configurable: true,
              });
            }
          },
        },
        prop,
      );

      defineProperty(getter, 'originalValue', {
        value,
        writable: false,
        enumerable: false,
        configurable: false,
      });

      defineProperty(obj, prop, {
        get: getter,
        set: setter,
        enumerable: desc.enumerable,
        configurable: desc.configurable,
      });
    }
  }

  function enableProperty(path, obj, prop) {
    const desc = getOwnPropertyDescriptor(obj, prop);
    if (!desc) {
      return;
    }
    enable(path, obj, prop, desc);
  }

  function enableAllProperties(path, obj) {
    const descs = getOwnPropertyDescriptors(obj);
    if (!descs) {
      return;
    }
    // TypeScript does not allow symbols to be used as indexes because it
    // cannot recokon types of symbolized properties.
    arrayForEach(ownKeys(descs), prop => enable(path, obj, prop, descs[prop]));
  }

  function enableProperties(path, obj, plan) {
    for (const prop of ownKeys(plan)) {
      const desc = getOwnPropertyDescriptor(obj, prop);
      if (!desc || desc.get || desc.set) {
        // No not a value property, nothing to do.
        // eslint-disable-next-line no-continue
        continue;
      }

      // In case `prop` is a symbol, we first coerce it with `String`,
      // purely for diagnostic purposes.
      const subPath = `${path}.${String(prop)}`;
      const subPlan = plan[prop];

      if (subPlan === true) {
        enableProperty(subPath, obj, prop);
      } else if (subPlan === '*') {
        enableAllProperties(subPath, desc.value);
      } else if (!isPrimitive(subPlan)) {
        enableProperties(subPath, desc.value, subPlan);
      } else {
        throw TypeError(`Unexpected override enablement plan ${subPath}`);
      }
    }
  }

  let plan;
  switch (overrideTaming) {
    case 'min': {
      plan = minEnablements;
      break;
    }
    case 'moderate': {
      plan = moderateEnablements;
      break;
    }
    case 'severe': {
      plan = severeEnablements;
      break;
    }
    default: {
      throw TypeError(`unrecognized overrideTaming ${overrideTaming}`);
    }
  }

  // Do the repair.
  enableProperties('root', intrinsics, plan);
}$h͏_once.default(      enablePropertyOverrides);
})()
,
// === 25. ses ./src/tame-locale-methods.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Number,String,TypeError,defineProperty,getOwnPropertyNames,isPrimitive,regexpExec,assert;$h͏_imports([["./commons.js", [["Number",[$h͏_a => (Number = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);










const { Fail, quote: q } = assert;

const localePattern = /^(\w*[a-z])Locale([A-Z]\w*)$/;

// Use concise methods to obtain named functions without constructor
// behavior or `.prototype` property.
const tamedMethods = {
  // See https://tc39.es/ecma262/#sec-string.prototype.localecompare
  localeCompare(arg) {
    if (this === null || this === undefined) {
      throw TypeError(
        'Cannot localeCompare with null or undefined "this" value',
      );
    }
    const s = `${this}`;
    const that = `${arg}`;
    if (s < that) {
      return -1;
    }
    if (s > that) {
      return 1;
    }
    s === that || Fail`expected ${q(s)} and ${q(that)} to compare`;
    return 0;
  },

  toString() {
    return `${this}`;
  },
};

const nonLocaleCompare = tamedMethods.localeCompare;
const numberToString = tamedMethods.toString;

               function tameLocaleMethods(intrinsics, localeTaming = 'safe') {
  if (localeTaming === 'unsafe') {
    return;
  }

  defineProperty(String.prototype, 'localeCompare', {
    value: nonLocaleCompare,
  });

  for (const intrinsicName of getOwnPropertyNames(intrinsics)) {
    const intrinsic = intrinsics[intrinsicName];
    if (!isPrimitive(intrinsic)) {
      for (const methodName of getOwnPropertyNames(intrinsic)) {
        const match = regexpExec(localePattern, methodName);
        if (match) {
          typeof intrinsic[methodName] === 'function' ||
            Fail`expected ${q(methodName)} to be a function`;
          const nonLocaleMethodName = `${match[1]}${match[2]}`;
          const method = intrinsic[nonLocaleMethodName];
          typeof method === 'function' ||
            Fail`function ${q(nonLocaleMethodName)} not found`;
          defineProperty(intrinsic, methodName, { value: method });
        }
      }
    }
  }

  // Numbers are special because toString accepts a radix instead of ignoring
  // all of the arguments that we would otherwise forward.
  defineProperty(Number.prototype, 'toLocaleString', {
    value: numberToString,
  });
}$h͏_once.default(      tameLocaleMethods);
})()
,
// === 26. ses ./src/make-eval-function.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([]);/**
 * makeEvalFunction()
 * A safe version of the native eval function which relies on
 * the safety of `safe-eval` for confinement, unless `no-eval`
 * is specified (then a TypeError is thrown on use).
 *
 * @param {Function} evaluator
 */
       const makeEvalFunction = evaluator => {
  // We use the concise method syntax to create an eval without a
  // [[Construct]] behavior (such that the invocation "new eval()" throws
  // TypeError: eval is not a constructor"), but which still accepts a
  // 'this' binding.
  const newEval = {
    eval(source) {
      if (typeof source !== 'string') {
        // As per the runtime semantic of PerformEval [ECMAScript 18.2.1.1]:
        // If Type(source) is not String, return source.
        // TODO Recent proposals from Mike Samuel may change this non-string
        // rule. Track.
        return source;
      }
      return evaluator(source);
    },
  }.eval;

  return newEval;
};$h͏_once.makeEvalFunction(makeEvalFunction);
})()
,
// === 27. ses ./src/make-function-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,arrayJoin,arrayPop,defineProperties,getPrototypeOf,assert;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arrayPop",[$h͏_a => (arrayPop = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);








const { Fail } = assert;

/*
 * makeFunctionConstructor()
 * A safe version of the native Function which relies on
 * the safety of `safe-eval` for confinement, unless `no-eval`
 * is specified (then a TypeError is thrown on use).
 */
       const makeFunctionConstructor = evaluator => {
  // Define an unused parameter to ensure Function.length === 1
  const newFunction = function Function(_body) {
    // Sanitize all parameters at the entry point.
    // eslint-disable-next-line prefer-rest-params
    const bodyText = `${arrayPop(arguments) || ''}`;
    // eslint-disable-next-line prefer-rest-params
    const parameters = `${arrayJoin(arguments, ',')}`;

    // Are parameters and bodyText valid code, or is someone
    // attempting an injection attack? This will throw a SyntaxError if:
    // - parameters doesn't parse as parameters
    // - bodyText doesn't parse as a function body
    // - either contain a call to super() or references a super property.
    //
    // It seems that XS may still be vulnerable to the attack explained at
    // https://github.com/tc39/ecma262/pull/2374#issuecomment-813769710
    // where `new Function('/*', '*/ ) {')` would incorrectly validate.
    // Before we worried about this, we check the parameters and bodyText
    // together in one call
    // ```js
    // new FERAL_FUNCTION(parameters, bodyTest);
    // ```
    // However, this check is vulnerable to that bug. Aside from that case,
    // all engines do seem to validate the parameters, taken by themselves,
    // correctly. And all engines do seem to validate the bodyText, taken
    // by itself correctly. So with the following two checks, SES builds a
    // correct safe `Function` constructor by composing two calls to an
    // original unsafe `Function` constructor that may suffer from this bug
    // but is otherwise correctly validating.
    //
    // eslint-disable-next-line no-new
    new FERAL_FUNCTION(parameters, '');
    // eslint-disable-next-line no-new
    new FERAL_FUNCTION(bodyText);

    // Safe to be combined. Defeat potential trailing comments.
    // TODO: since we create an anonymous function, the 'this' value
    // isn't bound to the global object as per specs, but set as undefined.
    const src = `(function anonymous(${parameters}\n) {\n${bodyText}\n})`;
    return evaluator(src);
  };

  defineProperties(newFunction, {
    // Ensure that any function created in any evaluator in a realm is an
    // instance of Function in any evaluator of the same realm.
    prototype: {
      value: FERAL_FUNCTION.prototype,
      writable: false,
      enumerable: false,
      configurable: false,
    },
  });

  // Assert identity of Function.__proto__ accross all compartments
  getPrototypeOf(FERAL_FUNCTION) === FERAL_FUNCTION.prototype ||
    Fail`Function prototype is the same accross compartments`;
  getPrototypeOf(newFunction) === FERAL_FUNCTION.prototype ||
    Fail`Function constructor prototype is the same across compartments`;

  return newFunction;
};$h͏_once.makeFunctionConstructor(makeFunctionConstructor);
})()
,
// === 28. ses ./src/global-object.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,assign,create,defineProperty,entries,freeze,hasOwn,unscopablesSymbol,makeEvalFunction,makeFunctionConstructor,constantProperties,universalPropertyNames;$h͏_imports([["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["unscopablesSymbol",[$h͏_a => (unscopablesSymbol = $h͏_a)]]]],["./make-eval-function.js", [["makeEvalFunction",[$h͏_a => (makeEvalFunction = $h͏_a)]]]],["./make-function-constructor.js", [["makeFunctionConstructor",[$h͏_a => (makeFunctionConstructor = $h͏_a)]]]],["./permits.js", [["constantProperties",[$h͏_a => (constantProperties = $h͏_a)]],["universalPropertyNames",[$h͏_a => (universalPropertyNames = $h͏_a)]]]]]);













/**
 * The host's ordinary global object is not provided by a `with` block, so
 * assigning to Symbol.unscopables has no effect.
 * Since this shim uses `with` blocks to create a confined lexical scope for
 * guest programs, we cannot emulate the proper behavior.
 * With this shim, assigning Symbol.unscopables causes the given lexical
 * names to fall through to the terminal scope proxy.
 * But, we can install this setter to prevent a program from proceding on
 * this false assumption.
 *
 * @param {object} globalObject
 */
       const setGlobalObjectSymbolUnscopables = globalObject => {
  defineProperty(
    globalObject,
    unscopablesSymbol,
    freeze(
      assign(create(null), {
        set: freeze(() => {
          throw TypeError(
            `Cannot set Symbol.unscopables of a Compartment's globalThis`,
          );
        }),
        enumerable: false,
        configurable: false,
      }),
    ),
  );
};

/**
 * setGlobalObjectConstantProperties()
 * Initializes a new global object using a process similar to ECMA specifications
 * (SetDefaultGlobalBindings). This process is split between this function and
 * `setGlobalObjectMutableProperties`.
 *
 * @param {object} globalObject
 */$h͏_once.setGlobalObjectSymbolUnscopables(setGlobalObjectSymbolUnscopables);
       const setGlobalObjectConstantProperties = globalObject => {
  for (const [name, constant] of entries(constantProperties)) {
    defineProperty(globalObject, name, {
      value: constant,
      writable: false,
      enumerable: false,
      configurable: false,
    });
  }
};

/**
 * setGlobalObjectMutableProperties()
 * Create new global object using a process similar to ECMA specifications
 * (portions of SetRealmGlobalObject and SetDefaultGlobalBindings).
 * `newGlobalPropertyNames` should be either `initialGlobalPropertyNames` or
 * `sharedGlobalPropertyNames`.
 *
 * @param {object} globalObject
 * @param {object} args
 * @param {object} args.intrinsics
 * @param {object} args.newGlobalPropertyNames
 * @param {Function} args.makeCompartmentConstructor
 * @param {(object) => void} args.markVirtualizedNativeFunction
 * @param {Compartment} [args.parentCompartment]
 */$h͏_once.setGlobalObjectConstantProperties(setGlobalObjectConstantProperties);
       const setGlobalObjectMutableProperties = (
  globalObject,
  {
    intrinsics,
    newGlobalPropertyNames,
    makeCompartmentConstructor,
    markVirtualizedNativeFunction,
    parentCompartment,
  },
) => {
  for (const [name, intrinsicName] of entries(universalPropertyNames)) {
    if (hasOwn(intrinsics, intrinsicName)) {
      defineProperty(globalObject, name, {
        value: intrinsics[intrinsicName],
        writable: true,
        enumerable: false,
        configurable: true,
      });
    }
  }

  for (const [name, intrinsicName] of entries(newGlobalPropertyNames)) {
    if (hasOwn(intrinsics, intrinsicName)) {
      defineProperty(globalObject, name, {
        value: intrinsics[intrinsicName],
        writable: true,
        enumerable: false,
        configurable: true,
      });
    }
  }

  const perCompartmentGlobals = {
    globalThis: globalObject,
  };

  perCompartmentGlobals.Compartment = freeze(
    makeCompartmentConstructor(
      makeCompartmentConstructor,
      intrinsics,
      markVirtualizedNativeFunction,
      {
        parentCompartment,
        enforceNew: true,
      },
    ),
  );

  // TODO These should still be tamed according to the permits before
  // being made available.
  for (const [name, value] of entries(perCompartmentGlobals)) {
    defineProperty(globalObject, name, {
      value,
      writable: true,
      enumerable: false,
      configurable: true,
    });
    if (typeof value === 'function') {
      markVirtualizedNativeFunction(value);
    }
  }
};

/**
 * setGlobalObjectEvaluators()
 * Set the eval and the Function evaluator on the global object with given evalTaming policy.
 *
 * @param {object} globalObject
 * @param {Function} evaluator
 * @param {(object) => void} markVirtualizedNativeFunction
 */$h͏_once.setGlobalObjectMutableProperties(setGlobalObjectMutableProperties);
       const setGlobalObjectEvaluators = (
  globalObject,
  evaluator,
  markVirtualizedNativeFunction,
) => {
  {
    const f = freeze(makeEvalFunction(evaluator));
    markVirtualizedNativeFunction(f);
    defineProperty(globalObject, 'eval', {
      value: f,
      writable: true,
      enumerable: false,
      configurable: true,
    });
  }
  {
    const f = freeze(makeFunctionConstructor(evaluator));
    markVirtualizedNativeFunction(f);
    defineProperty(globalObject, 'Function', {
      value: f,
      writable: true,
      enumerable: false,
      configurable: true,
    });
  }
};$h͏_once.setGlobalObjectEvaluators(setGlobalObjectEvaluators);
})()
,
// === 29. ses ./src/strict-scope-terminator.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Proxy,String,TypeError,ReferenceError,create,freeze,getOwnPropertyDescriptors,assert;$h͏_imports([["./commons.js", [["Proxy",[$h͏_a => (Proxy = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["ReferenceError",[$h͏_a => (ReferenceError = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);










const { Fail, quote: q } = assert;

/**
 * `freeze` but not `harden` the proxy target so it remains trapping.
 * Thus, it should not be shared outside this module.
 *
 * @see https://github.com/endojs/endo/blob/master/packages/ses/docs/preparing-for-stabilize.md
 */
const objTarget = freeze({ __proto__: null });

/**
 * alwaysThrowHandler
 * This is an object that throws if any property is called. It's used as
 * a proxy handler which throws on any trap called.
 * It's made from a proxy with a get trap that throws. It's safe to
 * create one and share it between all Proxy handlers.
 */
       const alwaysThrowHandler = new Proxy(
  objTarget,
  freeze({
    get(_shadow, prop) {
      Fail`Please report unexpected scope handler trap: ${q(String(prop))}`;
    },
  }),
);

/*
 * scopeProxyHandlerProperties
 * scopeTerminatorHandler manages a strictScopeTerminator Proxy which serves as
 * the final scope boundary that will always return "undefined" in order
 * to prevent access to "start compartment globals".
 */$h͏_once.alwaysThrowHandler(alwaysThrowHandler);
const scopeProxyHandlerProperties = {
  get(_shadow, _prop) {
    return undefined;
  },

  set(_shadow, prop, _value) {
    // We should only hit this if the has() hook returned true matches the v8
    // ReferenceError message "Uncaught ReferenceError: xyz is not defined"
    throw ReferenceError(`${String(prop)} is not defined`);
  },

  has(_shadow, prop) {
    // we must at least return true for all properties on the realm globalThis
    return true;
  },

  // note: this is likely a bug of safari
  // https://bugs.webkit.org/show_bug.cgi?id=195534
  getPrototypeOf(_shadow) {
    return null;
  },

  // See https://github.com/endojs/endo/issues/1510
  // TODO: report as bug to v8 or Chrome, and record issue link here.
  getOwnPropertyDescriptor(_shadow, prop) {
    // Coerce with `String` in case prop is a symbol.
    const quotedProp = q(String(prop));
    // eslint-disable-next-line @endo/no-polymorphic-call
    console.warn(
      `getOwnPropertyDescriptor trap on scopeTerminatorHandler for ${quotedProp}`,
      TypeError().stack,
    );
    return undefined;
  },

  // See https://github.com/endojs/endo/issues/1490
  // TODO Report bug to JSC or Safari
  ownKeys(_shadow) {
    return [];
  },
};

// The scope handler's prototype is a proxy that throws if any trap other
// than get/set/has are run (like getOwnPropertyDescriptors, apply,
// getPrototypeOf).
       const strictScopeTerminatorHandler = freeze(
  create(
    alwaysThrowHandler,
    getOwnPropertyDescriptors(scopeProxyHandlerProperties),
  ),
);$h͏_once.strictScopeTerminatorHandler(strictScopeTerminatorHandler);

       const strictScopeTerminator = new Proxy(
  objTarget,
  strictScopeTerminatorHandler,
);$h͏_once.strictScopeTerminator(strictScopeTerminator);
})()
,
// === 30. ses ./src/sloppy-globals-scope-terminator.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Proxy,create,freeze,getOwnPropertyDescriptors,reflectSet,strictScopeTerminatorHandler,alwaysThrowHandler;$h͏_imports([["./commons.js", [["Proxy",[$h͏_a => (Proxy = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["reflectSet",[$h͏_a => (reflectSet = $h͏_a)]]]],["./strict-scope-terminator.js", [["strictScopeTerminatorHandler",[$h͏_a => (strictScopeTerminatorHandler = $h͏_a)]],["alwaysThrowHandler",[$h͏_a => (alwaysThrowHandler = $h͏_a)]]]]]);











/**
 * `freeze` but not `harden` the proxy target so it remains trapping.
 * Thus, it should not be shared outside this module.
 *
 * @see https://github.com/endojs/endo/blob/master/packages/ses/docs/preparing-for-stabilize.md
 */
const objTarget = freeze({ __proto__: null });

/*
 * createSloppyGlobalsScopeTerminator()
 * strictScopeTerminatorHandler manages a scopeTerminator Proxy which serves as
 * the final scope boundary that will always return "undefined" in order
 * to prevent access to "start compartment globals". When "sloppyGlobalsMode"
 * is true, the Proxy will perform sets on the "globalObject".
 */
       const createSloppyGlobalsScopeTerminator = globalObject => {
  const scopeProxyHandlerProperties = {
    // inherit scopeTerminator behavior
    ...strictScopeTerminatorHandler,

    // Redirect set properties to the globalObject.
    set(_shadow, prop, value) {
      return reflectSet(globalObject, prop, value);
    },

    // Always claim to have a potential property in order to be the recipient of a set
    has(_shadow, _prop) {
      return true;
    },
  };

  // The scope handler's prototype is a proxy that throws if any trap other
  // than get/set/has are run (like getOwnPropertyDescriptors, apply,
  // getPrototypeOf).
  const sloppyGlobalsScopeTerminatorHandler = freeze(
    create(
      alwaysThrowHandler,
      getOwnPropertyDescriptors(scopeProxyHandlerProperties),
    ),
  );

  const sloppyGlobalsScopeTerminator = new Proxy(
    objTarget,
    sloppyGlobalsScopeTerminatorHandler,
  );

  return sloppyGlobalsScopeTerminator;
};$h͏_once.createSloppyGlobalsScopeTerminator(createSloppyGlobalsScopeTerminator);
freeze(createSloppyGlobalsScopeTerminator);
})()
,
// === 31. ses ./src/eval-scope.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_EVAL,create,defineProperties,freeze,assert;$h͏_imports([["./commons.js", [["FERAL_EVAL",[$h͏_a => (FERAL_EVAL = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);



const { Fail } = assert;

// We attempt to frustrate stack bumping attacks on the safe evaluator
// (`make-safe-evaluator.js`).
// A stack bumping attack forces an API call to throw a stack overflow
// `RangeError` at an inopportune time.
// The attacker arranges for the stack to be sufficiently deep that the API
// consumes exactly enough stack frames to throw an exception.
//
// For the safe evaluator, an exception thrown between adding and then deleting
// `eval` on `evalScope` could leak the real `eval` to an attacker's lexical
// scope.
// This would be sufficiently disastrous that we guard against it twice.
// First, we delete `eval` from `evalScope` immediately before rendering it to
// the guest program's lexical scope.
//
// If the attacker manages to arrange for `eval` to throw an exception after we
// call `allowNextEvalToBeUnsafe` but before the guest program accesses `eval`,
// it would be able to access `eval` once more in its own code.
// Although they could do no harm with a direct `eval`, they would be able to
// escape to the true global scope with an indirect `eval`.
//
//   prepareStack(depth, () => {
//     (eval)('');
//   });
//   const unsafeEval = (eval);
//   const safeEval = (eval);
//   const realGlobal = unsafeEval('globalThis');
//
// To protect against that case, we also delete `eval` from the `evalScope` in
// a `finally` block surrounding the call to the safe evaluator.
// The only way to reach this case is if `eval` remains on `evalScope` due to
// an attack, so we assume that attack would have have invalided our isolation
// and revoke all future access to the evaluator.
//
// To defeat a stack bumping attack, we must use fewer stack frames to recover
// in that `finally` block than we used in the `try` block.
// We have no reliable guarantees about how many stack frames a block of
// JavaScript will consume.
// Function inlining, tail-call optimization, variations in the size of a stack
// frame, and block scopes may affect the depth of the stack.
// The only number of acceptable stack frames to use in the finally block is
// zero.
// We only use property assignment and deletion in the safe evaluator's
// `finally` block.
// We use `delete evalScope.eval` to withhold the evaluator.
// We assign an envelope object over `evalScopeKit.revoked` to revoke the
// evaluator.
//
// This is why we supply a meaningfully named function for
// `allowNextEvalToBeUnsafe` but do not provide a corresponding
// `revokeAccessToUnsafeEval` or even simply `revoke`.
// These recovery routines are expressed inline in the safe evaluator.

       const makeEvalScopeKit = () => {
  const evalScope = create(null);
  const oneTimeEvalProperties = freeze({
    eval: {
      get() {
        delete evalScope.eval;
        return FERAL_EVAL;
      },
      enumerable: false,
      configurable: true,
    },
  });

  const evalScopeKit = {
    evalScope,
    allowNextEvalToBeUnsafe() {
      const { revoked } = evalScopeKit;
      if (revoked !== null) {
        Fail`a handler did not reset allowNextEvalToBeUnsafe ${revoked.err}`;
      }
      // Allow next reference to eval produce the unsafe FERAL_EVAL.
      // We avoid defineProperty because it consumes an extra stack frame taming
      // its return value.
      defineProperties(evalScope, oneTimeEvalProperties);
    },
    /** @type {null | { err: any }} */
    revoked: null,
  };

  return evalScopeKit;
};$h͏_once.makeEvalScopeKit(makeEvalScopeKit);
})()
,
// === 32. ses ./src/get-source-url.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_REG_EXP,regexpExec,stringSlice;$h͏_imports([["./commons.js", [["FERAL_REG_EXP",[$h͏_a => (FERAL_REG_EXP = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]],["stringSlice",[$h͏_a => (stringSlice = $h͏_a)]]]]]);

// Captures a key and value of the form #key=value or @key=value
const sourceMetaEntryRegExp =
  '\\s*[@#]\\s*([a-zA-Z][a-zA-Z0-9]*)\\s*=\\s*([^\\s\\*]*)';
// Captures either a one-line or multi-line comment containing
// one #key=value or @key=value.
// Produces two pairs of capture groups, but the initial two may be undefined.
// On account of the mechanics of regular expressions, scanning from the end
// does not allow us to capture every pair, so getSourceURL must capture and
// trim until there are no matching comments.
const sourceMetaEntriesRegExp = new FERAL_REG_EXP(
  `(?:\\s*//${sourceMetaEntryRegExp}|/\\*${sourceMetaEntryRegExp}\\s*\\*/)\\s*$`,
);

/**
 * @param {string} src
 */
       const getSourceURL = src => {
  let sourceURL = '<unknown>';

  // Our regular expression matches the last one or two comments with key value
  // pairs at the end of the source, avoiding a scan over the entire length of
  // the string, but at the expense of being able to capture all the (key,
  // value) pair meta comments at the end of the source, which may include
  // sourceMapURL in addition to sourceURL.
  // So, we sublimate the comments out of the source until no source or no
  // comments remain.
  while (src.length > 0) {
    const match = regexpExec(sourceMetaEntriesRegExp, src);
    if (match === null) {
      break;
    }
    src = stringSlice(src, 0, src.length - match[0].length);

    // We skip $0 since it contains the entire match.
    // The match contains four capture groups,
    // two (key, value) pairs, the first of which
    // may be undefined.
    // On the off-chance someone put two sourceURL comments in their code with
    // different commenting conventions, the latter has precedence.
    if (match[3] === 'sourceURL') {
      sourceURL = match[4];
    } else if (match[1] === 'sourceURL') {
      sourceURL = match[2];
    }
  }

  return sourceURL;
};$h͏_once.getSourceURL(getSourceURL);
})()
,
// === 33. ses ./src/transforms.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_REG_EXP,SyntaxError,regexpReplace,sealRegexp,stringSearch,stringSlice,stringSplit,freeze,getSourceURL;$h͏_imports([["./commons.js", [["FERAL_REG_EXP",[$h͏_a => (FERAL_REG_EXP = $h͏_a)]],["SyntaxError",[$h͏_a => (SyntaxError = $h͏_a)]],["regexpReplace",[$h͏_a => (regexpReplace = $h͏_a)]],["sealRegexp",[$h͏_a => (sealRegexp = $h͏_a)]],["stringSearch",[$h͏_a => (stringSearch = $h͏_a)]],["stringSlice",[$h͏_a => (stringSlice = $h͏_a)]],["stringSplit",[$h͏_a => (stringSplit = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]]]],["./get-source-url.js", [["getSourceURL",[$h͏_a => (getSourceURL = $h͏_a)]]]]]);













/**
 * Find the first occurence of the given pattern and return
 * the location as the approximate line number.
 *
 * @param {string} src
 * @param {RegExp} pattern
 * @returns {number}
 */
function getLineNumber(src, pattern) {
  const index = stringSearch(src, pattern);
  if (index < 0) {
    return -1;
  }

  // The importPattern incidentally captures an initial \n in
  // an attempt to reject a . prefix, so we need to offset
  // the line number in that case.
  const adjustment = src[index] === '\n' ? 1 : 0;

  return stringSplit(stringSlice(src, 0, index), '\n').length + adjustment;
}

// /////////////////////////////////////////////////////////////////////////////

const htmlCommentPattern = sealRegexp(
  new FERAL_REG_EXP(`(?:${'<'}!--|--${'>'})`, 'g'),
);

/**
 * Conservatively reject the source text if it may contain text that some
 * JavaScript parsers may treat as an html-like comment. To reject without
 * parsing, `rejectHtmlComments` will also reject some other text as well.
 *
 * https://www.ecma-international.org/ecma-262/9.0/index.html#sec-html-like-comments
 * explains that JavaScript parsers may or may not recognize html
 * comment tokens "<" immediately followed by "!--" and "--"
 * immediately followed by ">" in non-module source text, and treat
 * them as a kind of line comment. Since otherwise both of these can
 * appear in normal JavaScript source code as a sequence of operators,
 * we have the terrifying possibility of the same source code parsing
 * one way on one correct JavaScript implementation, and another way
 * on another.
 *
 * This shim takes the conservative strategy of just rejecting source
 * text that contains these strings anywhere. Note that this very
 * source file is written strangely to avoid mentioning these
 * character strings explicitly.
 *
 * We do not write the regexp in a straightforward way, so that an
 * apparennt html comment does not appear in this file. Thus, we avoid
 * rejection by the overly eager rejectDangerousSources.
 *
 * @param {string} src
 * @returns {string}
 */
       const rejectHtmlComments = src => {
  const lineNumber = getLineNumber(src, htmlCommentPattern);
  if (lineNumber < 0) {
    return src;
  }
  const name = getSourceURL(src);
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_HTML_COMMENT_REJECTED.md
  throw SyntaxError(
    `Possible HTML comment rejected at ${name}:${lineNumber}. (SES_HTML_COMMENT_REJECTED)`,
  );
};

/**
 * An optional transform to place ahead of `rejectHtmlComments` to evade *that*
 * rejection. However, it may change the meaning of the program.
 *
 * This evasion replaces each alleged html comment with the space-separated
 * JavaScript operator sequence that it may mean, assuming that it appears
 * outside of a comment or literal string, in source code where the JS
 * parser makes no special case for html comments (like module source code).
 * In that case, this evasion preserves the meaning of the program, though it
 * does change the souce column numbers on each effected line.
 *
 * If the html comment appeared in a literal (a string literal, regexp literal,
 * or a template literal), then this evasion will change the meaning of the
 * program by changing the text of that literal.
 *
 * If the html comment appeared in a JavaScript comment, then this evasion does
 * not change the meaning of the program because it only changes the contents of
 * those comments.
 *
 * @param {string} src
 * @returns {string}
 */$h͏_once.rejectHtmlComments(rejectHtmlComments);
       const evadeHtmlCommentTest = src => {
  const replaceFn = match => (match[0] === '<' ? '< ! --' : '-- >');
  return regexpReplace(htmlCommentPattern, src, replaceFn);
};

// /////////////////////////////////////////////////////////////////////////////
$h͏_once.evadeHtmlCommentTest(evadeHtmlCommentTest);
const importPattern = sealRegexp(
  new FERAL_REG_EXP('(^|[^.]|\\.\\.\\.)\\bimport(\\s*(?:\\(|/[/*]))', 'g'),
);

/**
 * Conservatively reject the source text if it may contain a dynamic
 * import expression. To reject without parsing, `rejectImportExpressions` will
 * also reject some other text as well.
 *
 * The proposed dynamic import expression is the only syntax currently
 * proposed, that can appear in non-module JavaScript code, that
 * enables direct access to the outside world that cannot be
 * suppressed or intercepted without parsing and rewriting. Instead,
 * this shim conservatively rejects any source text that seems to
 * contain such an expression. To do this safely without parsing, we
 * must also reject some valid programs, i.e., those containing
 * apparent import expressions in literal strings or comments.
 *
 * The current conservative rule looks for the identifier "import"
 * followed by either an open paren or something that looks like the
 * beginning of a comment. We assume that we do not need to worry
 * about html comment syntax because that was already rejected by
 * rejectHtmlComments.
 *
 * this \s *must* match all kinds of syntax-defined whitespace. If e.g.
 * U+2028 (LINE SEPARATOR) or U+2029 (PARAGRAPH SEPARATOR) is treated as
 * whitespace by the parser, but not matched by /\s/, then this would admit
 * an attack like: import\u2028('power.js') . We're trying to distinguish
 * something like that from something like importnotreally('power.js') which
 * is perfectly safe.
 *
 * @param {string} src
 * @returns {string}
 */
       const rejectImportExpressions = src => {
  const lineNumber = getLineNumber(src, importPattern);
  if (lineNumber < 0) {
    return src;
  }
  const name = getSourceURL(src);
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_IMPORT_REJECTED.md
  throw SyntaxError(
    `Possible import expression rejected at ${name}:${lineNumber}. (SES_IMPORT_REJECTED)`,
  );
};

/**
 * An optional transform to place ahead of `rejectImportExpressions` to evade
 * *that* rejection. However, it may change the meaning of the program.
 *
 * This evasion replaces each suspicious `import` identifier with `__import__`.
 * If the alleged import expression appears in a JavaScript comment, this
 * evasion will not change the meaning of the program. If it appears in a
 * literal (string literal, regexp literal, or a template literal), then this
 * evasion will change the contents of that literal. If it appears as code
 * where it would be parsed as an expression, then it might or might not change
 * the meaning of the program, depending on the binding, if any, of the lexical
 * variable `__import__`.
 *
 * @param {string} src
 * @returns {string}
 */$h͏_once.rejectImportExpressions(rejectImportExpressions);
       const evadeImportExpressionTest = src => {
  const replaceFn = (_, p1, p2) => `${p1}__import__${p2}`;
  return regexpReplace(importPattern, src, replaceFn);
};

// /////////////////////////////////////////////////////////////////////////////
$h͏_once.evadeImportExpressionTest(evadeImportExpressionTest);
const someDirectEvalPattern = new FERAL_REG_EXP(
  '(^|[^.])\\beval(\\s*\\()',
  'g',
);

/**
 * Heuristically reject some text that seems to contain a direct eval
 * expression, with both false positives and false negavives. To reject without
 * parsing, `rejectSomeDirectEvalExpressions` may will also reject some other
 * text as well. It may also accept source text that contains a direct eval
 * written oddly, such as `(eval)(src)`. This false negative is not a security
 * vulnerability. Rather it is a compat hazard because it will execute as
 * an indirect eval under the SES-shim but as a direct eval on platforms that
 * support SES directly (like XS).
 *
 * The shim cannot correctly emulate a direct eval as explained at
 * https://github.com/Agoric/realms-shim/issues/12
 * If we did not reject direct eval syntax, we would
 * accidentally evaluate these with an emulation of indirect eval. To
 * prevent future compatibility problems, in shifting from use of the
 * shim to genuine platform support for the proposal, we should
 * instead statically reject code that seems to contain a direct eval
 * expression.
 *
 * As with the dynamic import expression, to avoid a full parse, we do
 * this approximately with a regexp, that will also reject strings
 * that appear safely in comments or strings. Unlike dynamic import,
 * if we miss some, this only creates future compat problems, not
 * security problems. Thus, we are only trying to catch innocent
 * occurrences, not malicious one. In particular, `(eval)(...)` is
 * direct eval syntax that would not be caught by the following regexp.
 *
 * Exported for unit tests.
 *
 * @param {string} src
 * @returns {string}
 */
       const rejectSomeDirectEvalExpressions = src => {
  const lineNumber = getLineNumber(src, someDirectEvalPattern);
  if (lineNumber < 0) {
    return src;
  }
  const name = getSourceURL(src);
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_EVAL_REJECTED.md
  throw SyntaxError(
    `Possible direct eval expression rejected at ${name}:${lineNumber}. (SES_EVAL_REJECTED)`,
  );
};

// /////////////////////////////////////////////////////////////////////////////

/**
 * A transform that bundles together the transforms that must unconditionally
 * happen last in order to ensure safe evaluation without parsing.
 *
 * @param {string} source
 * @returns {string}
 */$h͏_once.rejectSomeDirectEvalExpressions(rejectSomeDirectEvalExpressions);
       const mandatoryTransforms = source => {
  source = rejectHtmlComments(source);
  source = rejectImportExpressions(source);
  return source;
};

/**
 * Starting with `source`, apply each transform to the result of the
 * previous one, returning the result of the last transformation.
 *
 * @param {string} source
 * @param {((str: string) => string)[]} transforms
 * @returns {string}
 */$h͏_once.mandatoryTransforms(mandatoryTransforms);
       const applyTransforms = (source, transforms) => {
  for (let i = 0, l = transforms.length; i < l; i += 1) {
    const transform = transforms[i];
    source = transform(source);
  }
  return source;
};

// export all as a frozen object
$h͏_once.applyTransforms(applyTransforms);const transforms=freeze({
  rejectHtmlComments: freeze(rejectHtmlComments),
  evadeHtmlCommentTest: freeze(evadeHtmlCommentTest),
  rejectImportExpressions: freeze(rejectImportExpressions),
  evadeImportExpressionTest: freeze(evadeImportExpressionTest),
  rejectSomeDirectEvalExpressions: freeze(rejectSomeDirectEvalExpressions),
  mandatoryTransforms: freeze(mandatoryTransforms),
  applyTransforms: freeze(applyTransforms),
});$h͏_once.transforms(transforms);
})()
,
// === 34. ses ./src/scope-constants.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let arrayFilter,arrayIncludes,getOwnPropertyDescriptor,getOwnPropertyNames,hasOwn,regexpExec,Set,setHas;$h͏_imports([["./commons.js", [["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["arrayIncludes",[$h͏_a => (arrayIncludes = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]],["Set",[$h͏_a => (Set = $h͏_a)]],["setHas",[$h͏_a => (setHas = $h͏_a)]]]]]);










/**
 * reservedNames
 * In JavaScript you cannot use reserved words as variable names (except for
 * "eval", which is specially reserved to prevent shadowing).
 * https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#sec-identifier-names
 */
const reservedNames = new Set([
  // 11.6.2.1 Keywords
  'await',
  'break',
  'case',
  'catch',
  'class',
  'const',
  'continue',
  'debugger',
  'default',
  'delete',
  'do',
  'else',
  'export',
  'extends',
  'finally',
  'for',
  'function',
  'if',
  'import',
  'in',
  'instanceof',
  'new',
  'return',
  'super',
  'switch',
  'this',
  'throw',
  'try',
  'typeof',
  'var',
  'void',
  'while',
  'with',
  'yield',

  // Also reserved when parsing strict mode code
  'let',
  'static',

  // 11.6.2.2 Future Reserved Words
  'enum',

  // Also reserved when parsing strict mode code
  'implements',
  'package',
  'protected',
  'interface',
  'private',
  'public',

  // Reserved but not mentioned in specs
  'await',

  'null',
  'true',
  'false',

  'this',
  'arguments',

  // Reserved by us
  'eval',
]);

/**
 * identifierPattern
 * Simplified validation of identifier names: may only contain alphanumeric
 * characters (or "$" or "_"), and may not start with a digit. This is safe
 * and does not reduces the compatibility of the shim. The motivation for
 * this limitation was to decrease the complexity of the implementation,
 * and to maintain a resonable level of performance.
 * Note: \w is equivalent [a-zA-Z_0-9]
 * See 11.6.1 Identifier Names
 */
const identifierPattern = /^[a-zA-Z_$][\w$]*$/;

/**
 * isValidIdentifierName()
 * Is a value allowed as an arbitrary identifier name?
 *
 * @param {string} name
 */
       const isValidIdentifierName = name =>
  !setHas(reservedNames, name) && !!regexpExec(identifierPattern, name);

/*
 * isImmutableDataProperty
 */$h͏_once.isValidIdentifierName(isValidIdentifierName);

function isImmutableDataProperty(obj, name) {
  const desc = getOwnPropertyDescriptor(obj, name);
  return (
    desc &&
    //
    // The getters will not have .writable, don't let the falsyness of
    // 'undefined' trick us: test with === false, not ! . However descriptors
    // inherit from the (potentially poisoned) global object, so we might see
    // extra properties which weren't really there. Accessor properties have
    // 'get/set/enumerable/configurable', while data properties have
    // 'value/writable/enumerable/configurable'.
    desc.configurable === false &&
    desc.writable === false &&
    //
    // Checks for data properties because they're the only ones we can
    // optimize (accessors are most likely non-constant). Descriptors can't
    // can't have accessors and value properties at the same time, therefore
    // this check is sufficient. Using explicit own property deal with the
    // case where Object.prototype has been poisoned.
    hasOwn(desc, 'value')
  );
}

/**
 * getScopeConstants()
 * What variable names might be brought into scope? These include all
 * property names which can be variable names, including the names
 * of inherited properties. It excludes symbols and names which are
 * keywords. We drop symbols safely. Currently, this shim refuses
 * service if any of the names are keywords or keyword-like. This is
 * safe and only affects performance optimization.
 *
 * @param {object} globalObject
 * @param {object} moduleLexicals
 */
       const getScopeConstants = (globalObject, moduleLexicals = {}) => {
  // getOwnPropertyNames() does ignore Symbols so we don't need to
  // filter them out.
  const globalObjectNames = getOwnPropertyNames(globalObject);
  const moduleLexicalNames = getOwnPropertyNames(moduleLexicals);

  // Collect all valid & immutable identifiers from the endowments.
  const moduleLexicalConstants = arrayFilter(
    moduleLexicalNames,
    name =>
      isValidIdentifierName(name) &&
      isImmutableDataProperty(moduleLexicals, name),
  );

  // Collect all valid & immutable identifiers from the global that
  // are also not present in the endowments (immutable or not).
  const globalObjectConstants = arrayFilter(
    globalObjectNames,
    name =>
      // Can't define a constant: it would prevent a
      // lookup on the endowments.
      !arrayIncludes(moduleLexicalNames, name) &&
      isValidIdentifierName(name) &&
      isImmutableDataProperty(globalObject, name),
  );

  return {
    globalObjectConstants,
    moduleLexicalConstants,
  };
};$h͏_once.getScopeConstants(getScopeConstants);
})()
,
// === 35. ses ./src/make-evaluate.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,arrayJoin,apply,getScopeConstants;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]]]],["./scope-constants.js", [["getScopeConstants",[$h͏_a => (getScopeConstants = $h͏_a)]]]]]);




/**
 * buildOptimizer()
 * Given an array of identifiers, the optimizer returns a `const` declaration
 * destructuring `this.${name}`.
 *
 * @param {Array<string>} constants
 * @param {string} name
 */
function buildOptimizer(constants, name) {
  // No need to build an optimizer when there are no constants.
  if (constants.length === 0) return '';
  // Use 'this' to avoid going through the scope proxy, which is unnecessary
  // since the optimizer only needs references to the safe global.
  // Destructure the constants from the target scope object.
  return `const {${arrayJoin(constants, ',')}} = this.${name};`;
}

/**
 * makeEvaluate()
 * Create an 'evaluate' function with the correct optimizer inserted.
 *
 * @param {object} context
 * @param {object} context.evalScope
 * @param {object} context.moduleLexicals
 * @param {object} context.globalObject
 * @param {object} context.scopeTerminator
 */
       const makeEvaluate = context => {
  const { globalObjectConstants, moduleLexicalConstants } = getScopeConstants(
    context.globalObject,
    context.moduleLexicals,
  );
  const globalObjectOptimizer = buildOptimizer(
    globalObjectConstants,
    'globalObject',
  );
  const moduleLexicalOptimizer = buildOptimizer(
    moduleLexicalConstants,
    'moduleLexicals',
  );

  // Create a function in sloppy mode, so that we can use 'with'. It returns
  // a function in strict mode that evaluates the provided code using direct
  // eval, and thus in strict mode in the same scope. We must be very careful
  // to not create new names in this scope

  // 1: we use multiple nested 'with' to catch all free variable names. The
  // `this` value of the outer sloppy function holds the different scope
  // layers, from inner to outer:
  //    a) `evalScope` which must release the `FERAL_EVAL` as 'eval' once for
  //       every invocation of the inner `evaluate` function in order to
  //       trigger direct eval. The direct eval semantics is what allows the
  //       evaluated code to lookup free variable names on the other scope
  //       objects and not in global scope.
  //    b) `moduleLexicals` which provide a way to introduce free variables
  //       that are not available on the globalObject.
  //    c) `globalObject` is the global scope object of the evaluator, aka the
  //       Compartment's `globalThis`.
  //    d) `scopeTerminator` is a proxy object which prevents free variable
  //       lookups to escape to the start compartment's global object.
  // 2: `optimizer`s catch constant variable names for speed.
  // 3: The inner strict `evaluate` function should be passed two parameters:
  //    a) its arguments[0] is the source to be directly evaluated.
  //    b) its 'this' is the this binding seen by the code being
  //       directly evaluated (the globalObject).

  // Notes:
  // - The `optimizer` strings only lookup values on the `globalObject` and
  //   `moduleLexicals` objects by construct. Keywords like 'function' are
  //   reserved and cannot be used as a variable, so they are excluded from the
  //   optimizer. Furthermore to prevent shadowing 'eval', while a valid
  //   identifier, that name is also explicitly excluded.
  // - when 'eval' is looked up in the `evalScope`, the powerful unsafe eval
  //   intrinsic is returned after automatically removing it from the
  //   `evalScope`. Any further reference to 'eval' in the evaluate string will
  //   get the tamed evaluator from the `globalObject`, if any.

  // TODO https://github.com/endojs/endo/issues/816
  // The optimizer currently runs under sloppy mode, and although we doubt that
  // there is any vulnerability introduced just by running the optimizer
  // sloppy, we are much more confident in the semantics of strict mode.
  // The `evaluate` function can be and is reused across multiple evaluations.
  // Since the optimizer should not be re-evaluated every time, it cannot be
  // inside the `evaluate` closure. While we could potentially nest an
  // intermediate layer of `() => {'use strict'; ${optimizers}; ...`, it
  // doesn't seem worth the overhead and complexity.
  const evaluateFactory = FERAL_FUNCTION(`
    with (this.scopeTerminator) {
      with (this.globalObject) {
        with (this.moduleLexicals) {
          with (this.evalScope) {
            ${globalObjectOptimizer}
            ${moduleLexicalOptimizer}
            return function() {
              'use strict';
              return eval(arguments[0]);
            };
          }
        }
      }
    }
  `);

  return apply(evaluateFactory, context, []);
};$h͏_once.makeEvaluate(makeEvaluate);
})()
,
// === 36. ses ./src/make-safe-evaluator.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let apply,arrayFlatMap,freeze,identity,strictScopeTerminator,createSloppyGlobalsScopeTerminator,makeEvalScopeKit,applyTransforms,mandatoryTransforms,makeEvaluate,assert;$h͏_imports([["./commons.js", [["apply",[$h͏_a => (apply = $h͏_a)]],["arrayFlatMap",[$h͏_a => (arrayFlatMap = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["identity",[$h͏_a => (identity = $h͏_a)]]]],["./strict-scope-terminator.js", [["strictScopeTerminator",[$h͏_a => (strictScopeTerminator = $h͏_a)]]]],["./sloppy-globals-scope-terminator.js", [["createSloppyGlobalsScopeTerminator",[$h͏_a => (createSloppyGlobalsScopeTerminator = $h͏_a)]]]],["./eval-scope.js", [["makeEvalScopeKit",[$h͏_a => (makeEvalScopeKit = $h͏_a)]]]],["./transforms.js", [["applyTransforms",[$h͏_a => (applyTransforms = $h͏_a)]],["mandatoryTransforms",[$h͏_a => (mandatoryTransforms = $h͏_a)]]]],["./make-evaluate.js", [["makeEvaluate",[$h͏_a => (makeEvaluate = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);










const { Fail } = assert;

/**
 * makeSafeEvaluator()
 * Build the low-level operation used by all evaluators:
 * eval(), Function(), Compartment.prototype.evaluate().
 *
 * @param {object} options
 * @param {object} options.globalObject
 * @param {object} [options.moduleLexicals]
 * @param {Array<import('./lockdown.js').Transform>} [options.globalTransforms]
 * @param {boolean} [options.sloppyGlobalsMode]
 */
       const makeSafeEvaluator = ({
  globalObject,
  moduleLexicals = {},
  globalTransforms = [],
  sloppyGlobalsMode = false,
}) => {
  const scopeTerminator = sloppyGlobalsMode
    ? createSloppyGlobalsScopeTerminator(globalObject)
    : strictScopeTerminator;
  const evalScopeKit = makeEvalScopeKit();
  const { evalScope } = evalScopeKit;

  const evaluateContext = freeze({
    evalScope,
    moduleLexicals,
    globalObject,
    scopeTerminator,
  });

  // Defer creating the actual evaluator to first use.
  // Creating a compartment should be possible in no-eval environments
  // It also allows more global constants to be captured by the optimizer
  let evaluate;
  const provideEvaluate = () => {
    if (!evaluate) {
      evaluate = makeEvaluate(evaluateContext);
    }
  };

  /**
   * @param {string} source
   * @param {object} [options]
   * @param {Array<import('./lockdown.js').Transform>} [options.localTransforms]
   */
  const safeEvaluate = (source, options) => {
    const { localTransforms = [] } = options || {};
    provideEvaluate();

    // Execute the mandatory transforms last to ensure that any rewritten code
    // meets those mandatory requirements.
    source = applyTransforms(
      source,
      arrayFlatMap(
        [localTransforms, globalTransforms, [mandatoryTransforms]],
        identity,
      ),
    );

    let err;
    try {
      // Allow next reference to eval produce the unsafe FERAL_EVAL.
      // eslint-disable-next-line @endo/no-polymorphic-call
      evalScopeKit.allowNextEvalToBeUnsafe();

      // Ensure that "this" resolves to the safe global.
      return apply(evaluate, globalObject, [source]);
    } catch (e) {
      // stash the child-code error in hopes of debugging the internal failure
      err = e;
      throw e;
    } finally {
      const unsafeEvalWasStillExposed = 'eval' in evalScope;
      delete evalScope.eval;
      if (unsafeEvalWasStillExposed) {
        // Barring a defect in the SES shim, the evalScope should allow the
        // powerful, unsafe  `eval` to be used by `evaluate` exactly once, as the
        // very first name that it attempts to access from the lexical scope.
        // A defect in the SES shim could throw an exception after we set
        // `evalScope.eval` and before `evaluate` calls `eval` internally.
        // If we get here, SES is very broken.
        // This condition is one where this vat is now hopelessly confused, and
        // the vat as a whole should be aborted.
        // No further code should run.
        // All immediately reachable state should be abandoned.
        // However, that is not yet possible, so we at least prevent further
        // variable resolution via the scopeHandler, and throw an error with
        // diagnostic info including the thrown error if any from evaluating the
        // source code.
        evalScopeKit.revoked = { err };
        // TODO A GOOD PLACE TO PANIC(), i.e., kill the vat incarnation.
        // See https://github.com/Agoric/SES-shim/issues/490
        Fail`handler did not reset allowNextEvalToBeUnsafe ${err}`;
      }
    }
  };

  return { safeEvaluate };
};$h͏_once.makeSafeEvaluator(makeSafeEvaluator);
})()
,
// === 37. ses ./src/tame-function-tostring.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let WeakSet,defineProperty,freeze,functionPrototype,functionToString,stringEndsWith,weaksetAdd,weaksetHas;$h͏_imports([["./commons.js", [["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["functionPrototype",[$h͏_a => (functionPrototype = $h͏_a)]],["functionToString",[$h͏_a => (functionToString = $h͏_a)]],["stringEndsWith",[$h͏_a => (stringEndsWith = $h͏_a)]],["weaksetAdd",[$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]]]]]);










const nativeSuffix = ') { [native code] }';

// Note: Top level mutable state. Does not make anything worse, since the
// patching of `Function.prototype.toString` is also globally stateful. We
// use this top level state so that multiple calls to `tameFunctionToString` are
// idempotent, rather than creating redundant indirections.
let markVirtualizedNativeFunction;

/**
 * Replace `Function.prototype.toString` with one that recognizes
 * shimmed functions as honorary native functions.
 */
       const tameFunctionToString = () => {
  if (markVirtualizedNativeFunction === undefined) {
    const virtualizedNativeFunctions = new WeakSet();

    const tamingMethods = {
      toString() {
        const str = functionToString(this);
        if (
          stringEndsWith(str, nativeSuffix) ||
          !weaksetHas(virtualizedNativeFunctions, this)
        ) {
          return str;
        }
        return `function ${this.name}() { [native code] }`;
      },
    };

    defineProperty(functionPrototype, 'toString', {
      value: tamingMethods.toString,
    });

    markVirtualizedNativeFunction = freeze(func =>
      weaksetAdd(virtualizedNativeFunctions, func),
    );
  }
  return markVirtualizedNativeFunction;
};$h͏_once.tameFunctionToString(tameFunctionToString);
})()
,
// === 38. ses ./src/tame-domains.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,globalThis,getOwnPropertyDescriptor,defineProperty;$h͏_imports([["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]]]]]);Object.defineProperty(tameDomains,'name',{value:"tameDomains"});$h͏_once.tameDomains(tameDomains);








       function tameDomains(domainTaming = 'safe') {
  if (domainTaming === 'unsafe') {
    return;
  }

  // Protect against the hazard presented by Node.js domains.
  const globalProcess = globalThis.process || undefined;
  if (typeof globalProcess === 'object') {
    // Check whether domains were initialized.
    const domainDescriptor = getOwnPropertyDescriptor(globalProcess, 'domain');
    if (domainDescriptor !== undefined && domainDescriptor.get !== undefined) {
      // The domain descriptor on Node.js initially has value: null, which
      // becomes a get, set pair after domains initialize.
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_NO_DOMAINS.md
      throw TypeError(
        `SES failed to lockdown, Node.js domains have been initialized (SES_NO_DOMAINS)`,
      );
    }
    // Prevent domains from initializing.
    // This is clunky because the exception thrown from the domains package does
    // not direct the user's gaze toward a knowledge base about the problem.
    // The domain module merely throws an exception when it attempts to define
    // the domain property of the process global during its initialization.
    // We have no better recourse because Node.js uses defineProperty too.
    defineProperty(globalProcess, 'domain', {
      value: null,
      configurable: false,
      writable: false,
      enumerable: false,
    });
  }
}
})()
,
// === 39. ses ./src/tame-module-source.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let functionPrototype,getPrototypeOf,globalThis,objectPrototype,setPrototypeOf;$h͏_imports([["./commons.js", [["functionPrototype",[$h͏_a => (functionPrototype = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["objectPrototype",[$h͏_a => (objectPrototype = $h͏_a)]],["setPrototypeOf",[$h͏_a => (setPrototypeOf = $h͏_a)]]]]]);







       const tameModuleSource = () => {
  const newIntrinsics = {};

  const ModuleSource = globalThis.ModuleSource;
  if (ModuleSource !== undefined) {
    newIntrinsics.ModuleSource = ModuleSource;

    // We introduce ModuleSource.[[Proto]] === AbstractModuleSource
    // and ModuleSource.prototype.[[Proto]] === AbstractModuleSource.prototype
    // if that layer is absent because the permitting system can more
    // gracefully tolerate the absence of an expected prototype than the
    // presence of an unexpected prototype,.
    function AbstractModuleSource() {
      // no-op safe to super()
    }

    const ModuleSourceProto = getPrototypeOf(ModuleSource);
    if (ModuleSourceProto === functionPrototype) {
      setPrototypeOf(ModuleSource, AbstractModuleSource);
      newIntrinsics['%AbstractModuleSource%'] = AbstractModuleSource;
      newIntrinsics['%AbstractModuleSourcePrototype%'] =
        AbstractModuleSource.prototype;
    } else {
      newIntrinsics['%AbstractModuleSource%'] = ModuleSourceProto;
      newIntrinsics['%AbstractModuleSourcePrototype%'] =
        ModuleSourceProto.prototype;
    }

    const ModuleSourcePrototype = ModuleSource.prototype;
    if (ModuleSourcePrototype !== undefined) {
      newIntrinsics['%ModuleSourcePrototype%'] = ModuleSourcePrototype;

      // ModuleSource.prototype.__proto__ should be the
      // AbstractModuleSource.prototype.
      const ModuleSourcePrototypeProto = getPrototypeOf(ModuleSourcePrototype);
      if (ModuleSourcePrototypeProto === objectPrototype) {
        setPrototypeOf(ModuleSource.prototype, AbstractModuleSource.prototype);
      }
    }
  }

  return newIntrinsics;
};$h͏_once.tameModuleSource(tameModuleSource);
})()
,
// === 40. ses ./src/error/console.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let WeakSet,arrayFilter,arrayFlatMap,arrayMap,arrayPop,arrayPush,defineProperty,freeze,fromEntries,isError,stringEndsWith,stringIncludes,stringSplit,weaksetAdd,weaksetHas;$h͏_imports([["../commons.js", [["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["arrayFlatMap",[$h͏_a => (arrayFlatMap = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["arrayPop",[$h͏_a => (arrayPop = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["fromEntries",[$h͏_a => (fromEntries = $h͏_a)]],["isError",[$h͏_a => (isError = $h͏_a)]],["stringEndsWith",[$h͏_a => (stringEndsWith = $h͏_a)]],["stringIncludes",[$h͏_a => (stringIncludes = $h͏_a)]],["stringSplit",[$h͏_a => (stringSplit = $h͏_a)]],["weaksetAdd",[$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]]]]]);
























/**
 * @import {FilterConsole, LogSeverity, VirtualConsole} from './types.js'
 * @import {ErrorInfo, ErrorInfoKind, LogRecord, NoteCallback, LoggedErrorHandler, MakeCausalConsole, MakeLoggingConsoleKit} from "./internal-types.js";
 */

/**
 * Explicitly set a function's name, supporting use of arrow functions for which
 * source text doesn't include a name and no initial name is set by
 * NamedEvaluation
 * https://tc39.es/ecma262/multipage/syntax-directed-operations.html#sec-runtime-semantics-namedevaluation
 * Instead, we hope that tooling uses only the explicit `name` property.
 *
 * @template {Function} F
 * @param {string} name
 * @param {F} fn
 * @returns {F}
 */
const defineName = (name, fn) => defineProperty(fn, 'name', { value: name });

// For our internal debugging purposes, uncomment
// const internalDebugConsole = console;

// The permitted console methods, from:
// Whatwg "living standard" https://console.spec.whatwg.org/
// Node https://nodejs.org/dist/latest-v14.x/docs/api/console.html
// MDN https://developer.mozilla.org/en-US/docs/Web/API/Console_API
// TypeScript https://openstapps.gitlab.io/projectmanagement/interfaces/_node_modules__types_node_globals_d_.console.html
// Chrome https://developers.google.com/web/tools/chrome-devtools/console/api

// All console level methods have parameters (fmt?, ...args)
// where the argument sequence `fmt?, ...args` formats args according to
// fmt if fmt is a format string. Otherwise, it just renders them all as values
// separated by spaces.
// https://console.spec.whatwg.org/#formatter
// https://nodejs.org/docs/latest/api/util.html#util_util_format_format_args

// For the causal console, all occurrences of `fmt, ...args` or `...args` by
// itself must check for the presence of an error to ask the
// `loggedErrorHandler` to handle.
// In theory we should do a deep inspection to detect for example an array
// containing an error. We currently do not detect these and may never.

/** @typedef {keyof VirtualConsole | 'profile' | 'profileEnd'} ConsoleProps */

/**
 * Those console methods whose actual parameters are `(fmt?, ...args)`
 * even if their TypeScript types claim otherwise.
 *
 * Each is paired with what we consider to be their log severity level.
 * This is the same as the log severity of these on other
 * platform console implementations when they all agree.
 *
 * @type {readonly [ConsoleProps, LogSeverity | undefined][]}
 */
       const consoleLevelMethods = freeze([
  ['debug', 'debug'], // (fmt?, ...args) verbose level on Chrome
  ['log', 'log'], // (fmt?, ...args) info level on Chrome
  ['info', 'info'], // (fmt?, ...args)
  ['warn', 'warn'], // (fmt?, ...args)
  ['error', 'error'], // (fmt?, ...args)

  ['trace', 'log'], // (fmt?, ...args)
  ['dirxml', 'log'], // (fmt?, ...args)          but TS typed (...data)
  ['group', 'log'], // (fmt?, ...args)           but TS typed (...label)
  ['groupCollapsed', 'log']  // (fmt?, ...args)  but TS typed (...label)
]);

/**
 * Those console methods other than those already enumerated by
 * `consoleLevelMethods`.
 *
 * Each is paired with what we consider to be their log severity level.
 * This is the same as the log severity of these on other
 * platform console implementations when they all agree.
 *
 * @type {readonly [ConsoleProps, LogSeverity | undefined][]}
 */$h͏_once.consoleLevelMethods(consoleLevelMethods);
       const consoleOtherMethods = freeze([
  ['assert', 'error'], // (value, fmt?, ...args)
  ['timeLog', 'log'], // (label?, ...args) no fmt string

  // Insensitive to whether any argument is an error. All arguments can pass
  // thru to baseConsole as is.
  ['clear', undefined], // ()
  ['count', 'info'], // (label?)
  ['countReset', undefined], // (label?)
  ['dir', 'log'], // (item, options?)
  ['groupEnd', 'log'], // ()
  // In theory tabular data may be or contain an error. However, we currently
  // do not detect these and may never.
  ['table', 'log'], // (tabularData, properties?)
  ['time', 'info'], // (label?)
  ['timeEnd', 'info'], // (label?)

  // Node Inspector only, MDN, and TypeScript, but not whatwg
  ['profile', undefined], // (label?)
  ['profileEnd', undefined], // (label?)
  ['timeStamp', undefined]  // (label?)
]);

/** @type {readonly [ConsoleProps, LogSeverity | undefined][]} */$h͏_once.consoleOtherMethods(consoleOtherMethods);
const consoleMethodPermits = freeze([
  ...consoleLevelMethods,
  ...consoleOtherMethods,
]);

/**
 * consoleOmittedProperties is currently unused. I record and maintain it here
 * with the intention that it be treated like the `false` entries in the main
 * SES permits: that seeing these on the original console is expected, but
 * seeing anything else that's outside the permits is surprising and should
 * provide a diagnostic.
 *
 * const consoleOmittedProperties = freeze([
 *   'memory', // Chrome
 *   'exception', // FF, MDN
 *   '_ignoreErrors', // Node
 *   '_stderr', // Node
 *   '_stderrErrorHandler', // Node
 *   '_stdout', // Node
 *   '_stdoutErrorHandler', // Node
 *   '_times', // Node
 *   'context', // Chrome, Node
 *   'record', // Safari
 *   'recordEnd', // Safari
 *
 *   'screenshot', // Safari
 *   // Symbols
 *   '@@toStringTag', // Chrome: "Object", Safari: "Console"
 *   // A variety of other symbols also seen on Node
 * ]);
 */

// //////////////////////////// Logging Console ////////////////////////////////

/** @type {MakeLoggingConsoleKit} */
       const makeLoggingConsoleKit = (
  loggedErrorHandler,
  { shouldResetForDebugging = false } = {},
) => {
  if (shouldResetForDebugging) {
    // eslint-disable-next-line @endo/no-polymorphic-call
    loggedErrorHandler.resetErrorTagNum();
  }

  // Not frozen!
  let logArray = [];

  const loggingConsole = fromEntries(
    arrayMap(consoleMethodPermits, ([name, _]) => {
      /**
       * @param {...any} args
       */
      const method = defineName(name, (...args) => {
        arrayPush(logArray, [name, ...args]);
      });
      return [name, freeze(method)];
    }),
  );
  freeze(loggingConsole);

  const takeLog = () => {
    const result = freeze(logArray);
    logArray = [];
    return result;
  };
  freeze(takeLog);

  const typedLoggingConsole = /** @type {VirtualConsole} */ (loggingConsole);

  return freeze({ loggingConsole: typedLoggingConsole, takeLog });
};$h͏_once.makeLoggingConsoleKit(makeLoggingConsoleKit);
freeze(makeLoggingConsoleKit);

/**
 * Makes the same calls on a `baseConsole` that were made on a
 * `loggingConsole` to produce this `log`. In this way, a logging console
 * can be used as a buffer to delay the application of these calls to a
 * `baseConsole`.
 *
 * @param {LogRecord[]} log
 * @param {VirtualConsole} baseConsole
 */
       const pumpLogToConsole = (log, baseConsole) => {
  for (const [name, ...args] of log) {
    // eslint-disable-next-line @endo/no-polymorphic-call
    baseConsole[name](...args);
  }
};
// //////////////////////////// Causal Console /////////////////////////////////

/** @type {ErrorInfo} */$h͏_once.pumpLogToConsole(pumpLogToConsole);
const ErrorInfo = {
  NOTE: 'ERROR_NOTE:',
  MESSAGE: 'ERROR_MESSAGE:',
  CAUSE: 'cause:',
  ERRORS: 'errors:',
};
freeze(ErrorInfo);

/** @type {MakeCausalConsole} */
       const makeCausalConsole = (baseConsole, loggedErrorHandler) => {
  if (!baseConsole) {
    return undefined;
  }

  const { getStackString, tagError, takeMessageLogArgs, takeNoteLogArgsArray } =
    loggedErrorHandler;

  /**
   * @param {ReadonlyArray<any>} logArgs
   * @param {Array<any>} subErrorsSink
   * @returns {any}
   */
  const extractErrorArgs = (logArgs, subErrorsSink) => {
    const argTags = arrayMap(logArgs, arg => {
      if (isError(arg)) {
        arrayPush(subErrorsSink, arg);
        return `(${tagError(arg)})`;
      }
      return arg;
    });
    return argTags;
  };

  /**
   * @param {LogSeverity} severity
   * @param {Error} error
   * @param {ErrorInfoKind} kind
   * @param {readonly any[]} logArgs
   * @param {Array<Error>} subErrorsSink
   */
  const logErrorInfo = (severity, error, kind, logArgs, subErrorsSink) => {
    const errorTag = tagError(error);
    const errorName =
      kind === ErrorInfo.MESSAGE ? `${errorTag}:` : `${errorTag} ${kind}`;
    const argTags = extractErrorArgs(logArgs, subErrorsSink);
    // eslint-disable-next-line @endo/no-polymorphic-call
    baseConsole[severity](errorName, ...argTags);
  };

  /**
   * Logs the `subErrors` within a group name mentioning `optTag`.
   *
   * @param {LogSeverity} severity
   * @param {Error[]} subErrors
   * @param {string | undefined} optTag
   * @returns {void}
   */
  const logSubErrors = (severity, subErrors, optTag = undefined) => {
    if (subErrors.length === 0) {
      return;
    }
    if (subErrors.length === 1 && optTag === undefined) {
      // eslint-disable-next-line no-use-before-define
      logError(severity, subErrors[0]);
      return;
    }
    let label;
    if (subErrors.length === 1) {
      label = `Nested error`;
    } else {
      label = `Nested ${subErrors.length} errors`;
    }
    if (optTag !== undefined) {
      label = `${label} under ${optTag}`;
    }
    // eslint-disable-next-line @endo/no-polymorphic-call
    baseConsole.group(label);
    try {
      for (const subError of subErrors) {
        // eslint-disable-next-line no-use-before-define
        logError(severity, subError);
      }
    } finally {
      if (baseConsole.groupEnd) {
        // eslint-disable-next-line @endo/no-polymorphic-call
        baseConsole.groupEnd();
      }
    }
  };

  const errorsLogged = new WeakSet();

  /** @type {(severity: LogSeverity) => NoteCallback} */
  const makeNoteCallback = severity => (error, noteLogArgs) => {
    const subErrors = [];
    // Annotation arrived after the error has already been logged,
    // so just log the annotation immediately, rather than remembering it.
    logErrorInfo(severity, error, ErrorInfo.NOTE, noteLogArgs, subErrors);
    logSubErrors(severity, subErrors, tagError(error));
  };

  /**
   * @param {LogSeverity} severity
   * @param {Error} error
   */
  const logError = (severity, error) => {
    if (weaksetHas(errorsLogged, error)) {
      return;
    }
    const errorTag = tagError(error);
    weaksetAdd(errorsLogged, error);
    const subErrors = [];
    const messageLogArgs = takeMessageLogArgs(error);
    const noteLogArgsArray = takeNoteLogArgsArray(
      error,
      makeNoteCallback(severity),
    );
    // Show the error's most informative error message
    if (messageLogArgs === undefined) {
      // If there is no message log args, then just show the message that
      // the error itself carries.
      // eslint-disable-next-line @endo/no-polymorphic-call
      baseConsole[severity](`${errorTag}:`, error.message);
    } else {
      // If there is one, we take it to be strictly more informative than the
      // message string carried by the error, so show it *instead*.
      logErrorInfo(
        severity,
        error,
        ErrorInfo.MESSAGE,
        messageLogArgs,
        subErrors,
      );
    }
    // After the message but before any other annotations, show the stack.
    let stackString = getStackString(error);
    if (
      typeof stackString === 'string' &&
      stackString.length >= 1 &&
      !stringEndsWith(stackString, '\n')
    ) {
      stackString += '\n';
    }
    // eslint-disable-next-line @endo/no-polymorphic-call
    baseConsole[severity](stackString);
    // Show the other annotations on error
    if (error.cause) {
      logErrorInfo(severity, error, ErrorInfo.CAUSE, [error.cause], subErrors);
    }
    // @ts-expect-error AggregateError has an `errors` property.
    if (error.errors) {
      // @ts-expect-error AggregateError has an `errors` property.
      logErrorInfo(severity, error, ErrorInfo.ERRORS, error.errors, subErrors);
    }
    for (const noteLogArgs of noteLogArgsArray) {
      logErrorInfo(severity, error, ErrorInfo.NOTE, noteLogArgs, subErrors);
    }
    // explain all the errors seen in the messages already emitted.
    logSubErrors(severity, subErrors, errorTag);
  };

  const levelMethods = arrayMap(consoleLevelMethods, ([level, _]) => {
    /**
     * @param {...any} logArgs
     */
    const levelMethod = defineName(level, (...logArgs) => {
      const subErrors = [];
      const argTags = extractErrorArgs(logArgs, subErrors);
      if (baseConsole[level]) {
        // eslint-disable-next-line @endo/no-polymorphic-call
        baseConsole[level](...argTags);
      }
      // @ts-expect-error ConsoleProp vs LogSeverity mismatch
      logSubErrors(level, subErrors);
    });
    return [level, freeze(levelMethod)];
  });
  const otherMethodNames = arrayFilter(
    consoleOtherMethods,
    ([name, _]) => name in baseConsole,
  );
  const otherMethods = arrayMap(otherMethodNames, ([name, _]) => {
    /**
     * @param {...any} args
     */
    const otherMethod = defineName(name, (...args) => {
      // @ts-ignore
      // eslint-disable-next-line @endo/no-polymorphic-call
      baseConsole[name](...args);
      return undefined;
    });
    return [name, freeze(otherMethod)];
  });

  const causalConsole = fromEntries([...levelMethods, ...otherMethods]);
  return /** @type {VirtualConsole} */ (freeze(causalConsole));
};$h͏_once.makeCausalConsole(makeCausalConsole);
freeze(makeCausalConsole);

/**
 * @typedef {(...args: unknown[]) => void} Logger
 */

/**
 * This is a rather horrible kludge to indent the output to a logger in
 * the case where some arguments are strings containing newlines. Part of
 * the problem is that console-like loggers, including the one in ava,
 * join the string arguments of the log message with a space.
 * Because of this, there's an extra space at the beginning of each of
 * the split lines. So this kludge compensated by putting an extra empty
 * string at the beginning, so that the logger will add the same extra
 * joiner.
 * TODO: Fix this horrible kludge, and indent in a sane manner.
 *
 * @param {string} str
 * @param {string} sep
 * @param {string[]} indents
 * @returns {string[]}
 */
const indentAfterAllSeps = (str, sep, indents) => {
  const [firstLine, ...restLines] = stringSplit(str, sep);
  const indentedRest = arrayFlatMap(restLines, line => [sep, ...indents, line]);
  return ['', firstLine, ...indentedRest];
};

/**
 * @param {LoggedErrorHandler} loggedErrorHandler
 */
       const defineCausalConsoleFromLogger = loggedErrorHandler => {
  /**
   * Implement the `VirtualConsole` API badly by turning all calls into
   * calls on `tlogger`. We need to do this to have `console` logging
   * turn into calls to Ava's `t.log`, so these console log messages
   * are output in the right place.
   *
   * @param {Logger} tlogger
   * @returns {VirtualConsole}
   */
  const makeCausalConsoleFromLogger = tlogger => {
    const indents = [];
    const logWithIndent = (...args) => {
      if (indents.length > 0) {
        args = arrayFlatMap(args, arg =>
          typeof arg === 'string' && stringIncludes(arg, '\n')
            ? indentAfterAllSeps(arg, '\n', indents)
            : [arg],
        );
        args = [...indents, ...args];
      }
      return tlogger(...args);
    };

    const baseConsole = fromEntries([
      ...arrayMap(consoleLevelMethods, ([name]) => [
        name,
        defineName(name, (...args) => logWithIndent(...args)),
      ]),
      ...arrayMap(consoleOtherMethods, ([name]) => [
        name,
        defineName(name, (...args) => logWithIndent(name, ...args)),
      ]),
    ]);
    // https://console.spec.whatwg.org/#grouping
    for (const name of ['group', 'groupCollapsed']) {
      if (baseConsole[name]) {
        baseConsole[name] = defineName(name, (...args) => {
          if (args.length >= 1) {
            // Prefix the logged data with "group" or "groupCollapsed".
            logWithIndent(...args);
          }
          // A single space is enough;
          // the host console will separate them with additional spaces.
          arrayPush(indents, ' ');
        });
      } else {
        baseConsole[name] = defineName(name, () => {});
      }
    }
    baseConsole.groupEnd = defineName(
      'groupEnd',
      baseConsole.groupEnd
        ? (...args) => {
            arrayPop(indents);
          }
        : () => {},
    );
    harden(baseConsole);
    const causalConsole = makeCausalConsole(
      /** @type {VirtualConsole} */ (baseConsole),
      loggedErrorHandler,
    );
    return /** @type {VirtualConsole} */ (causalConsole);
  };
  return freeze(makeCausalConsoleFromLogger);
};$h͏_once.defineCausalConsoleFromLogger(defineCausalConsoleFromLogger);
freeze(defineCausalConsoleFromLogger);

// ///////////////////////// Filter Console ////////////////////////////////////

/** @type {FilterConsole} */
       const filterConsole = (baseConsole, filter, _topic = undefined) => {
  // TODO do something with optional topic string
  const methodPermits = arrayFilter(
    consoleMethodPermits,
    ([name, _]) => name in baseConsole,
  );
  const methods = arrayMap(methodPermits, ([name, severity]) => {
    /**
     * @param {...any} args
     */
    const method = defineName(name, (...args) => {
      // eslint-disable-next-line @endo/no-polymorphic-call
      if (severity === undefined || filter.canLog(severity)) {
        // @ts-ignore
        // eslint-disable-next-line @endo/no-polymorphic-call
        baseConsole[name](...args);
      }
    });
    return [name, freeze(method)];
  });
  const filteringConsole = fromEntries(methods);
  return /** @type {VirtualConsole} */ (freeze(filteringConsole));
};$h͏_once.filterConsole(filterConsole);
freeze(filterConsole);
})()
,
// === 41. ses ./src/error/unhandled-rejection.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FinalizationRegistry,Map,mapGet,mapDelete,WeakMap,mapSet,finalizationRegistryRegister,weakmapSet,weakmapGet,mapEntries,mapHas;$h͏_imports([["../commons.js", [["FinalizationRegistry",[$h͏_a => (FinalizationRegistry = $h͏_a)]],["Map",[$h͏_a => (Map = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["mapDelete",[$h͏_a => (mapDelete = $h͏_a)]],["WeakMap",[$h͏_a => (WeakMap = $h͏_a)]],["mapSet",[$h͏_a => (mapSet = $h͏_a)]],["finalizationRegistryRegister",[$h͏_a => (finalizationRegistryRegister = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["mapEntries",[$h͏_a => (mapEntries = $h͏_a)]],["mapHas",[$h͏_a => (mapHas = $h͏_a)]]]]]);














/**
 * Create rejection-tracking machinery compatible with Node.js and browsers.
 *
 * Note that modern browsers *prevent* access to the 'unhandledrejection' and
 * 'rejectionhandled' events needed:
 * - in cross-origin mode, like when served from file://
 * - in the browser console (interactively typed-in code)
 * - in the debugger
 *
 * Then, they just look like: `Uncaught (in promise) Error: ...` and don't
 * implement the machinery.
 *
 * The solution is to serve your web page from an http:// or https:// web server
 * and execute actual code.
 *
 * @param {(reason: unknown) => void} reportReason report the reason for an
 * unhandled rejection.
 */
       const makeRejectionHandlers = reportReason => {
  if (FinalizationRegistry === undefined) {
    return undefined;
  }

  /** @typedef {number} ReasonId */
  let lastReasonId = 0;

  /** @type {Map<ReasonId, unknown>} */
  const idToReason = new Map();

  /** @type {(() => void) | undefined} */
  let cancelChecking;

  const removeReasonId = reasonId => {
    mapDelete(idToReason, reasonId);
    if (cancelChecking && idToReason.size === 0) {
      // No more unhandled rejections to check, just cancel the check.
      cancelChecking();
      cancelChecking = undefined;
    }
  };

  /** @type {WeakMap<Promise, ReasonId>} */
  const promiseToReasonId = new WeakMap();

  /**
   * Clean up and report the reason for a GCed unhandled rejection.
   *
   * @param {ReasonId} heldReasonId
   */
  const finalizeDroppedPromise = heldReasonId => {
    if (mapHas(idToReason, heldReasonId)) {
      const reason = mapGet(idToReason, heldReasonId);
      removeReasonId(heldReasonId);
      reportReason(reason);
    }
  };

  /** @type {FinalizationRegistry<ReasonId>} */
  const promiseToReason = new FinalizationRegistry(finalizeDroppedPromise);

  /**
   * Track a rejected promise and its corresponding reason if there is no
   * rejection handler synchronously attached.
   *
   * @param {unknown} reason
   * @param {Promise} pr
   */
  const unhandledRejectionHandler = (reason, pr) => {
    lastReasonId += 1;
    const reasonId = lastReasonId;

    // Update bookkeeping.
    mapSet(idToReason, reasonId, reason);
    weakmapSet(promiseToReasonId, pr, reasonId);
    finalizationRegistryRegister(promiseToReason, pr, reasonId, pr);
  };

  /**
   * Deal with the addition of a handler to a previously rejected promise.
   *
   * Just remove it from our list.  Let the FinalizationRegistry or
   * processTermination report any GCed unhandled rejected promises.
   *
   * @param {Promise} pr
   */
  const rejectionHandledHandler = pr => {
    const reasonId = weakmapGet(promiseToReasonId, pr);
    removeReasonId(reasonId);
  };

  /**
   * Report all the unhandled rejections, now that we are abruptly terminating
   * the agent cluster.
   */
  const processTerminationHandler = () => {
    for (const [reasonId, reason] of mapEntries(idToReason)) {
      removeReasonId(reasonId);
      reportReason(reason);
    }
  };

  return {
    rejectionHandledHandler,
    unhandledRejectionHandler,
    processTerminationHandler,
  };
};$h͏_once.makeRejectionHandlers(makeRejectionHandlers);
})()
,
// === 42. ses ./src/error/tame-console.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,apply,defineProperty,freeze,globalThis,defaultHandler,makeCausalConsole,makeRejectionHandlers;$h͏_imports([["../commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./assert.js", [["loggedErrorHandler",[$h͏_a => (defaultHandler = $h͏_a)]]]],["./console.js", [["makeCausalConsole",[$h͏_a => (makeCausalConsole = $h͏_a)]]]],["./unhandled-rejection.js", [["makeRejectionHandlers",[$h͏_a => (makeRejectionHandlers = $h͏_a)]]]]]);













/**
 * @import {VirtualConsole} from './types.js'
 * @import {GetStackString} from './internal-types.js';
 */

const failFast = message => {
  throw TypeError(message);
};

const wrapLogger = (logger, thisArg) =>
  freeze((...args) => apply(logger, thisArg, args));

/**
 * Wrap console unless suppressed.
 * At the moment, the console is considered a host power in the start
 * compartment, and not a primordial. Hence it is absent from the whilelist
 * and bypasses the intrinsicsCollector.
 *
 * @param {"safe" | "unsafe"} consoleTaming
 * @param {"platform" | "exit" | "abort" | "report" | "none"} [errorTrapping]
 * @param {"report" | "none"} [unhandledRejectionTrapping]
 * @param {GetStackString=} optGetStackString
 */
       const tameConsole = (
  consoleTaming = 'safe',
  errorTrapping = 'platform',
  unhandledRejectionTrapping = 'report',
  optGetStackString = undefined,
) => {
  let loggedErrorHandler;
  if (optGetStackString === undefined) {
    loggedErrorHandler = defaultHandler;
  } else {
    loggedErrorHandler = {
      ...defaultHandler,
      getStackString: optGetStackString,
    };
  }

  // eslint-disable-next-line no-restricted-globals
  const originalConsole = /** @type {VirtualConsole} */ (
    // eslint-disable-next-line no-nested-ternary
    typeof globalThis.console !== 'undefined'
      ? globalThis.console
      : typeof globalThis.print === 'function'
        ? // Make a good-enough console for eshost (including only functions that
          // log at a specific level with no special argument interpretation).
          // https://console.spec.whatwg.org/#logging
          (p => freeze({ debug: p, log: p, info: p, warn: p, error: p }))(
            // eslint-disable-next-line no-undef
            wrapLogger(globalThis.print),
          )
        : undefined
  );

  // Upgrade a log-only console (as in `eshost -h SpiderMonkey`).
  if (originalConsole && originalConsole.log) {
    for (const methodName of ['warn', 'error']) {
      if (!originalConsole[methodName]) {
        defineProperty(originalConsole, methodName, {
          value: wrapLogger(originalConsole.log, originalConsole),
        });
      }
    }
  }

  const ourConsole = /** @type {VirtualConsole} */ (
    consoleTaming === 'unsafe'
      ? originalConsole
      : makeCausalConsole(originalConsole, loggedErrorHandler)
  );

  // Attach platform-specific error traps such that any error that gets thrown
  // at top-of-turn (the bottom of stack) will get logged by our causal
  // console, revealing the diagnostic information associated with the error,
  // including the stack from when the error was created.

  // In the following Node.js and web browser cases, `process` and `window` are
  // spelled as `globalThis` properties to avoid the overweaning gaze of
  // Parcel, which dutifully installs an unnecessary `process` shim if we ever
  // utter that. That unnecessary shim forces the whole bundle into sloppy mode,
  // which in turn breaks SES's strict mode invariant.

  // Disable the polymorphic check for the rest of this file.  It's too noisy
  // when dealing with platform APIs.
  /* eslint-disable @endo/no-polymorphic-call */

  // Node.js
  const globalProcess = globalThis.process || undefined;
  if (
    errorTrapping !== 'none' &&
    typeof globalProcess === 'object' &&
    typeof globalProcess.on === 'function'
  ) {
    let terminate;
    if (errorTrapping === 'platform' || errorTrapping === 'exit') {
      const { exit } = globalProcess;
      // If there is a function-valued process.on but no function-valued process.exit,
      // fail early without caring whether errorTrapping is "platform" only by default.
      typeof exit === 'function' || failFast('missing process.exit');
      terminate = () => exit(globalProcess.exitCode || -1);
    } else if (errorTrapping === 'abort') {
      terminate = globalProcess.abort;
      typeof terminate === 'function' || failFast('missing process.abort');
    }

    globalProcess.on('uncaughtException', error => {
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNCAUGHT_EXCEPTION.md
      ourConsole.error('SES_UNCAUGHT_EXCEPTION:', error);
      if (terminate) {
        terminate();
      }
    });
  }
  if (
    unhandledRejectionTrapping !== 'none' &&
    typeof globalProcess === 'object' &&
    typeof globalProcess.on === 'function'
  ) {
    const handleRejection = reason => {
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNHANDLED_REJECTION.md
      ourConsole.error('SES_UNHANDLED_REJECTION:', reason);
      // 'platform' and 'report' just log the reason.
    };
    // Maybe track unhandled promise rejections.
    const h = makeRejectionHandlers(handleRejection);
    if (h) {
      // Rejection handlers are supported.
      globalProcess.on('unhandledRejection', h.unhandledRejectionHandler);
      globalProcess.on('rejectionHandled', h.rejectionHandledHandler);
      globalProcess.on('exit', h.processTerminationHandler);
    }
  }

  // Browser
  const globalWindow = globalThis.window || undefined;
  if (
    errorTrapping !== 'none' &&
    typeof globalWindow === 'object' &&
    typeof globalWindow.addEventListener === 'function'
  ) {
    globalWindow.addEventListener('error', event => {
      event.preventDefault();
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNCAUGHT_EXCEPTION.md
      ourConsole.error('SES_UNCAUGHT_EXCEPTION:', event.error);
      // 'platform' and 'report' just log the reason.
      if (errorTrapping === 'exit' || errorTrapping === 'abort') {
        globalWindow.location.href = `about:blank`;
      }
    });
  }
  if (
    unhandledRejectionTrapping !== 'none' &&
    typeof globalWindow === 'object' &&
    typeof globalWindow.addEventListener === 'function'
  ) {
    const handleRejection = reason => {
      // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_UNHANDLED_REJECTION.md
      ourConsole.error('SES_UNHANDLED_REJECTION:', reason);
    };

    const h = makeRejectionHandlers(handleRejection);
    if (h) {
      // Rejection handlers are supported.
      globalWindow.addEventListener('unhandledrejection', event => {
        event.preventDefault();
        h.unhandledRejectionHandler(event.reason, event.promise);
      });

      globalWindow.addEventListener('rejectionhandled', event => {
        event.preventDefault();
        h.rejectionHandledHandler(event.promise);
      });

      globalWindow.addEventListener('beforeunload', _event => {
        h.processTerminationHandler();
      });
    }
  }
  /* eslint-enable @endo/no-polymorphic-call */

  return { console: ourConsole };
};$h͏_once.tameConsole(tameConsole);
})()
,
// === 43. ses ./src/error/tame-v8-error-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let WeakMap,WeakSet,apply,arrayFilter,arrayJoin,arrayMap,arraySlice,create,defineProperties,fromEntries,reflectSet,regexpExec,weakmapGet,weakmapSet,weaksetAdd,weaksetHas,TypeError;$h͏_imports([["../commons.js", [["WeakMap",[$h͏_a => (WeakMap = $h͏_a)]],["WeakSet",[$h͏_a => (WeakSet = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["arraySlice",[$h͏_a => (arraySlice = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["fromEntries",[$h͏_a => (fromEntries = $h͏_a)]],["reflectSet",[$h͏_a => (reflectSet = $h͏_a)]],["regexpExec",[$h͏_a => (regexpExec = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]],["weaksetAdd",[$h͏_a => (weaksetAdd = $h͏_a)]],["weaksetHas",[$h͏_a => (weaksetHas = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]]]]]);



















// Permit names from https://v8.dev/docs/stack-trace-api
// Permiting only the names used by error-stack-shim/src/v8StackFrames
// callSiteToFrame to shim the error stack proposal.
const safeV8CallSiteMethodNames = [
  // suppress 'getThis' definitely
  'getTypeName',
  // suppress 'getFunction' definitely
  'getFunctionName',
  'getMethodName',
  'getFileName',
  'getLineNumber',
  'getColumnNumber',
  'getEvalOrigin',
  'isToplevel',
  'isEval',
  'isNative',
  'isConstructor',
  'isAsync',
  // suppress 'isPromiseAll' for now
  // suppress 'getPromiseIndex' for now

  // Additional names found by experiment, absent from
  // https://v8.dev/docs/stack-trace-api
  'getPosition',
  'getScriptNameOrSourceURL',

  'toString'  // TODO replace to use only permitted info
];

// TODO this is a ridiculously expensive way to attenuate callsites.
// Before that matters, we should switch to a reasonable representation.
const safeV8CallSiteFacet = callSite => {
  const methodEntry = name => {
    const method = callSite[name];
    return [name, () => apply(method, callSite, [])];
  };
  const o = fromEntries(arrayMap(safeV8CallSiteMethodNames, methodEntry));
  return create(o, {});
};

const safeV8SST = sst => arrayMap(sst, safeV8CallSiteFacet);

// If it has `/node_modules/` anywhere in it, on Node it is likely
// to be a dependent package of the current package, and so to
// be an infrastructure frame to be dropped from concise stack traces.
const FILENAME_NODE_DEPENDENTS_CENSOR = /\/node_modules\//;

// If it begins with `internal/` or `node:internal` then it is likely
// part of the node infrustructre itself, to be dropped from concise
// stack traces.
const FILENAME_NODE_INTERNALS_CENSOR = /^(?:node:)?internal\//;

// Frames within SES `assert.js` should be dropped from concise stack traces, as
// these are just steps towards creating the error object in question.
const FILENAME_ASSERT_CENSOR = /\/packages\/ses\/src\/error\/assert\.js$/;

// Frames within the `eventual-send` shim should be dropped so that concise
// deep stacks omit the internals of the eventual-sending mechanism causing
// asynchronous messages to be sent.
// Note that the eventual-send package will move from agoric-sdk to
// Endo, so this rule will be of general interest.
const FILENAME_EVENTUAL_SEND_CENSOR = /\/packages\/eventual-send\/src\//;

// Frames within the `ses-ava` package should be dropped from concise stack
// traces, as they just support exposing error details to AVA.
const FILENAME_SES_AVA_CENSOR = /\/packages\/ses-ava\/src\/ses-ava-test\.js$/;

// Any stack frame whose `fileName` matches any of these censor patterns
// will be omitted from concise stacks.
// TODO Enable users to configure FILENAME_CENSORS via `lockdown` options.
const FILENAME_CENSORS = [
  FILENAME_NODE_DEPENDENTS_CENSOR,
  FILENAME_NODE_INTERNALS_CENSOR,
  FILENAME_ASSERT_CENSOR,
  FILENAME_EVENTUAL_SEND_CENSOR,
  FILENAME_SES_AVA_CENSOR,
];

// Should a stack frame with this as its fileName be included in a concise
// stack trace?
// Exported only so it can be unit tested.
// TODO Move so that it applies not just to v8.
       const filterFileName = fileName => {
  if (fileName === null) {
    // Seems to suppress builtins like `Array.every (<anonymous>)`
    return false;
  }
  for (const filter of FILENAME_CENSORS) {
    if (regexpExec(filter, fileName)) {
      return false;
    }
  }
  return true;
};

// The ad-hoc rule of the current pattern is that any likely-file-path or
// likely url-path prefix, ending in a `/.../` should get dropped.
// Anything to the left of the likely path text is kept.
// Everything to the right of `/.../` is kept. Thus
// `'Object.bar (/vat-v1/.../errors/test/deep-send.test.js:13:21)'`
// simplifies to
// `'Object.bar (errors/test/deep-send.test.js:13:21)'`.
//
// See thread starting at
// https://github.com/Agoric/agoric-sdk/issues/2326#issuecomment-773020389
$h͏_once.filterFileName(filterFileName);const CALLSITE_ELLIPSIS_PATTERN1=/^((?:.*[( ])?)[:/\w_-]*\/\.\.\.\/(.+)$/;

// The ad-hoc rule of the current pattern is that any likely-file-path or
// likely url-path prefix consisting of `.../` should get dropped.
// Anything to the left of the likely path text is kept.
// Everything to the right of `.../` is kept. Thus
// `'Object.bar (.../errors/test/deep-send.test.js:13:21)'`
// simplifies to
// `'Object.bar (errors/test/deep-send.test.js:13:21)'`.
//
// See thread starting at
// https://github.com/Agoric/agoric-sdk/issues/2326#issuecomment-773020389
const CALLSITE_ELLIPSIS_PATTERN2 = /^((?:.*[( ])?)\.\.\.\/(.+)$/;

// The ad-hoc rule of the current pattern is that any likely-file-path or
// likely url-path prefix, ending in a `/` and prior to `package/` should get
// dropped.
// Anything to the left of the likely path prefix text is kept. `package/` and
// everything to its right is kept. Thus
// `'Object.bar (/Users/markmiller/src/ongithub/agoric/agoric-sdk/packages/errors/test/deep-send.test.js:13:21)'`
// simplifies to
// `'Object.bar (packages/errors/test/deep-send.test.js:13:21)'`.
// Note that `/packages/` is a convention for monorepos encouraged by
// lerna.
const CALLSITE_PACKAGES_PATTERN = /^((?:.*[( ])?)[:/\w_-]*\/(packages\/.+)$/;

// The ad-hoc rule of the current pattern is that any likely-file-path or
// likely url-path prefix of the form `file://` but not `file:///` gets
// dropped.
// Anything to the left of the likely path prefix text is kept. Everything to
// the right of `file://` is kept. Thus
// `'Object.bar (file:///Users/markmiller/src/ongithub/endojs/endo/packages/errors/test/deep-send.test.js:13:21)'` is unchanged but
// `'Object.bar (file://test/deep-send.test.js:13:21)'`

// simplifies to
// `'Object.bar (test/deep-send.test.js:13:21)'`.
// The reason is that `file:///` usually precedes an absolute path which is
// clickable without removing the `file:///`, whereas `file://` usually precedes
// a relative path which, for whatever vscode reason, is not clickable until the
// `file://` is removed.
const CALLSITE_FILE_2SLASH_PATTERN = /^((?:.*[( ])?)file:\/\/([^/].*)$/;

// The use of these callSite patterns below assumes that any match will bind
// capture groups containing the parts of the original string we want
// to keep. The parts outside those capture groups will be dropped from concise
// stacks.
// TODO Enable users to configure CALLSITE_PATTERNS via `lockdown` options.
const CALLSITE_PATTERNS = [
  CALLSITE_ELLIPSIS_PATTERN1,
  CALLSITE_ELLIPSIS_PATTERN2,
  CALLSITE_PACKAGES_PATTERN,
  CALLSITE_FILE_2SLASH_PATTERN,
];

// For a stack frame that should be included in a concise stack trace, if
// `callSiteString` is the original stringified stack frame, return the
// possibly-shorter stringified stack frame that should be shown instead.
// Exported only so it can be unit tested.
// TODO Move so that it applies not just to v8.
/**
 * @param {string} callSiteString
 */
       const shortenCallSiteString = callSiteString => {
  for (const filter of CALLSITE_PATTERNS) {
    const match = regexpExec(filter, callSiteString);
    if (match) {
      return arrayJoin(arraySlice(match, 1), '');
    }
  }
  return callSiteString;
};$h͏_once.shortenCallSiteString(shortenCallSiteString);

       const tameV8ErrorConstructor = (
  OriginalError,
  InitialError,
  errorTaming,
  stackFiltering,
) => {
  if (errorTaming === 'unsafe-debug') {
    throw TypeError(
      'internal: v8+unsafe-debug special case should already be done',
    );
  }
  // TODO: Proper CallSite types
  /** @typedef {{}} CallSite */

  const originalCaptureStackTrace = OriginalError.captureStackTrace;

  const omitFrames =
    stackFiltering === 'concise' || stackFiltering === 'omit-frames';

  const shortenPaths =
    stackFiltering === 'concise' || stackFiltering === 'shorten-paths';

  // const callSiteFilter = _callSite => true;
  const callSiteFilter = callSite => {
    if (omitFrames) {
      // eslint-disable-next-line @endo/no-polymorphic-call
      if (callSite.getFunctionName()?.startsWith('__HIDE_')) {
        return false;
      }
      // eslint-disable-next-line @endo/no-polymorphic-call
      return filterFileName(callSite.getFileName());
    }
    return true;
  };

  const callSiteStringifier = callSite => {
    let callSiteString = `${callSite}`;
    if (shortenPaths) {
      callSiteString = shortenCallSiteString(callSiteString);
    }
    return `\n  at ${callSiteString}`;
  };

  const stackStringFromSST = (_error, sst) =>
    arrayJoin(
      arrayMap(arrayFilter(sst, callSiteFilter), callSiteStringifier),
      '',
    );

  /**
   * @typedef {object} StructuredStackInfo
   * @property {CallSite[]} callSites
   * @property {undefined} [stackString]
   */

  /**
   * @typedef {object} ParsedStackInfo
   * @property {undefined} [callSites]
   * @property {string} stackString
   */

  // Mapping from error instance to the stack for that instance.
  // The stack info is either the structured stack trace
  // or the generated tamed stack string
  /** @type {WeakMap<Error, ParsedStackInfo | StructuredStackInfo>} */
  const stackInfos = new WeakMap();

  // Use concise methods to obtain named functions without constructors.
  const tamedMethods = {
    // The optional `optFn` argument is for cutting off the bottom of
    // the stack --- for capturing the stack only above the topmost
    // call to that function. Since this isn't the "real" captureStackTrace
    // but instead calls the real one, if no other cutoff is provided,
    // we cut this one off.
    captureStackTrace(error, optFn = tamedMethods.captureStackTrace) {
      if (typeof originalCaptureStackTrace === 'function') {
        // OriginalError.captureStackTrace is only on v8
        apply(originalCaptureStackTrace, OriginalError, [error, optFn]);
        return;
      }
      reflectSet(error, 'stack', '');
    },
    // Shim of proposed special power, to reside by default only
    // in the start compartment, for getting the stack traceback
    // string associated with an error.
    // See https://tc39.es/proposal-error-stacks/
    getStackString(error) {
      let stackInfo = weakmapGet(stackInfos, error);

      if (stackInfo === undefined) {
        // The following will call `prepareStackTrace()` synchronously
        // which will populate stackInfos
        // eslint-disable-next-line no-void
        void error.stack;
        stackInfo = weakmapGet(stackInfos, error);
        if (!stackInfo) {
          stackInfo = { stackString: '' };
          weakmapSet(stackInfos, error, stackInfo);
        }
      }

      // prepareStackTrace() may generate the stackString
      // if errorTaming === 'unsafe'

      if (stackInfo.stackString !== undefined) {
        return stackInfo.stackString;
      }

      const stackString = stackStringFromSST(error, stackInfo.callSites);
      weakmapSet(stackInfos, error, { stackString });

      return stackString;
    },
    prepareStackTrace(error, sst) {
      if (errorTaming === 'unsafe') {
        const stackString = stackStringFromSST(error, sst);
        weakmapSet(stackInfos, error, { stackString });
        return `${error}${stackString}`;
      } else {
        weakmapSet(stackInfos, error, { callSites: sst });
        return '';
      }
    },
  };

  // A prepareFn is a prepareStackTrace function.
  // An sst is a `structuredStackTrace`, which is an array of
  // callsites.
  // A user prepareFn is a prepareFn defined by a client of this API,
  // and provided by assigning to `Error.prepareStackTrace`.
  // A user prepareFn should only receive an attenuated sst, which
  // is an array of attenuated callsites.
  // A system prepareFn is the prepareFn created by this module to
  // be installed on the real `Error` constructor, to receive
  // an original sst, i.e., an array of unattenuated callsites.
  // An input prepareFn is a function the user assigns to
  // `Error.prepareStackTrace`, which might be a user prepareFn or
  // a system prepareFn previously obtained by reading
  // `Error.prepareStackTrace`.

  const defaultPrepareFn = tamedMethods.prepareStackTrace;

  OriginalError.prepareStackTrace = defaultPrepareFn;

  // A weakset branding some functions as system prepareFns, all of which
  // must be defined by this module, since they can receive an
  // unattenuated sst.
  const systemPrepareFnSet = new WeakSet([defaultPrepareFn]);

  const systemPrepareFnFor = inputPrepareFn => {
    if (weaksetHas(systemPrepareFnSet, inputPrepareFn)) {
      return inputPrepareFn;
    }
    // Use concise methods to obtain named functions without constructors.
    const systemMethods = {
      prepareStackTrace(error, sst) {
        weakmapSet(stackInfos, error, { callSites: sst });
        return inputPrepareFn(error, safeV8SST(sst));
      },
    };
    weaksetAdd(systemPrepareFnSet, systemMethods.prepareStackTrace);
    return systemMethods.prepareStackTrace;
  };

  // Note `stackTraceLimit` accessor already defined by
  // tame-error-constructor.js
  defineProperties(InitialError, {
    captureStackTrace: {
      value: tamedMethods.captureStackTrace,
      writable: true,
      enumerable: false,
      configurable: true,
    },
    prepareStackTrace: {
      get() {
        return OriginalError.prepareStackTrace;
      },
      set(inputPrepareStackTraceFn) {
        if (typeof inputPrepareStackTraceFn === 'function') {
          const systemPrepareFn = systemPrepareFnFor(inputPrepareStackTraceFn);
          OriginalError.prepareStackTrace = systemPrepareFn;
        } else {
          OriginalError.prepareStackTrace = defaultPrepareFn;
        }
      },
      enumerable: false,
      configurable: true,
    },
  });

  return tamedMethods.getStackString;
};$h͏_once.tameV8ErrorConstructor(tameV8ErrorConstructor);
})()
,
// === 44. ses ./src/error/tame-error-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_ERROR,apply,construct,defineProperties,setPrototypeOf,getOwnPropertyDescriptor,defineProperty,getOwnPropertyDescriptors,NativeErrors,tameV8ErrorConstructor;$h͏_imports([["../commons.js", [["FERAL_ERROR",[$h͏_a => (FERAL_ERROR = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["construct",[$h͏_a => (construct = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["setPrototypeOf",[$h͏_a => (setPrototypeOf = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]]]],["../permits.js", [["NativeErrors",[$h͏_a => (NativeErrors = $h͏_a)]]]],["./tame-v8-error-constructor.js", [["tameV8ErrorConstructor",[$h͏_a => (tameV8ErrorConstructor = $h͏_a)]]]]]);












// Present on at least FF and XS. Proposed by Error-proposal. The original
// is dangerous, so tameErrorConstructor replaces it with a safe one.
// We grab the original here before it gets replaced.
const stackDesc = getOwnPropertyDescriptor(FERAL_ERROR.prototype, 'stack');
const stackGetter = stackDesc && stackDesc.get;

// Use concise methods to obtain named functions without constructors.
const tamedMethods = {
  getStackString(error) {
    if (typeof stackGetter === 'function') {
      return apply(stackGetter, error, []);
    } else if ('stack' in error) {
      // The fallback is to just use the de facto `error.stack` if present
      return `${error.stack}`;
    }
    return '';
  },
};
let initialGetStackString = tamedMethods.getStackString;

               function tameErrorConstructor(
  errorTaming = 'safe',
  stackFiltering = 'concise',
) {
  const ErrorPrototype = FERAL_ERROR.prototype;

  const { captureStackTrace: originalCaptureStackTrace } = FERAL_ERROR;
  const platform =
    typeof originalCaptureStackTrace === 'function' ? 'v8' : 'unknown';

  const makeErrorConstructor = (_ = {}) => {
    // eslint-disable-next-line no-shadow
    const ResultError = function Error(...rest) {
      let error;
      if (new.target === undefined) {
        error = apply(FERAL_ERROR, this, rest);
      } else {
        error = construct(FERAL_ERROR, rest, new.target);
      }
      if (platform === 'v8') {
        // TODO Likely expensive!
        apply(originalCaptureStackTrace, FERAL_ERROR, [error, ResultError]);
      }
      return error;
    };
    defineProperties(ResultError, {
      length: { value: 1 },
      prototype: {
        value: ErrorPrototype,
        writable: false,
        enumerable: false,
        configurable: false,
      },
    });
    return ResultError;
  };
  const InitialError = makeErrorConstructor({ powers: 'original' });
  const SharedError = makeErrorConstructor({ powers: 'none' });
  defineProperties(ErrorPrototype, {
    constructor: { value: SharedError },
  });

  for (const NativeError of NativeErrors) {
    setPrototypeOf(NativeError, SharedError);
  }

  // https://v8.dev/docs/stack-trace-api#compatibility advises that
  // programmers can "always" set `Error.stackTraceLimit`
  // even on non-v8 platforms. On non-v8
  // it will have no effect, but this advice only makes sense
  // if the assignment itself does not fail, which it would
  // if `Error` were naively frozen. Hence, we add setters that
  // accept but ignore the assignment on non-v8 platforms.
  defineProperties(InitialError, {
    stackTraceLimit: {
      get() {
        if (typeof FERAL_ERROR.stackTraceLimit === 'number') {
          // FERAL_ERROR.stackTraceLimit is only on v8
          return FERAL_ERROR.stackTraceLimit;
        }
        return undefined;
      },
      set(newLimit) {
        if (typeof newLimit !== 'number') {
          // silently do nothing. This behavior doesn't precisely
          // emulate v8 edge-case behavior. But given the purpose
          // of this emulation, having edge cases err towards
          // harmless seems the safer option.
          return;
        }
        if (typeof FERAL_ERROR.stackTraceLimit === 'number') {
          // FERAL_ERROR.stackTraceLimit is only on v8
          FERAL_ERROR.stackTraceLimit = newLimit;
          // We place the useless return on the next line to ensure
          // that anything we place after the if in the future only
          // happens if the then-case does not.
          // eslint-disable-next-line no-useless-return
          return;
        }
      },
      // WTF on v8 stackTraceLimit is enumerable
      enumerable: false,
      configurable: true,
    },
  });

  if (errorTaming === 'unsafe-debug' && platform === 'v8') {
    // This case is a kludge to work around
    // https://github.com/endojs/endo/issues/1798
    // https://github.com/endojs/endo/issues/2348
    // https://github.com/Agoric/agoric-sdk/issues/8662

    defineProperties(InitialError, {
      prepareStackTrace: {
        get() {
          return FERAL_ERROR.prepareStackTrace;
        },
        set(newPrepareStackTrace) {
          FERAL_ERROR.prepareStackTrace = newPrepareStackTrace;
        },
        enumerable: false,
        configurable: true,
      },
      captureStackTrace: {
        value: FERAL_ERROR.captureStackTrace,
        writable: true,
        enumerable: false,
        configurable: true,
      },
    });

    const descs = getOwnPropertyDescriptors(InitialError);
    defineProperties(SharedError, {
      stackTraceLimit: descs.stackTraceLimit,
      prepareStackTrace: descs.prepareStackTrace,
      captureStackTrace: descs.captureStackTrace,
    });

    return {
      '%InitialGetStackString%': initialGetStackString,
      '%InitialError%': InitialError,
      '%SharedError%': SharedError,
    };
  }

  // The default SharedError much be completely powerless even on v8,
  // so the lenient `stackTraceLimit` accessor does nothing on all
  // platforms.
  defineProperties(SharedError, {
    stackTraceLimit: {
      get() {
        return undefined;
      },
      set(_newLimit) {
        // do nothing
      },
      enumerable: false,
      configurable: true,
    },
  });

  if (platform === 'v8') {
    // `SharedError.prepareStackTrace`, if it exists, must also be
    // powerless. However, from what we've heard, depd expects to be able to
    // assign to it without the assignment throwing. It is normally a function
    // that returns a stack string to be magically added to error objects.
    // However, as long as we're adding a lenient standin, we may as well
    // accommodate any who expect to get a function they can call and get
    // a string back. This prepareStackTrace is a do-nothing function that
    // always returns the empty string.
    defineProperties(SharedError, {
      prepareStackTrace: {
        get() {
          return () => '';
        },
        set(_prepareFn) {
          // do nothing
        },
        enumerable: false,
        configurable: true,
      },
      captureStackTrace: {
        value: (errorish, _constructorOpt) => {
          defineProperty(errorish, 'stack', {
            value: '',
          });
        },
        writable: false,
        enumerable: false,
        configurable: true,
      },
    });
  }

  if (platform === 'v8') {
    initialGetStackString = tameV8ErrorConstructor(
      FERAL_ERROR,
      InitialError,
      errorTaming,
      stackFiltering,
    );
  } else if (errorTaming === 'unsafe' || errorTaming === 'unsafe-debug') {
    // v8 has too much magic around their 'stack' own property for it to
    // coexist cleanly with this accessor. So only install it on non-v8

    // Error.prototype.stack property as proposed at
    // https://tc39.es/proposal-error-stacks/
    // with the fix proposed at
    // https://github.com/tc39/proposal-error-stacks/issues/46
    // On others, this still protects from the override mistake,
    // essentially like enable-property-overrides.js would
    // once this accessor property itself is frozen, as will happen
    // later during lockdown.
    //
    // However, there is here a change from the intent in the current
    // state of the proposal. If experience tells us whether this change
    // is a good idea, we should modify the proposal accordingly. There is
    // much code in the world that assumes `error.stack` is a string. So
    // where the proposal accommodates secure operation by making the
    // property optional, we instead accommodate secure operation by
    // having the secure form always return only the stable part, the
    // stringified error instance, and omitting all the frame information
    // rather than omitting the property.
    defineProperties(ErrorPrototype, {
      stack: {
        get() {
          return initialGetStackString(this);
        },
        set(newValue) {
          defineProperties(this, {
            stack: {
              value: newValue,
              writable: true,
              enumerable: true,
              configurable: true,
            },
          });
        },
      },
    });
  } else {
    // v8 has too much magic around their 'stack' own property for it to
    // coexist cleanly with this accessor. So only install it on non-v8
    defineProperties(ErrorPrototype, {
      stack: {
        get() {
          // https://github.com/tc39/proposal-error-stacks/issues/46
          // allows this to not add an unpleasant newline. Otherwise
          // we should fix this.
          return `${this}`;
        },
        set(newValue) {
          defineProperties(this, {
            stack: {
              value: newValue,
              writable: true,
              enumerable: true,
              configurable: true,
            },
          });
        },
      },
    });
  }

  return {
    '%InitialGetStackString%': initialGetStackString,
    '%InitialError%': InitialError,
    '%SharedError%': SharedError,
  };
}$h͏_once.default(      tameErrorConstructor);
})()
,
// === 45. ses ./src/module-load.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getenv,Map,Set,TypeError,arrayJoin,arrayMap,arrayPush,arraySome,create,freeze,generatorNext,generatorThrow,getOwnPropertyNames,isArray,isPrimitive,mapGet,mapHas,mapSet,promiseThen,setAdd,values,weakmapGet,weakmapHas,makeError,annotateError,q,b,X;$h͏_imports([["@endo/env-options", [["getEnvironmentOption",[$h͏_a => (getenv = $h͏_a)]]]],["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["Set",[$h͏_a => (Set = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayJoin",[$h͏_a => (arrayJoin = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["arraySome",[$h͏_a => (arraySome = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["generatorNext",[$h͏_a => (generatorNext = $h͏_a)]],["generatorThrow",[$h͏_a => (generatorThrow = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["isArray",[$h͏_a => (isArray = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["mapHas",[$h͏_a => (mapHas = $h͏_a)]],["mapSet",[$h͏_a => (mapSet = $h͏_a)]],["promiseThen",[$h͏_a => (promiseThen = $h͏_a)]],["setAdd",[$h͏_a => (setAdd = $h͏_a)]],["values",[$h͏_a => (values = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapHas",[$h͏_a => (weakmapHas = $h͏_a)]]]],["./error/assert.js", [["makeError",[$h͏_a => (makeError = $h͏_a)]],["annotateError",[$h͏_a => (annotateError = $h͏_a)]],["q",[$h͏_a => (q = $h͏_a)]],["b",[$h͏_a => (b = $h͏_a)]],["X",[$h͏_a => (X = $h͏_a)]]]]]);


























const noop = () => {};

const asyncTrampoline = async (generatorFunc, args, errorWrapper) => {
  await null;
  const iterator = generatorFunc(...args);
  let result = generatorNext(iterator);
  while (!result.done) {
    try {
      // eslint-disable-next-line no-await-in-loop
      const val = await result.value;
      result = generatorNext(iterator, val);
    } catch (error) {
      result = generatorThrow(iterator, errorWrapper(error));
    }
  }
  return result.value;
};

const syncTrampoline = (generatorFunc, args) => {
  const iterator = generatorFunc(...args);
  let result = generatorNext(iterator);
  while (!result.done) {
    try {
      result = generatorNext(iterator, result.value);
    } catch (error) {
      result = generatorThrow(iterator, error);
    }
  }
  return result.value;
};

// `makeAlias` constructs compartment specifier tuples for the `aliases`
// private field of compartments.
// These aliases allow a compartment to alias an internal module specifier to a
// module specifier in an external compartment, and also to create internal
// aliases.
// Both are facilitated by the moduleMap Compartment constructor option.
       const makeAlias = (compartment, specifier) =>
  freeze({ compartment, specifier });

// `resolveAll` pre-computes resolutions of all imports within the compartment
// in which a module was loaded.
$h͏_once.makeAlias(makeAlias);const resolveAll=(imports,resolveHook,fullReferrerSpecifier)=>{
  const resolvedImports = create(null);
  for (const importSpecifier of imports) {
    const fullSpecifier = resolveHook(importSpecifier, fullReferrerSpecifier);
    resolvedImports[importSpecifier] = fullSpecifier;
  }
  return freeze(resolvedImports);
};

const loadModuleSource = (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  moduleSource,
  enqueueJob,
  selectImplementation,
  moduleLoads,
  importMeta,
) => {
  const { resolveHook, name: compartmentName } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  const { imports } = moduleSource;
  if (
    !isArray(imports) ||
    arraySome(imports, specifier => typeof specifier !== 'string')
  ) {
    throw makeError(
      X`Invalid module source: 'imports' must be an array of strings, got ${imports} for module ${q(moduleSpecifier)} of compartment ${q(compartmentName)}`,
    );
  }

  // resolve all imports relative to this referrer module.
  const resolvedImports = resolveAll(imports, resolveHook, moduleSpecifier);
  const moduleRecord = freeze({
    compartment,
    moduleSource,
    moduleSpecifier,
    resolvedImports,
    importMeta,
  });

  // Enqueue jobs to load this module's shallow dependencies.
  for (const fullSpecifier of values(resolvedImports)) {
    // Behold: recursion.
    // eslint-disable-next-line no-use-before-define
    enqueueJob(memoizedLoadWithErrorAnnotation, [
      compartmentPrivateFields,
      moduleAliases,
      compartment,
      fullSpecifier,
      enqueueJob,
      selectImplementation,
      moduleLoads,
    ]);
  }

  return moduleRecord;
};

function* loadWithoutErrorAnnotation(
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  enqueueJob,
  selectImplementation,
  moduleLoads,
) {
  const {
    importHook,
    importNowHook,
    moduleMap,
    moduleMapHook,
    moduleRecords,
    parentCompartment,
  } = weakmapGet(compartmentPrivateFields, compartment);

  if (mapHas(moduleRecords, moduleSpecifier)) {
    return mapGet(moduleRecords, moduleSpecifier);
  }

  // Follow moduleMap, or moduleMapHook if present.
  let moduleDescriptor = moduleMap[moduleSpecifier];
  if (moduleDescriptor === undefined && moduleMapHook !== undefined) {
    moduleDescriptor = moduleMapHook(moduleSpecifier);
  }
  if (moduleDescriptor === undefined) {
    const moduleHook = selectImplementation(importHook, importNowHook);
    if (moduleHook === undefined) {
      const moduleHookName = selectImplementation(
        'importHook',
        'importNowHook',
      );
      throw makeError(
        X`${b(moduleHookName)} needed to load module ${q(
          moduleSpecifier,
        )} in compartment ${q(compartment.name)}`,
      );
    }
    moduleDescriptor = moduleHook(moduleSpecifier);
    // Uninitialized module namespaces throw if we attempt to coerce them into
    // promises.
    if (!weakmapHas(moduleAliases, moduleDescriptor)) {
      moduleDescriptor = yield moduleDescriptor;
    }
  }

  if (typeof moduleDescriptor === 'string') {
    // eslint-disable-next-line @endo/no-polymorphic-call
    throw makeError(
      X`Cannot map module ${q(moduleSpecifier)} to ${q(
        moduleDescriptor,
      )} in parent compartment, use {source} module descriptor`,
      TypeError,
    );
  } else if (!isPrimitive(moduleDescriptor)) {
    // In this shim (and not in XS, and not in the standard we imagine), we
    // allow a module namespace object to stand in for a module descriptor that
    // describes its original {compartment, specifier} so that it can be used
    // to create a link.
    let aliasDescriptor = weakmapGet(moduleAliases, moduleDescriptor);
    if (aliasDescriptor !== undefined) {
      moduleDescriptor = aliasDescriptor;
    }

    if (moduleDescriptor.namespace !== undefined) {
      // { namespace: string, compartment?: Compartment }
      // Namespace module descriptors link to a module instance.

      if (typeof moduleDescriptor.namespace === 'string') {
        // The default compartment is the *parent*, not this child compartment.
        // This is a difference from the legacy {specifier, compartment} module
        // descriptor.
        const {
          compartment: aliasCompartment = parentCompartment,
          namespace: aliasSpecifier,
        } = moduleDescriptor;
        if (
          isPrimitive(aliasCompartment) ||
          !weakmapHas(compartmentPrivateFields, aliasCompartment)
        ) {
          throw makeError(
            X`Invalid compartment in module descriptor for specifier ${q(moduleSpecifier)} in compartment ${q(compartment.name)}`,
          );
        }
        // Behold: recursion.
        // eslint-disable-next-line no-use-before-define
        const aliasRecord = yield memoizedLoadWithErrorAnnotation(
          compartmentPrivateFields,
          moduleAliases,
          aliasCompartment,
          aliasSpecifier,
          enqueueJob,
          selectImplementation,
          moduleLoads,
        );
        mapSet(moduleRecords, moduleSpecifier, aliasRecord);
        return aliasRecord;
      }

      // All remaining objects must either be a module namespace, or be
      // promoted into a module namespace with a virtual module source.
      if (!isPrimitive(moduleDescriptor.namespace)) {
        const { namespace } = moduleDescriptor;
        // Brand-check SES shim module exports namespaces:
        aliasDescriptor = weakmapGet(moduleAliases, namespace);
        if (aliasDescriptor !== undefined) {
          moduleDescriptor = aliasDescriptor;
          // Fall through to processing the resulting {compartment, specifier}
          // alias.
        } else {
          // Promote an arbitrary object to a module namespace with a virtual
          // module source.
          // { namespace: Object }
          const exports = getOwnPropertyNames(namespace);
          /** @type {import('../types.js').VirtualModuleSource} */
          const moduleSource = {
            imports: [],
            exports,
            execute(env) {
              for (const name of exports) {
                env[name] = namespace[name];
              }
            },
          };
          const importMeta = undefined;
          const moduleRecord = loadModuleSource(
            compartmentPrivateFields,
            moduleAliases,
            compartment,
            moduleSpecifier,
            moduleSource,
            enqueueJob,
            selectImplementation,
            moduleLoads,
            importMeta,
          );
          mapSet(moduleRecords, moduleSpecifier, moduleRecord);
          return moduleRecord;
        }
      } else {
        throw makeError(
          X`Invalid compartment in module descriptor for specifier ${q(moduleSpecifier)} in compartment ${q(compartment.name)}`,
        );
      }
    }

    if (moduleDescriptor.source !== undefined) {
      // Module source descriptors create an instance from a module source.
      // The descriptor may contain the module source, or refer to a source
      // loaded in a particular compartment.

      if (typeof moduleDescriptor.source === 'string') {
        // { source: string, importMeta?, specifier?: string, compartment? }
        // A string source is the specifier for a different module source.
        // That source may come from this compartment's parent (default), or
        // from a specified compartment, and the specified compartment may be
        // this compartment to make a duplicate.

        const {
          source: loaderSpecifier,
          specifier: instanceSpecifier = moduleSpecifier,
          compartment: loaderCompartment = parentCompartment,
          importMeta = undefined,
        } = moduleDescriptor;

        // Induce the compartment, possibly a different compartment
        // to load a module source.

        // Behold: recursion.
        // eslint-disable-next-line no-use-before-define
        const loaderRecord = yield memoizedLoadWithErrorAnnotation(
          compartmentPrivateFields,
          moduleAliases,
          loaderCompartment,
          loaderSpecifier,
          enqueueJob,
          selectImplementation,
          moduleLoads,
        );

        // Extract the source of the module from the loader compartment's
        // record.
        const { moduleSource } = loaderRecord;

        // Instantiate that source in our own compartment, possibly with a
        // different specifier for resolving its own imports.
        const moduleRecord = loadModuleSource(
          compartmentPrivateFields,
          moduleAliases,
          compartment,
          instanceSpecifier,
          moduleSource,
          enqueueJob,
          selectImplementation,
          moduleLoads,
          importMeta,
        );
        mapSet(moduleRecords, moduleSpecifier, moduleRecord);
        return moduleRecord;
      } else {
        // { source: ModuleSource, importMeta?, specifier?: string }
        // We assume all non-string module sources are any of the supported
        // kinds of module source: PrecompiledModuleSource,
        // VirtualModuleSource, or a native ModuleSource.

        const {
          source: moduleSource,
          specifier: aliasSpecifier = moduleSpecifier,
          importMeta,
        } = moduleDescriptor;

        const aliasRecord = loadModuleSource(
          compartmentPrivateFields,
          moduleAliases,
          compartment,
          aliasSpecifier,
          moduleSource,
          enqueueJob,
          selectImplementation,
          moduleLoads,
          importMeta,
        );
        mapSet(moduleRecords, moduleSpecifier, aliasRecord);
        return aliasRecord;
      }
    }

    if (moduleDescriptor.archive !== undefined) {
      // { archive: Archive, path: string }
      // We do not support this XS-native module descriptor.
      throw makeError(
        X`Unsupported archive module descriptor for specifier ${q(moduleSpecifier)} in compartment ${q(compartment.name)}`,
      );
    }

    // { record, specifier?, compartment?, importMeta? }
    // A (legacy) module descriptor for when we find the module source (record)
    // but at a different specifier than requested.
    // Providing this {specifier, record} descriptor serves as an ergonomic
    // short-hand for stashing the record, returning a {compartment, specifier}
    // reference, bouncing the module hook, then producing the source (record)
    // when module hook receives the response specifier.
    if (moduleDescriptor.record !== undefined) {
      const {
        compartment: aliasCompartment = compartment,
        specifier: aliasSpecifier = moduleSpecifier,
        record: moduleSource,
        importMeta,
      } = moduleDescriptor;

      const aliasRecord = loadModuleSource(
        compartmentPrivateFields,
        moduleAliases,
        aliasCompartment,
        aliasSpecifier,
        moduleSource,
        enqueueJob,
        selectImplementation,
        moduleLoads,
        importMeta,
      );
      mapSet(moduleRecords, moduleSpecifier, aliasRecord);
      mapSet(moduleRecords, aliasSpecifier, aliasRecord);
      return aliasRecord;
    }

    // { specifier: string, compartment: Compartment }
    // A (legacy) module descriptor that describes a link to a module instance
    // in a specified compartment.
    if (
      moduleDescriptor.compartment !== undefined &&
      moduleDescriptor.specifier !== undefined
    ) {
      if (
        isPrimitive(moduleDescriptor.compartment) ||
        !weakmapHas(compartmentPrivateFields, moduleDescriptor.compartment) ||
        typeof moduleDescriptor.specifier !== 'string'
      ) {
        throw makeError(
          X`Invalid compartment in module descriptor for specifier ${q(moduleSpecifier)} in compartment ${q(compartment.name)}`,
        );
      }
      // Behold: recursion.
      // eslint-disable-next-line no-use-before-define
      const aliasRecord = yield memoizedLoadWithErrorAnnotation(
        compartmentPrivateFields,
        moduleAliases,
        moduleDescriptor.compartment,
        moduleDescriptor.specifier,
        enqueueJob,
        selectImplementation,
        moduleLoads,
      );
      mapSet(moduleRecords, moduleSpecifier, aliasRecord);
      return aliasRecord;
    }

    // A (legacy) behavior: If we do not recognize the module descriptor as a
    // module descriptor, we assume that it is a module source (record):
    const moduleSource = moduleDescriptor;
    const moduleRecord = loadModuleSource(
      compartmentPrivateFields,
      moduleAliases,
      compartment,
      moduleSpecifier,
      moduleSource,
      enqueueJob,
      selectImplementation,
      moduleLoads,
    );
    // Memoize.
    mapSet(moduleRecords, moduleSpecifier, moduleRecord);
    return moduleRecord;
  } else {
    throw makeError(
      X`module descriptor must be a string or object for specifier ${q(
        moduleSpecifier,
      )} in compartment ${q(compartment.name)}`,
    );
  }
}

const memoizedLoadWithErrorAnnotation = (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  enqueueJob,
  selectImplementation,
  moduleLoads,
) => {
  const { name: compartmentName } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  // Prevent data-lock from recursion into branches visited in dependent loads.
  let compartmentLoading = mapGet(moduleLoads, compartment);
  if (compartmentLoading === undefined) {
    compartmentLoading = new Map();
    mapSet(moduleLoads, compartment, compartmentLoading);
  }
  let moduleLoading = mapGet(compartmentLoading, moduleSpecifier);
  if (moduleLoading !== undefined) {
    return moduleLoading;
  }

  moduleLoading = selectImplementation(asyncTrampoline, syncTrampoline)(
    loadWithoutErrorAnnotation,
    [
      compartmentPrivateFields,
      moduleAliases,
      compartment,
      moduleSpecifier,
      enqueueJob,
      selectImplementation,
      moduleLoads,
    ],
    error => {
      // eslint-disable-next-line @endo/no-polymorphic-call
      annotateError(
        error,
        X`${error.message}, loading ${q(moduleSpecifier)} in compartment ${q(
          compartmentName,
        )}`,
      );
      throw error;
    },
  );

  mapSet(compartmentLoading, moduleSpecifier, moduleLoading);

  return moduleLoading;
};

/**
 * If `aggregateErrors` is `false`, the `errors` property of the fulfilled object
 * will always be empty.
 * @param {{errors?: Error[], noAggregateErrors?: boolean}} [options]
 */
const asyncJobQueue = ({ errors = [], noAggregateErrors = false } = {}) => {
  /** @type {Set<Promise<undefined>>} */
  const pendingJobs = new Set();

  /**
   * Enqueues a job that starts immediately but won't be awaited until drainQueue is called.
   *
   * @template {(...args: any[]) => Promise<void>} F
   * @param {F} func - An async function to execute
   * @param {Parameters<F>} args - Arguments to pass to the function
   * @returns {void}
   */
  const enqueueJob = (func, args) => {
    setAdd(
      pendingJobs,
      promiseThen(func(...args), noop, error => {
        if (noAggregateErrors) {
          throw error;
        } else {
          arrayPush(errors, error);
        }
      }),
    );
  };
  /**
   * Sequentially awaits pending jobs and returns an array of errors
   */
  const drainQueue = async () => {
    await null;
    for (const job of pendingJobs) {
      // eslint-disable-next-line no-await-in-loop
      await job;
    }
  };
  return { enqueueJob, drainQueue, errors };
};

/**
 * If `aggregateErrors` is `false`, the `errors` property of the returned object
 * will always be empty.
 * @param {{errors?: Error[], noAggregateErrors?: boolean}} [options]
 */
const syncJobQueue = ({ errors = [], noAggregateErrors = false } = {}) => {
  let current = [];
  let next = [];

  /**
   * Enqueues a job
   *
   * @template {(...args: any[]) => void} F
   * @param {F} func - An async function to execute
   * @param {Parameters<F>} args - Arguments to pass to the function
   * @returns {void}
   */
  const enqueueJob = (func, args) => {
    arrayPush(next, [func, args]);
  };
  const drainQueue = () => {
    // Attention: load bearing flow order. Calling another enqueued function in the
    // synchronous usecase must happen after the one that enqueued it has finished.
    // Jobs enqueued in one pass do not interleave with jobs resulting from them.
    // It's necessary for efficient memoization and to break cycles.
    for (const [func, args] of current) {
      try {
        func(...args);
      } catch (error) {
        if (noAggregateErrors) {
          throw error;
        } else {
          arrayPush(errors, error);
        }
      }
    }
    current = next;
    next = [];
    if (current.length > 0) drainQueue();
  };
  return { enqueueJob, drainQueue, errors };
};

/**
 * @param {object} options
 * @param {Array<Error>} options.errors
 * @param {string} options.errorPrefix
 */
const throwAggregateError = ({ errors, errorPrefix }) => {
  // Throw an aggregate error if there were any errors.
  if (errors.length > 0) {
    const verbose =
      /** @type {'' | 'verbose'} */
      (getenv('COMPARTMENT_LOAD_ERRORS', '', ['verbose'])) === 'verbose';
    throw TypeError(
      `${errorPrefix} (${errors.length} underlying failures: ${arrayJoin(
        arrayMap(errors, error => error.message + (verbose ? error.stack : '')),
        ', ',
      )}`,
    );
  }
};

const preferSync = (_asyncImpl, syncImpl) => syncImpl;
const preferAsync = (asyncImpl, _syncImpl) => asyncImpl;

/**
 * `load` asynchronously gathers the module records for a module and its
 * transitive dependencies.
 * The module records refer to each other by a reference to the dependency's
 * compartment and the specifier of the module within its own compartment.
 * This graph is then ready to be synchronously linked and executed.
 * @param {WeakMap<Compartment, any>} compartmentPrivateFields
 * @param {WeakMap<object, object>} moduleAliases
 * @param {Compartment} compartment
 * @param {string} moduleSpecifier - The module specifier to load.
 * @param {{ noAggregateErrors?: boolean}} options
 */
       const load = async (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  { noAggregateErrors = false } = {},
) => {
  const { name: compartmentName } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  /** @type {Map<object, Map<string, Promise<Record<any, any>>>>} */
  const moduleLoads = new Map();

  const { enqueueJob, drainQueue, errors } = asyncJobQueue({
    noAggregateErrors,
  });

  enqueueJob(memoizedLoadWithErrorAnnotation, [
    compartmentPrivateFields,
    moduleAliases,
    compartment,
    moduleSpecifier,
    enqueueJob,
    preferAsync,
    moduleLoads,
  ]);

  await drainQueue();

  throwAggregateError({
    errors,
    errorPrefix: `Failed to load module ${q(moduleSpecifier)} in package ${q(
      compartmentName,
    )}`,
  });
};

/**
 * `loadNow` synchronously gathers the module records for a specified module
 * and its transitive dependencies.
 * The module records refer to each other by a reference to the dependency's
 * compartment and the specifier of the module within its own compartment.
 * This graph is then ready to be synchronously linked and executed.
 * @param {WeakMap<Compartment, any>} compartmentPrivateFields
 * @param {WeakMap<object, object>} moduleAliases
 * @param {Compartment} compartment
 * @param {string} moduleSpecifier - The module specifier to load.
 * @param {{ noAggregateErrors?: boolean}} options
 */$h͏_once.load(load);

       const loadNow = (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
  { noAggregateErrors = false } = {},
) => {
  const { name: compartmentName } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  /** @type {Map<object, Map<string, Promise<Record<any, any>>>>} */
  const moduleLoads = new Map();

  const { enqueueJob, drainQueue, errors } = syncJobQueue({
    noAggregateErrors,
  });

  enqueueJob(memoizedLoadWithErrorAnnotation, [
    compartmentPrivateFields,
    moduleAliases,
    compartment,
    moduleSpecifier,
    enqueueJob,
    preferSync,
    moduleLoads,
  ]);

  drainQueue();

  throwAggregateError({
    errors,
    errorPrefix: `Failed to load module ${q(moduleSpecifier)} in package ${q(
      compartmentName,
    )}`,
  });
};$h͏_once.loadNow(loadNow);
})()
,
// === 46. ses ./src/module-proxy.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let makeAlias,Proxy,TypeError,create,freeze,mapGet,mapHas,mapSet,ownKeys,reflectGet,reflectGetOwnPropertyDescriptor,reflectHas,reflectIsExtensible,reflectPreventExtensions,toStringTagSymbol,weakmapSet,assert;$h͏_imports([["./module-load.js", [["makeAlias",[$h͏_a => (makeAlias = $h͏_a)]]]],["./commons.js", [["Proxy",[$h͏_a => (Proxy = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["mapHas",[$h͏_a => (mapHas = $h͏_a)]],["mapSet",[$h͏_a => (mapSet = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["reflectGet",[$h͏_a => (reflectGet = $h͏_a)]],["reflectGetOwnPropertyDescriptor",[$h͏_a => (reflectGetOwnPropertyDescriptor = $h͏_a)]],["reflectHas",[$h͏_a => (reflectHas = $h͏_a)]],["reflectIsExtensible",[$h͏_a => (reflectIsExtensible = $h͏_a)]],["reflectPreventExtensions",[$h͏_a => (reflectPreventExtensions = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);































const { quote: q } = assert;

// `deferExports` creates a module's exports proxy, proxied exports, and
// activator.
// A `Compartment` can create a module for any module specifier, regardless of
// whether it is loadable or executable, and use that object as a token that
// can be fed into another compartment's module map.
// Only after the specified module has been analyzed is it possible for the
// module namespace proxy to behave properly, so it throws exceptions until
// after the compartment has begun executing the module.
// The module instance must freeze the proxied exports and activate the exports
// proxy before executing the module.
//
// The module exports proxy's behavior differs from the ECMAScript 262
// specification for "module namespace exotic objects" only in that according
// to the specification value property descriptors have a non-writable "value"
// and this implementation models all properties with accessors.
//
// https://tc39.es/ecma262/#sec-module-namespace-exotic-objects
//
       const deferExports = () => {
  let active = false;
  const exportsTarget = create(null, {
    // Make this appear like an ESM module namespace object.
    [toStringTagSymbol]: {
      value: 'Module',
      writable: false,
      enumerable: false,
      configurable: false,
    },
  });
  return freeze({
    activate() {
      active = true;
    },
    exportsTarget,
    exportsProxy: new Proxy(exportsTarget, {
      get(_target, name, receiver) {
        if (!active) {
          throw TypeError(
            `Cannot get property ${q(
              name,
            )} of module exports namespace, the module has not yet begun to execute`,
          );
        }
        return reflectGet(exportsTarget, name, receiver);
      },
      set(_target, name, _value) {
        throw TypeError(
          `Cannot set property ${q(name)} of module exports namespace`,
        );
      },
      has(_target, name) {
        if (!active) {
          throw TypeError(
            `Cannot check property ${q(
              name,
            )}, the module has not yet begun to execute`,
          );
        }
        return reflectHas(exportsTarget, name);
      },
      deleteProperty(_target, name) {
        throw TypeError(
          `Cannot delete property ${q(name)}s of module exports namespace`,
        );
      },
      ownKeys(_target) {
        if (!active) {
          throw TypeError(
            'Cannot enumerate keys, the module has not yet begun to execute',
          );
        }
        return ownKeys(exportsTarget);
      },
      getOwnPropertyDescriptor(_target, name) {
        if (!active) {
          throw TypeError(
            `Cannot get own property descriptor ${q(
              name,
            )}, the module has not yet begun to execute`,
          );
        }
        return reflectGetOwnPropertyDescriptor(exportsTarget, name);
      },
      preventExtensions(_target) {
        if (!active) {
          throw TypeError(
            'Cannot prevent extensions of module exports namespace, the module has not yet begun to execute',
          );
        }
        return reflectPreventExtensions(exportsTarget);
      },
      isExtensible() {
        if (!active) {
          throw TypeError(
            'Cannot check extensibility of module exports namespace, the module has not yet begun to execute',
          );
        }
        return reflectIsExtensible(exportsTarget);
      },
      getPrototypeOf(_target) {
        return null;
      },
      setPrototypeOf(_target, _proto) {
        throw TypeError('Cannot set prototype of module exports namespace');
      },
      defineProperty(_target, name, _descriptor) {
        throw TypeError(
          `Cannot define property ${q(name)} of module exports namespace`,
        );
      },
      apply(_target, _thisArg, _args) {
        throw TypeError(
          'Cannot call module exports namespace, it is not a function',
        );
      },
      construct(_target, _args) {
        throw TypeError(
          'Cannot construct module exports namespace, it is not a constructor',
        );
      },
    }),
  });
};

/**
 * @typedef {object} DeferredExports
 * @property {Record<string, any>} exportsTarget - The object to which a
 * module's exports will be added.
 * @property {Record<string, any>} exportsProxy - A proxy over the `exportsTarget`,
 * used to expose its "exports" to other compartments.
 * @property {() => void} activate - Activate the `exportsProxy` such that it can
 * be used as a module namespace object.
 */

/**
 * Memoizes the creation of a deferred module exports namespace proxy for any
 * arbitrary full specifier in a compartment. It also records the compartment
 * and specifier affiliated with that module exports namespace proxy so it
 * can be used as an alias into another compartment when threaded through
 * a compartment's `moduleMap` argument.
 *
 * @param {*} compartment - The compartment to retrieve deferred exports from.
 * @param {*} compartmentPrivateFields - The private fields of the compartment.
 * @param {*} moduleAliases - The module aliases of the compartment.
 * @param {string} specifier - The module specifier to retrieve deferred exports for.
 * @returns {DeferredExports} - The deferred exports for the module specifier of
 * the compartment.
 */$h͏_once.deferExports(deferExports);
       const getDeferredExports = (
  compartment,
  compartmentPrivateFields,
  moduleAliases,
  specifier,
) => {
  const { deferredExports } = compartmentPrivateFields;
  if (!mapHas(deferredExports, specifier)) {
    const deferred = deferExports();
    weakmapSet(
      moduleAliases,
      deferred.exportsProxy,
      makeAlias(compartment, specifier),
    );
    mapSet(deferredExports, specifier, deferred);
  }
  return mapGet(deferredExports, specifier);
};$h͏_once.getDeferredExports(getDeferredExports);
})()
,
// === 47. ses ./src/compartment-evaluate.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let TypeError,arrayPush,create,getOwnPropertyDescriptors,evadeHtmlCommentTest,evadeImportExpressionTest,rejectSomeDirectEvalExpressions,makeSafeEvaluator;$h͏_imports([["./commons.js", [["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]]]],["./transforms.js", [["evadeHtmlCommentTest",[$h͏_a => (evadeHtmlCommentTest = $h͏_a)]],["evadeImportExpressionTest",[$h͏_a => (evadeImportExpressionTest = $h͏_a)]],["rejectSomeDirectEvalExpressions",[$h͏_a => (rejectSomeDirectEvalExpressions = $h͏_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator",[$h͏_a => (makeSafeEvaluator = $h͏_a)]]]]]);













       const provideCompartmentEvaluator = (compartmentFields, options) => {
  const { sloppyGlobalsMode = false, __moduleShimLexicals__ = undefined } =
    options;

  let safeEvaluate;

  if (__moduleShimLexicals__ === undefined && !sloppyGlobalsMode) {
    ({ safeEvaluate } = compartmentFields);
  } else {
    // The scope proxy or global lexicals are different from the
    // shared evaluator so we need to build a new one

    let { globalTransforms } = compartmentFields;
    const { globalObject } = compartmentFields;

    let moduleLexicals;
    if (__moduleShimLexicals__ !== undefined) {
      // When using `evaluate` for ESM modules, as should only occur from the
      // module-shim's module-instance.js, we do not reveal the SES-shim's
      // module-to-program translation, as this is not standardizable behavior.
      // However, the `localTransforms` will come from the `__shimTransforms__`
      // Compartment option in this case, which is a non-standardizable escape
      // hatch so programs designed specifically for the SES-shim
      // implementation may opt-in to use the same transforms for `evaluate`
      // and `import`, at the expense of being tightly coupled to SES-shim.
      globalTransforms = undefined;

      moduleLexicals = create(
        null,
        getOwnPropertyDescriptors(__moduleShimLexicals__),
      );
    }

    ({ safeEvaluate } = makeSafeEvaluator({
      globalObject,
      moduleLexicals,
      globalTransforms,
      sloppyGlobalsMode,
    }));
  }

  return { safeEvaluate };
};$h͏_once.provideCompartmentEvaluator(provideCompartmentEvaluator);

       const compartmentEvaluate = (compartmentFields, source, options) => {
  // Perform this check first to avoid unnecessary sanitizing.
  // TODO Maybe relax string check and coerce instead:
  // https://github.com/tc39/proposal-dynamic-code-brand-checks
  if (typeof source !== 'string') {
    throw TypeError('first argument of evaluate() must be a string');
  }

  // Extract options, and shallow-clone transforms.
  const {
    transforms = [],
    __evadeHtmlCommentTest__ = false,
    __evadeImportExpressionTest__ = false,
    __rejectSomeDirectEvalExpressions__ = true  // Note default on
  } = options;
  const localTransforms = [...transforms];
  if (__evadeHtmlCommentTest__ === true) {
    arrayPush(localTransforms, evadeHtmlCommentTest);
  }
  if (__evadeImportExpressionTest__ === true) {
    arrayPush(localTransforms, evadeImportExpressionTest);
  }
  if (__rejectSomeDirectEvalExpressions__ === true) {
    arrayPush(localTransforms, rejectSomeDirectEvalExpressions);
  }

  const { safeEvaluate } = provideCompartmentEvaluator(
    compartmentFields,
    options,
  );

  return safeEvaluate(source, {
    localTransforms,
  });
};$h͏_once.compartmentEvaluate(compartmentEvaluate);
})()
,
// === 48. ses ./src/module-instance.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let assert,getDeferredExports,ReferenceError,SyntaxError,TypeError,arrayForEach,arrayIncludes,arrayPush,arraySome,arraySort,create,defineProperty,entries,freeze,isArray,keys,mapGet,weakmapGet,reflectHas,assign,compartmentEvaluate;$h͏_imports([["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]],["./module-proxy.js", [["getDeferredExports",[$h͏_a => (getDeferredExports = $h͏_a)]]]],["./commons.js", [["ReferenceError",[$h͏_a => (ReferenceError = $h͏_a)]],["SyntaxError",[$h͏_a => (SyntaxError = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayForEach",[$h͏_a => (arrayForEach = $h͏_a)]],["arrayIncludes",[$h͏_a => (arrayIncludes = $h͏_a)]],["arrayPush",[$h͏_a => (arrayPush = $h͏_a)]],["arraySome",[$h͏_a => (arraySome = $h͏_a)]],["arraySort",[$h͏_a => (arraySort = $h͏_a)]],["create",[$h͏_a => (create = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["freeze",[$h͏_a => (freeze = $h͏_a)]],["isArray",[$h͏_a => (isArray = $h͏_a)]],["keys",[$h͏_a => (keys = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["reflectHas",[$h͏_a => (reflectHas = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]]]],["./compartment-evaluate.js", [["compartmentEvaluate",[$h͏_a => (compartmentEvaluate = $h͏_a)]]]]]);

























const { quote: q } = assert;

       const makeVirtualModuleInstance = (
  compartmentPrivateFields,
  moduleSource,
  compartment,
  moduleAliases,
  moduleSpecifier,
  resolvedImports,
) => {
  const { exportsProxy, exportsTarget, activate } = getDeferredExports(
    compartment,
    weakmapGet(compartmentPrivateFields, compartment),
    moduleAliases,
    moduleSpecifier,
  );

  const notifiers = create(null);

  if (moduleSource.exports) {
    if (
      !isArray(moduleSource.exports) ||
      arraySome(moduleSource.exports, name => typeof name !== 'string')
    ) {
      throw TypeError(
        `SES virtual module source "exports" property must be an array of strings for module ${moduleSpecifier}`,
      );
    }
    arrayForEach(moduleSource.exports, name => {
      let value = exportsTarget[name];
      const updaters = [];

      const get = () => value;

      const set = newValue => {
        value = newValue;
        for (const updater of updaters) {
          updater(newValue);
        }
      };

      defineProperty(exportsTarget, name, {
        get,
        set,
        enumerable: true,
        configurable: false,
      });

      notifiers[name] = update => {
        arrayPush(updaters, update);
        update(value);
      };
    });
    // This is enough to support import * from cjs - the '*' field doesn't need to be in exports nor exportsTarget because import will only ever access it via notifiers
    notifiers['*'] = update => {
      update(exportsTarget);
    };
  }

  const localState = {
    activated: false,
  };
  return freeze({
    notifiers,
    exportsProxy,
    execute() {
      if (reflectHas(localState, 'errorFromExecute')) {
        throw localState.errorFromExecute;
      }
      if (!localState.activated) {
        activate();
        localState.activated = true;
        try {
          // eslint-disable-next-line @endo/no-polymorphic-call
          moduleSource.execute(exportsTarget, compartment, resolvedImports);
        } catch (err) {
          localState.errorFromExecute = err;
          throw err;
        }
      }
    },
  });
};

// `makeModuleInstance` takes a module's compartment record, the live import
// namespace, and a global object; and produces a module instance.
// The module instance carries the proxied module exports namespace (the
// "exports"), notifiers to update the module's internal import namespace, and
// an idempotent execute function.
// The module exports namespace is a proxy to the proxied exports namespace
// that the execution of the module instance populates.
$h͏_once.makeVirtualModuleInstance(makeVirtualModuleInstance);const makeModuleInstance=(
  privateFields,
  moduleAliases,
  moduleRecord,
  importedInstances,
) => {
  const {
    compartment,
    moduleSpecifier,
    moduleSource,
    importMeta: moduleRecordMeta,
  } = moduleRecord;
  const {
    reexports: exportAlls = [],
    __syncModuleProgram__: functorSource,
    __fixedExportMap__: fixedExportMap = {},
    __liveExportMap__: liveExportMap = {},
    __reexportMap__: reexportMap = {},
    __needsImport__: needsImport = false,
    __needsImportMeta__: needsImportMeta = false,
    __syncModuleFunctor__,
  } = moduleSource;

  const compartmentFields = weakmapGet(privateFields, compartment);

  const { __shimTransforms__, resolveHook, importMetaHook, compartmentImport } =
    compartmentFields;

  const { exportsProxy, exportsTarget, activate } = getDeferredExports(
    compartment,
    compartmentFields,
    moduleAliases,
    moduleSpecifier,
  );

  // {_exportName_: getter} module exports namespace
  // object (eventually proxied).
  const exportsProps = create(null);

  // {_localName_: accessor} proxy traps for moduleLexicals and live bindings.
  // The moduleLexicals object is frozen and the corresponding properties of
  // moduleLexicals must be immutable, so we copy the descriptors.
  const moduleLexicals = create(null);

  // {_localName_: init(initValue) -> initValue} used by the
  // rewritten code to initialize exported fixed bindings.
  const onceVar = create(null);

  // {_localName_: update(newValue)} used by the rewritten code to
  // both initialize and update live bindings.
  const liveVar = create(null);

  const importMeta = create(null);
  if (moduleRecordMeta) {
    assign(importMeta, moduleRecordMeta);
  }
  if (needsImportMeta && importMetaHook) {
    importMetaHook(moduleSpecifier, importMeta);
  }

  /** @type {(fullSpecifier: string) => Promise<ModuleExportsNamespace>} */
  let dynamicImport;
  if (needsImport) {
    /** @param {string} importSpecifier */
    dynamicImport = async importSpecifier =>
      compartmentImport(resolveHook(importSpecifier, moduleSpecifier));
  }

  // {_localName_: [{get, set, notify}]} used to merge all the export updaters.
  const localGetNotify = create(null);

  // {[importName: string]: notify(update(newValue))} Used by code that imports
  // one of this module's exports, so that their update function will
  // be notified when this binding is initialized or updated.
  const notifiers = create(null);

  arrayForEach(entries(fixedExportMap), ([fixedExportName, [localName]]) => {
    let fixedGetNotify = localGetNotify[localName];
    if (!fixedGetNotify) {
      // fixed binding state
      let value;
      let tdz = true;
      /** @type {null | Array<(value: any) => void>} */
      let optUpdaters = [];

      // tdz sensitive getter
      const get = () => {
        if (tdz) {
          throw ReferenceError(`binding ${q(localName)} not yet initialized`);
        }
        return value;
      };

      // leave tdz once
      const init = freeze(initValue => {
        // init with initValue of a declared const binding, and return
        // it.
        if (!tdz) {
          throw TypeError(
            `Internal: binding ${q(localName)} already initialized`,
          );
        }
        value = initValue;
        const updaters = optUpdaters;
        optUpdaters = null;
        tdz = false;
        for (const updater of updaters || []) {
          updater(initValue);
        }
        return initValue;
      });

      // If still tdz, register update for notification later.
      // Otherwise, update now.
      const notify = updater => {
        if (updater === init) {
          // Prevent recursion.
          return;
        }
        if (tdz) {
          arrayPush(optUpdaters || [], updater);
        } else {
          updater(value);
        }
      };

      // Need these for additional exports of the local variable.
      fixedGetNotify = {
        get,
        notify,
      };
      localGetNotify[localName] = fixedGetNotify;
      onceVar[localName] = init;
    }

    exportsProps[fixedExportName] = {
      get: fixedGetNotify.get,
      set: undefined,
      enumerable: true,
      configurable: false,
    };

    notifiers[fixedExportName] = fixedGetNotify.notify;
  });

  arrayForEach(
    entries(liveExportMap),
    ([liveExportName, [localName, setProxyTrap]]) => {
      let liveGetNotify = localGetNotify[localName];
      if (!liveGetNotify) {
        // live binding state
        let value;
        let tdz = true;
        const updaters = [];

        // tdz sensitive getter
        const get = () => {
          if (tdz) {
            throw ReferenceError(
              `binding ${q(liveExportName)} not yet initialized`,
            );
          }
          return value;
        };

        // This must be usable locally for the translation of initializing
        // a declared local live binding variable.
        //
        // For reexported variable, this is also an update function to
        // register for notification with the downstream import, which we
        // must assume to be live. Thus, it can be called independent of
        // tdz but always leaves tdz. Such reexporting creates a tree of
        // bindings. This lets the tree be hooked up even if the imported
        // module instance isn't initialized yet, as may happen in cycles.
        const update = freeze(newValue => {
          value = newValue;
          tdz = false;
          for (const updater of updaters) {
            updater(newValue);
          }
        });

        // tdz sensitive setter
        const set = newValue => {
          if (tdz) {
            throw ReferenceError(`binding ${q(localName)} not yet initialized`);
          }
          value = newValue;
          for (const updater of updaters) {
            updater(newValue);
          }
        };

        // Always register the updater function.
        // If not in tdz, also update now.
        const notify = updater => {
          if (updater === update) {
            // Prevent recursion.
            return;
          }
          arrayPush(updaters, updater);
          if (!tdz) {
            updater(value);
          }
        };

        liveGetNotify = {
          get,
          notify,
        };

        localGetNotify[localName] = liveGetNotify;
        if (setProxyTrap) {
          defineProperty(moduleLexicals, localName, {
            get,
            set,
            enumerable: true,
            configurable: false,
          });
        }
        liveVar[localName] = update;
      }

      exportsProps[liveExportName] = {
        get: liveGetNotify.get,
        set: undefined,
        enumerable: true,
        configurable: false,
      };

      notifiers[liveExportName] = liveGetNotify.notify;
    },
  );

  const notifyStar = update => {
    update(exportsTarget);
  };
  notifiers['*'] = notifyStar;

  const wireUpExportNotifier = (exportName, notify) => {
    if (!notifiers[exportName] && notify !== false) {
      notifiers[exportName] = notify;

      // exported live binding state
      let value;
      const update = newValue => (value = newValue);
      notify(update);
      exportsProps[exportName] = {
        get() {
          return value;
        },
        set: undefined,
        enumerable: true,
        configurable: false,
      };
    }
  };

  // Per the calling convention for the moduleFunctor generated from
  // an ESM, the `imports` function gets called once up front
  // to populate or arrange the population of imports and reexports.
  // The generated code produces an `updateRecord`: the means for
  // the linker to update the imports and exports of the module.
  // The updateRecord must conform to moduleAnalysis.imports
  // updateRecord = Map<specifier, importUpdaters>
  // importUpdaters = Map<importName, [update(newValue)*]>
  function imports(updateRecord) {
    // By the time imports is called, the importedInstances should already be
    // initialized with module instances that satisfy
    // imports.
    // importedInstances = Map[_specifier_, { notifiers, module, execute }]
    // notifiers = { [importName: string]: notify(update(newValue))}

    // export * cannot export default.
    const candidateAll = create(null);
    candidateAll.default = false;
    for (const [specifier, importUpdaters] of updateRecord) {
      const instance = mapGet(importedInstances, specifier);
      // The module instance object is an internal literal, does not bind this,
      // and never revealed outside the SES shim.
      // There are two instantiation sites for instances and they are both in
      // this module.
      // eslint-disable-next-line @endo/no-polymorphic-call
      instance.execute(); // bottom up cycle tolerant
      const { notifiers: importNotifiers } = instance;
      for (const [importName, updaters] of importUpdaters) {
        const importNotify = importNotifiers[importName];
        if (!importNotify) {
          throw SyntaxError(
            `The requested module '${specifier}' does not provide an export named '${importName}'`,
          );
        }
        for (const updater of updaters) {
          importNotify(updater);
        }
      }
      if (arrayIncludes(exportAlls, specifier)) {
        // Make all these imports candidates.
        // Note names don't change in reexporting all
        for (const [importAndExportName, importNotify] of entries(
          importNotifiers,
        )) {
          if (candidateAll[importAndExportName] === undefined) {
            candidateAll[importAndExportName] = importNotify;
          } else {
            // Already a candidate: remove ambiguity.
            candidateAll[importAndExportName] = false;
          }
        }
      }
      if (reexportMap[specifier]) {
        // Set up reexport notifiers instantly so they are available in cycles.
        for (const [localName, exportedName] of reexportMap[specifier]) {
          wireUpExportNotifier(exportedName, importNotifiers[localName]);
        }
      }
    }

    for (const [exportName, notify] of entries(candidateAll)) {
      wireUpExportNotifier(exportName, notify);
    }

    // Sort the module exports namespace as per spec.
    // The module exports namespace will be wrapped in a module namespace
    // exports proxy which will serve as a "module exports namespace exotic
    // object".
    // Sorting properties is not generally reliable because some properties may
    // be symbols, and symbols do not have an inherent relative order, but
    // since all properties of the exports namespace must be keyed by a string
    // and the string must correspond to a valid identifier, sorting these
    // properties works for this specific case.
    arrayForEach(arraySort(keys(exportsProps)), k =>
      defineProperty(exportsTarget, k, exportsProps[k]),
    );

    freeze(exportsTarget);
    activate();
  }

  let optFunctor;
  if (__syncModuleFunctor__ !== undefined) {
    optFunctor = __syncModuleFunctor__;
  } else {
    optFunctor = compartmentEvaluate(compartmentFields, functorSource, {
      globalObject: compartment.globalThis,
      transforms: __shimTransforms__,
      __moduleShimLexicals__: moduleLexicals,
    });
  }
  let didThrow = false;
  let thrownError;
  function execute() {
    if (optFunctor) {
      // uninitialized
      const functor = optFunctor;
      optFunctor = null;
      // initializing - call with `this` of `undefined`.
      try {
        functor(
          freeze({
            imports: freeze(imports),
            onceVar: freeze(onceVar),
            liveVar: freeze(liveVar),
            import: dynamicImport,
            importMeta,
          }),
        );
      } catch (e) {
        didThrow = true;
        thrownError = e;
      }
      // initialized
    }
    if (didThrow) {
      throw thrownError;
    }
  }

  return freeze({
    notifiers,
    exportsProxy,
    execute,
  });
};$h͏_once.makeModuleInstance(makeModuleInstance);
})()
,
// === 49. ses ./src/module-link.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let assert,makeModuleInstance,makeVirtualModuleInstance,Map,ReferenceError,TypeError,entries,isArray,isPrimitive,mapGet,mapHas,mapSet,weakmapGet;$h͏_imports([["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]],["./module-instance.js", [["makeModuleInstance",[$h͏_a => (makeModuleInstance = $h͏_a)]],["makeVirtualModuleInstance",[$h͏_a => (makeVirtualModuleInstance = $h͏_a)]]]],["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["ReferenceError",[$h͏_a => (ReferenceError = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["isArray",[$h͏_a => (isArray = $h͏_a)]],["isPrimitive",[$h͏_a => (isPrimitive = $h͏_a)]],["mapGet",[$h͏_a => (mapGet = $h͏_a)]],["mapHas",[$h͏_a => (mapHas = $h͏_a)]],["mapSet",[$h͏_a => (mapSet = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]]]]]);



















const { Fail, quote: q } = assert;

// `link` creates `ModuleInstances` and `ModuleNamespaces` for a module and its
// transitive dependencies and connects their imports and exports.
// After linking, the resulting working set is ready to be executed.
// The linker only concerns itself with module namespaces that are objects with
// property descriptors for their exports, which the Compartment proxies with
// the actual `ModuleNamespace`.
       const link = (
  compartmentPrivateFields,
  moduleAliases,
  compartment,
  moduleSpecifier,
) => {
  const { name: compartmentName, moduleRecords } = weakmapGet(
    compartmentPrivateFields,
    compartment,
  );

  const moduleRecord = mapGet(moduleRecords, moduleSpecifier);
  if (moduleRecord === undefined) {
    throw ReferenceError(
      `Missing link to module ${q(moduleSpecifier)} from compartment ${q(
        compartmentName,
      )}`,
    );
  }

  // Mutual recursion so there's no confusion about which
  // compartment is in context: the module record may be in another
  // compartment, denoted by moduleRecord.compartment.
  // eslint-disable-next-line no-use-before-define
  return instantiate(compartmentPrivateFields, moduleAliases, moduleRecord);
};$h͏_once.link(link);

function mayBePrecompiledModuleSource(moduleSource) {
  return typeof moduleSource.__syncModuleProgram__ === 'string';
}

function validatePrecompiledModuleSource(moduleSource, moduleSpecifier) {
  const { __fixedExportMap__, __liveExportMap__ } = moduleSource;
  !isPrimitive(__fixedExportMap__) ||
    Fail`Property '__fixedExportMap__' of a precompiled module source must be an object, got ${q(
      __fixedExportMap__,
    )}, for module ${q(moduleSpecifier)}`;
  !isPrimitive(__liveExportMap__) ||
    Fail`Property '__liveExportMap__' of a precompiled module source must be an object, got ${q(
      __liveExportMap__,
    )}, for module ${q(moduleSpecifier)}`;
}

function mayBeVirtualModuleSource(moduleSource) {
  return typeof moduleSource.execute === 'function';
}

function validateVirtualModuleSource(moduleSource, moduleSpecifier) {
  const { exports } = moduleSource;
  isArray(exports) ||
    Fail`Invalid module source: 'exports' of a virtual module source must be an array, got ${q(
      exports,
    )}, for module ${q(moduleSpecifier)}`;
}

function validateModuleSource(moduleSource, moduleSpecifier) {
  !isPrimitive(moduleSource) ||
    Fail`Invalid module source: must be of type object, got ${q(
      moduleSource,
    )}, for module ${q(moduleSpecifier)}`;
  const { imports, exports, reexports = [] } = moduleSource;
  isArray(imports) ||
    Fail`Invalid module source: 'imports' must be an array, got ${q(
      imports,
    )}, for module ${q(moduleSpecifier)}`;
  isArray(exports) ||
    Fail`Invalid module source: 'exports' must be an array, got ${q(
      exports,
    )}, for module ${q(moduleSpecifier)}`;
  isArray(reexports) ||
    Fail`Invalid module source: 'reexports' must be an array if present, got ${q(
      reexports,
    )}, for module ${q(moduleSpecifier)}`;
}

       const instantiate = (
  compartmentPrivateFields,
  moduleAliases,
  moduleRecord,
) => {
  const { compartment, moduleSpecifier, resolvedImports, moduleSource } =
    moduleRecord;
  const { instances } = weakmapGet(compartmentPrivateFields, compartment);

  // Memoize.
  if (mapHas(instances, moduleSpecifier)) {
    return mapGet(instances, moduleSpecifier);
  }

  validateModuleSource(moduleSource, moduleSpecifier);

  const importedInstances = new Map();
  let moduleInstance;
  if (mayBePrecompiledModuleSource(moduleSource)) {
    validatePrecompiledModuleSource(moduleSource, moduleSpecifier);
    moduleInstance = makeModuleInstance(
      compartmentPrivateFields,
      moduleAliases,
      moduleRecord,
      importedInstances,
    );
  } else if (mayBeVirtualModuleSource(moduleSource)) {
    validateVirtualModuleSource(moduleSource, moduleSpecifier);
    moduleInstance = makeVirtualModuleInstance(
      compartmentPrivateFields,
      moduleSource,
      compartment,
      moduleAliases,
      moduleSpecifier,
      resolvedImports,
    );
  } else {
    throw TypeError(`Invalid module source, got ${q(moduleSource)}`);
  }

  // Memoize.
  mapSet(instances, moduleSpecifier, moduleInstance);

  // Link dependency modules.
  for (const [importSpecifier, resolvedSpecifier] of entries(resolvedImports)) {
    const importedInstance = link(
      compartmentPrivateFields,
      moduleAliases,
      compartment,
      resolvedSpecifier,
    );
    mapSet(importedInstances, importSpecifier, importedInstance);
  }

  return moduleInstance;
};$h͏_once.instantiate(instantiate);
})()
,
// === 50. ses ./src/compartment.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Map,TypeError,WeakMap,arrayFlatMap,assign,defineProperties,identity,promiseThen,toStringTagSymbol,weakmapGet,weakmapSet,setGlobalObjectSymbolUnscopables,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,assert,assertEqual,q,sharedGlobalPropertyNames,load,loadNow,link,getDeferredExports,compartmentEvaluate,makeSafeEvaluator;$h͏_imports([["./commons.js", [["Map",[$h͏_a => (Map = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["WeakMap",[$h͏_a => (WeakMap = $h͏_a)]],["arrayFlatMap",[$h͏_a => (arrayFlatMap = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["identity",[$h͏_a => (identity = $h͏_a)]],["promiseThen",[$h͏_a => (promiseThen = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]],["weakmapGet",[$h͏_a => (weakmapGet = $h͏_a)]],["weakmapSet",[$h͏_a => (weakmapSet = $h͏_a)]]]],["./global-object.js", [["setGlobalObjectSymbolUnscopables",[$h͏_a => (setGlobalObjectSymbolUnscopables = $h͏_a)]],["setGlobalObjectConstantProperties",[$h͏_a => (setGlobalObjectConstantProperties = $h͏_a)]],["setGlobalObjectMutableProperties",[$h͏_a => (setGlobalObjectMutableProperties = $h͏_a)]],["setGlobalObjectEvaluators",[$h͏_a => (setGlobalObjectEvaluators = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]],["assertEqual",[$h͏_a => (assertEqual = $h͏_a)]],["q",[$h͏_a => (q = $h͏_a)]]]],["./permits.js", [["sharedGlobalPropertyNames",[$h͏_a => (sharedGlobalPropertyNames = $h͏_a)]]]],["./module-load.js", [["load",[$h͏_a => (load = $h͏_a)]],["loadNow",[$h͏_a => (loadNow = $h͏_a)]]]],["./module-link.js", [["link",[$h͏_a => (link = $h͏_a)]]]],["./module-proxy.js", [["getDeferredExports",[$h͏_a => (getDeferredExports = $h͏_a)]]]],["./compartment-evaluate.js", [["compartmentEvaluate",[$h͏_a => (compartmentEvaluate = $h͏_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator",[$h͏_a => (makeSafeEvaluator = $h͏_a)]]]]]);




































































/**
 * @import {ImportHook, ImportMetaHook, ImportNowHook, ModuleDescriptor, ModuleExportsNamespace, ModuleMap, ModuleMapHook, ResolveHook, ModuleSource, CompartmentOptions} from '../types.js'
 * @import {Transform} from './lockdown.js'
 * @import {DeferredExports} from './module-proxy.js'
 */

/**
 * Associates every public module exports namespace with its corresponding
 * compartment and specifier so they can be used to link modules across
 * compartments. The mechanism to thread an alias is to use the
 * {@link Compartment.module} function to obtain the exports namespace of a foreign
 * module and pass it into another compartment's `moduleMap` constructor option
 * @type {WeakMap<ModuleExportsNamespace, Compartment>}
 *
 */
const moduleAliases = new WeakMap();

/**
 * Private fields for `Compartment` instances
 * @typedef {object} CompartmentFields
 * @property {string} name
 * @property {object} globalObject
 * @property {Array<Transform>} globalTransforms
 * @property {(source: string, options?: {localTransforms?: Array<Transform>}) => void} safeEvaluate
 * @property {ResolveHook} resolveHook
 * @property {ImportHook} importHook
 * @property {ImportNowHook} importNowHook
 * @property {ModuleMap} moduleMap
 * @property {ModuleMapHook} moduleMapHook
 * @property {ImportMetaHook} importMetaHook
 * @property {Map<string, ModuleSource>} moduleRecords
 * @property {Array<Transform>} __shimTransforms__
 * @property {DeferredExports} deferredExports
 * @property {Map<string, ModuleDescriptor>} instances
 * @property {Compartment} [parentCompartment]
 * @property {boolean} noNamespaceBox
 * @property {(fullSpecifier: string) => Promise<ModuleExportsNamespace>} compartmentImport
 * @property {boolean} [noAggregateLoadErrors]
 */

/**
 * Captures the private state for each {@link Compartment}
 * @type {WeakMap<Compartment, CompartmentFields>}
 */
const privateFields = new WeakMap();

       const InertCompartment = function Compartment(
  _endowments = {},
  _modules = {},
  _options = {},
) {
  throw TypeError(
    'Compartment.prototype.constructor is not a valid constructor.',
  );
};

/**
 * @param {Compartment} compartment
 * @param {string} specifier
 * @returns {{namespace: ModuleExportsNamespace}}
 */$h͏_once.InertCompartment(InertCompartment);
const compartmentImportNow = (compartment, specifier) => {
  const { execute, exportsProxy } = link(
    privateFields,
    moduleAliases,
    compartment,
    specifier,
  );
  execute();
  return exportsProxy;
};

/** @type {Compartment & {constructor: typeof InertCompartment}} */
       const CompartmentPrototype = {
  constructor: InertCompartment,

  get globalThis() {
    return /** @type {CompartmentFields} */ (weakmapGet(privateFields, this))
      .globalObject;
  },

  get name() {
    return /** @type {CompartmentFields} */ (weakmapGet(privateFields, this))
      .name;
  },

  evaluate(source, options = {}) {
    const compartmentFields = weakmapGet(privateFields, this);
    return compartmentEvaluate(compartmentFields, source, options);
  },

  module(specifier) {
    if (typeof specifier !== 'string') {
      throw TypeError('first argument of module() must be a string');
    }

    const { exportsProxy } = getDeferredExports(
      this,
      weakmapGet(privateFields, this),
      moduleAliases,
      specifier,
    );

    return exportsProxy;
  },

  async import(specifier) {
    const { noNamespaceBox, noAggregateLoadErrors } =
      /** @type {CompartmentFields} */ (weakmapGet(privateFields, this));

    if (typeof specifier !== 'string') {
      throw TypeError('first argument of import() must be a string');
    }

    return promiseThen(
      load(privateFields, moduleAliases, this, specifier, {
        noAggregateErrors: noAggregateLoadErrors,
      }),
      () => {
        // The namespace box is a contentious design and likely to be a breaking
        // change in an appropriately numbered future version.
        const namespace = compartmentImportNow(
          /** @type {Compartment} */ (this),
          specifier,
        );
        if (noNamespaceBox) {
          return namespace;
        }
        // Legacy behavior: box the namespace object so that thenable modules
        // do not get coerced into a promise accidentally.
        return { namespace };
      },
    );
  },

  async load(specifier) {
    if (typeof specifier !== 'string') {
      throw TypeError('first argument of load() must be a string');
    }

    const { noAggregateLoadErrors } = /** @type {CompartmentFields} */ (
      weakmapGet(privateFields, this)
    );

    return load(privateFields, moduleAliases, this, specifier, {
      noAggregateErrors: noAggregateLoadErrors,
    });
  },

  importNow(specifier) {
    if (typeof specifier !== 'string') {
      throw TypeError('first argument of importNow() must be a string');
    }
    const { noAggregateLoadErrors } = /** @type {CompartmentFields} */ (
      weakmapGet(privateFields, this)
    );

    loadNow(privateFields, moduleAliases, this, specifier, {
      noAggregateErrors: noAggregateLoadErrors,
    });
    return compartmentImportNow(/** @type {Compartment} */ (this), specifier);
  },
};

// This causes `String(new Compartment())` to evaluate to `[object Compartment]`.
// The descriptor follows the conventions of other globals with @@toStringTag
// properties, e.g. Math.
$h͏_once.CompartmentPrototype(CompartmentPrototype);defineProperties(CompartmentPrototype,{
  [toStringTagSymbol]: {
    value: 'Compartment',
    writable: false,
    enumerable: false,
    configurable: true,
  },
});

defineProperties(InertCompartment, {
  prototype: { value: CompartmentPrototype },
});

/**
 * @callback MakeCompartmentConstructor
 * @param {MakeCompartmentConstructor} targetMakeCompartmentConstructor
 * @param {Record<string, any>} intrinsics
 * @param {(object: object) => void} markVirtualizedNativeFunction
 * @param {object} [options]
 * @param {Compartment} [options.parentCompartment]
 * @param {boolean} [options.enforceNew]
 * @returns {Compartment['constructor']}
 */

/**
 * "Options bag"-style `Compartment` constructor arguments.
 * @typedef {[options?: CompartmentOptions & { __options__: true }]} CompartmentOptionsArgs
 */

/**
 * Legacy `Compartment` constructor arguments.
 *
 * @deprecated
 * @typedef {[globals?: Map<string, any>, modules?: Map<string, ModuleDescriptor>, options?: CompartmentOptions]} LegacyCompartmentOptionsArgs
 */

/**
 * In order to facilitate migration from the deprecated signature of the
 * compartment constructor,
 *
 * `new Compartent(globals?, modules?, options?)`
 *
 * to the new signature:
 *
 * `new Compartment(options?)`
 *
 * ...where globals and modules are expressed in the options bag instead of
 * positional arguments, this function detects the temporary sigil __options__
 * on the first argument and coerces compartments arguments into a single
 * compartments object.
 * @param {CompartmentOptionsArgs|LegacyCompartmentOptionsArgs} args
 * @returns {CompartmentOptions}
 */
       const compartmentOptions = (...args) => {
  if (args.length === 0) {
    return {};
  }
  if (
    args.length === 1 &&
    typeof args[0] === 'object' &&
    args[0] !== null &&
    '__options__' in args[0]
  ) {
    const { __options__, ...options } = args[0];
    assert(
      __options__ === true,
      `Compartment constructor only supports true __options__ sigil, got ${__options__}`,
    );
    return options;
  } else {
    const [
      globals = /** @type {Map<string, any>} */ ({}),
      modules = /** @type {Map<string, ModuleDescriptor>} */ ({}),
      options = {},
    ] = /** @type {LegacyCompartmentOptionsArgs} */ (args);
    assertEqual(
      options.modules,
      undefined,
      `Compartment constructor must receive either a module map argument or modules option, not both`,
    );
    assertEqual(
      options.globals,
      undefined,
      `Compartment constructor must receive either globals argument or option, not both`,
    );
    return {
      ...options,
      globals,
      modules,
    };
  }
};

/** @type {MakeCompartmentConstructor} */$h͏_once.compartmentOptions(compartmentOptions);
       const makeCompartmentConstructor = (
  targetMakeCompartmentConstructor,
  intrinsics,
  markVirtualizedNativeFunction,
  { parentCompartment = undefined, enforceNew = false } = {},
) => {
  /**
   *
   * @param {CompartmentOptionsArgs|LegacyCompartmentOptionsArgs} args
   */
  function Compartment(...args) {
    if (enforceNew && new.target === undefined) {
      throw TypeError(
        "Class constructor Compartment cannot be invoked without 'new'",
      );
    }

    // Extract options, and shallow-clone transforms.
    const {
      name = '<unknown>',
      transforms = [],
      __shimTransforms__ = [],
      globals: endowmentsOption = {},
      modules: moduleMapOption = {},
      resolveHook,
      importHook,
      importNowHook,
      moduleMapHook,
      importMetaHook,
      __noNamespaceBox__: noNamespaceBox = false,
      noAggregateLoadErrors = false,
    } = compartmentOptions(...args);
    const globalTransforms = arrayFlatMap(
      [transforms, __shimTransforms__],
      identity,
    );
    const endowments = { __proto__: null, ...endowmentsOption };
    const moduleMap = { __proto__: null, ...moduleMapOption };

    // Map<FullSpecifier, ModuleCompartmentRecord>
    const moduleRecords = new Map();
    // Map<FullSpecifier, ModuleInstance>
    const instances = new Map();
    // Map<FullSpecifier, {ExportsProxy, ProxiedExports, activate()}>
    const deferredExports = new Map();

    const globalObject = {};

    const compartment = this;

    setGlobalObjectSymbolUnscopables(globalObject);

    // We must initialize all constant properties first because
    // `makeSafeEvaluator` may use them to create optimized bindings
    // in the evaluator.
    // TODO: consider merging into a single initialization if internal
    // evaluator is no longer eagerly created
    setGlobalObjectConstantProperties(globalObject);

    const { safeEvaluate } = makeSafeEvaluator({
      globalObject,
      globalTransforms,
      sloppyGlobalsMode: false,
    });

    setGlobalObjectMutableProperties(globalObject, {
      intrinsics,
      newGlobalPropertyNames: sharedGlobalPropertyNames,
      makeCompartmentConstructor: targetMakeCompartmentConstructor,
      parentCompartment: this,
      markVirtualizedNativeFunction,
    });

    // TODO: maybe add evalTaming to the Compartment constructor 3rd options?
    setGlobalObjectEvaluators(
      globalObject,
      safeEvaluate,
      markVirtualizedNativeFunction,
    );

    assign(globalObject, endowments);

    /**
     * In support dynamic import in a module source loaded by this compartment,
     * like `await import(importSpecifier)`, induces this compartment to import
     * a module, returning a promise for the resulting module exports
     * namespace.
     * Unlike `compartment.import`, never creates a box object for the
     * namespace as that behavior is deprecated and inconsistent with the
     * standard behavior of dynamic import.
     * Obliges the caller to resolve import specifiers to their corresponding
     * full specifier.
     * That is, every module must have its own dynamic import function that
     * closes over the surrounding module's full module specifier and calls
     * through to this function.
     * @param {string} fullSpecifier - A full specifier is a key in the
     * compartment's module memo.
     * The method `compartment.import` accepts a full specifier, but dynamic
     * import accepts an import specifier and resolves it to a full specifier
     * relative to the calling module's full specifier.
     * @returns {Promise<ModuleExportsNamespace>}
     */
    const compartmentImport = async fullSpecifier => {
      if (typeof resolveHook !== 'function') {
        throw TypeError(
          `Compartment does not support dynamic import: no configured resolveHook for compartment ${q(name)}`,
        );
      }
      await load(privateFields, moduleAliases, compartment, fullSpecifier, {
        noAggregateErrors: noAggregateLoadErrors,
      });
      const { execute, exportsProxy } = link(
        privateFields,
        moduleAliases,
        compartment,
        fullSpecifier,
      );
      execute();
      return exportsProxy;
    };

    weakmapSet(privateFields, this, {
      name: `${name}`,
      globalTransforms,
      globalObject,
      safeEvaluate,
      resolveHook,
      importHook,
      importNowHook,
      moduleMap,
      moduleMapHook,
      importMetaHook,
      moduleRecords,
      __shimTransforms__,
      deferredExports,
      instances,
      parentCompartment,
      noNamespaceBox,
      compartmentImport,
      noAggregateLoadErrors,
    });
  }

  Compartment.prototype = CompartmentPrototype;

  return Compartment;
};$h͏_once.makeCompartmentConstructor(makeCompartmentConstructor);
})()
,
// === 51. ses ./src/get-anonymous-intrinsics.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let FERAL_FUNCTION,Float32Array,Map,Set,String,getOwnPropertyDescriptor,getPrototypeOf,iterateArray,iterateMap,iterateSet,iterateString,matchAllRegExp,matchAllSymbol,regexpPrototype,globalThis,assign,AsyncGeneratorFunctionInstance,ArrayBuffer,InertCompartment;$h͏_imports([["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["Float32Array",[$h͏_a => (Float32Array = $h͏_a)]],["Map",[$h͏_a => (Map = $h͏_a)]],["Set",[$h͏_a => (Set = $h͏_a)]],["String",[$h͏_a => (String = $h͏_a)]],["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]],["iterateArray",[$h͏_a => (iterateArray = $h͏_a)]],["iterateMap",[$h͏_a => (iterateMap = $h͏_a)]],["iterateSet",[$h͏_a => (iterateSet = $h͏_a)]],["iterateString",[$h͏_a => (iterateString = $h͏_a)]],["matchAllRegExp",[$h͏_a => (matchAllRegExp = $h͏_a)]],["matchAllSymbol",[$h͏_a => (matchAllSymbol = $h͏_a)]],["regexpPrototype",[$h͏_a => (regexpPrototype = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["assign",[$h͏_a => (assign = $h͏_a)]],["AsyncGeneratorFunctionInstance",[$h͏_a => (AsyncGeneratorFunctionInstance = $h͏_a)]],["ArrayBuffer",[$h͏_a => (ArrayBuffer = $h͏_a)]]]],["./compartment.js", [["InertCompartment",[$h͏_a => (InertCompartment = $h͏_a)]]]]]);





















/**
 * Object.getConstructorOf()
 * Helper function to improve readability, similar to Object.getPrototypeOf().
 *
 * @param {object} obj
 */
function getConstructorOf(obj) {
  return getPrototypeOf(obj).constructor;
}

// getAnonymousIntrinsics uses a utility function to construct an arguments
// object, since it cannot have one of its own and also be a const export.
function makeArguments() {
  // eslint-disable-next-line prefer-rest-params
  return arguments;
}

/**
 * getAnonymousIntrinsics()
 * Get the intrinsics not otherwise reachable by named own property
 * traversal from the global object.
 *
 * @returns {object}
 */
       const getAnonymousIntrinsics = () => {
  const InertFunction = FERAL_FUNCTION.prototype.constructor;

  // 9.2.4.1 %ThrowTypeError%

  const argsCalleeDesc = getOwnPropertyDescriptor(makeArguments(), 'callee');
  const ThrowTypeError = argsCalleeDesc && argsCalleeDesc.get;

  // 21.1.5.2 The %StringIteratorPrototype% Object

  // eslint-disable-next-line no-new-wrappers
  const StringIteratorObject = iterateString(new String());
  const StringIteratorPrototype = getPrototypeOf(StringIteratorObject);

  // 21.2.7.1 The %RegExpStringIteratorPrototype% Object
  const RegExpStringIterator =
    regexpPrototype[matchAllSymbol] && matchAllRegExp(/./);
  const RegExpStringIteratorPrototype =
    RegExpStringIterator && getPrototypeOf(RegExpStringIterator);

  // 22.1.5.2 The %ArrayIteratorPrototype% Object

  // eslint-disable-next-line no-array-constructor
  const ArrayIteratorObject = iterateArray([]);
  const ArrayIteratorPrototype = getPrototypeOf(ArrayIteratorObject);

  // 22.2.1 The %TypedArray% Intrinsic Object

  const TypedArray = getPrototypeOf(Float32Array);

  // 23.1.5.2 The %MapIteratorPrototype% Object

  const MapIteratorObject = iterateMap(new Map());
  const MapIteratorPrototype = getPrototypeOf(MapIteratorObject);

  // 23.2.5.2 The %SetIteratorPrototype% Object

  const SetIteratorObject = iterateSet(new Set());
  const SetIteratorPrototype = getPrototypeOf(SetIteratorObject);

  // 25.1.2 The %IteratorPrototype% Object

  const IteratorPrototype = getPrototypeOf(ArrayIteratorPrototype);

  // 25.2.1 The GeneratorFunction Constructor

  // eslint-disable-next-line no-empty-function
  function* GeneratorFunctionInstance() {}
  const GeneratorFunction = getConstructorOf(GeneratorFunctionInstance);

  // 25.2.3 Properties of the GeneratorFunction Prototype Object

  const Generator = GeneratorFunction.prototype;

  // 25.7.1 The AsyncFunction Constructor

  // eslint-disable-next-line no-empty-function
  async function AsyncFunctionInstance() {}
  const AsyncFunction = getConstructorOf(AsyncFunctionInstance);

  const intrinsics = {
    '%InertFunction%': InertFunction,
    '%ArrayIteratorPrototype%': ArrayIteratorPrototype,
    '%InertAsyncFunction%': AsyncFunction,
    '%Generator%': Generator,
    '%InertGeneratorFunction%': GeneratorFunction,
    '%IteratorPrototype%': IteratorPrototype,
    '%MapIteratorPrototype%': MapIteratorPrototype,
    '%RegExpStringIteratorPrototype%': RegExpStringIteratorPrototype,
    '%SetIteratorPrototype%': SetIteratorPrototype,
    '%StringIteratorPrototype%': StringIteratorPrototype,
    '%ThrowTypeError%': ThrowTypeError,
    '%TypedArray%': TypedArray,
    '%InertCompartment%': InertCompartment,
  };

  if (AsyncGeneratorFunctionInstance !== undefined) {
    // 25.3.1 The AsyncGeneratorFunction Constructor

    const AsyncGeneratorFunction = getConstructorOf(
      AsyncGeneratorFunctionInstance,
    );

    // 25.3.2.2 AsyncGeneratorFunction.prototype
    const AsyncGenerator = AsyncGeneratorFunction.prototype;
    // 25.5.1 Properties of the AsyncGenerator Prototype Object
    const AsyncGeneratorPrototype = AsyncGenerator.prototype;
    const AsyncIteratorPrototype = getPrototypeOf(AsyncGeneratorPrototype);

    assign(intrinsics, {
      '%AsyncGenerator%': AsyncGenerator,
      '%InertAsyncGeneratorFunction%': AsyncGeneratorFunction,
      '%AsyncGeneratorPrototype%': AsyncGeneratorPrototype,
      '%AsyncIteratorPrototype%': AsyncIteratorPrototype,
    });
  }

  if (globalThis.Iterator) {
    intrinsics['%IteratorHelperPrototype%'] = getPrototypeOf(
      // eslint-disable-next-line @endo/no-polymorphic-call
      globalThis.Iterator.from([]).take(0),
    );
    intrinsics['%WrapForValidIteratorPrototype%'] = getPrototypeOf(
      // eslint-disable-next-line @endo/no-polymorphic-call
      globalThis.Iterator.from({
        next() {
          return { value: undefined };
        },
      }),
    );
  }

  if (globalThis.AsyncIterator) {
    intrinsics['%AsyncIteratorHelperPrototype%'] = getPrototypeOf(
      // eslint-disable-next-line @endo/no-polymorphic-call
      globalThis.AsyncIterator.from([]).take(0),
    );
    intrinsics['%WrapForValidAsyncIteratorPrototype%'] = getPrototypeOf(
      // eslint-disable-next-line @endo/no-polymorphic-call
      globalThis.AsyncIterator.from({ next() {} }),
    );
  }

  const ab = new ArrayBuffer(0);
  // eslint-disable-next-line @endo/no-polymorphic-call
  const iab = ab.sliceToImmutable();
  const iabProto = getPrototypeOf(iab);
  if (iabProto !== ArrayBuffer.prototype) {
    // In a native implementation, these will be the same prototype
    intrinsics['%ImmutableArrayBufferPrototype%'] = iabProto;
  }

  return intrinsics;
};$h͏_once.getAnonymousIntrinsics(getAnonymousIntrinsics);
})()
,
// === 52. ses ./src/tame-harden.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let freeze;$h͏_imports([["./commons.js", [["freeze",[$h͏_a => (freeze = $h͏_a)]]]]]);


/** @import {Harden} from '../types.js'; */

/** @type {(safeHarden: Harden, hardenTaming: 'safe' | 'unsafe') => Harden} */
       const tameHarden = (safeHarden, hardenTaming) => {
  if (hardenTaming === 'safe') {
    return safeHarden;
  }

  // In on the joke
  Object.isExtensible = () => false;
  Object.isFrozen = () => true;
  Object.isSealed = () => true;
  Reflect.isExtensible = () => false;

  // @ts-expect-error secret property
  if (safeHarden.isFake) {
    // The "safe" hardener is already a fake hardener.
    // Just use it.
    return safeHarden;
  }

  const fakeHarden = arg => arg;
  fakeHarden.isFake = true;
  return freeze(fakeHarden);
};$h͏_once.tameHarden(tameHarden);
freeze(tameHarden);
})()
,
// === 53. ses ./src/tame-symbol-constructor.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let Symbol,entries,fromEntries,getOwnPropertyDescriptors,defineProperties,arrayMap,functionBind;$h͏_imports([["./commons.js", [["Symbol",[$h͏_a => (Symbol = $h͏_a)]],["entries",[$h͏_a => (entries = $h͏_a)]],["fromEntries",[$h͏_a => (fromEntries = $h͏_a)]],["getOwnPropertyDescriptors",[$h͏_a => (getOwnPropertyDescriptors = $h͏_a)]],["defineProperties",[$h͏_a => (defineProperties = $h͏_a)]],["arrayMap",[$h͏_a => (arrayMap = $h͏_a)]],["functionBind",[$h͏_a => (functionBind = $h͏_a)]]]]]);









/**
 * This taming provides a tamed alternative to the original `Symbol` constructor
 * that starts off identical, except that all its properties are "temporarily"
 * configurable. The original `Symbol` constructor remains unmodified on
 * the start compartment's global. The tamed alternative is used as the shared
 * `Symbol` constructor on constructed compartments.
 *
 * Starting these properties as configurable assumes two succeeding phases of
 * processing: A permit enforcement phase, that
 * removes all properties not on the permits (which requires them to be
 * configurable) and a global hardening step that freezes all primordials,
 * returning these properties to their expected non-configurable status.
 *
 * The ses shim is constructed to eventually enable vetted shims to run between
 * repair and global hardening. However, such vetted shims would normally
 * run in the start compartment, which continues to use the original unmodified
 * `Symbol`, so they should not normally be affected by the temporary
 * configurability of these properties.
 *
 * Note that the spec refers to the global `Symbol` function as the
 * ["Symbol Constructor"](https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-symbol-constructor)
 * even though it has a call behavior (can be called as a function) and does not
 * not have a construct behavior (cannot be called with `new`). Accordingly,
 * to tame it, we must replace it with a function without a construct
 * behavior.
 */
       const tameSymbolConstructor = () => {
  const OriginalSymbol = Symbol;
  const SymbolPrototype = OriginalSymbol.prototype;

  // Bypass Hermes bug, fixed in: https://github.com/facebook/hermes/commit/00f18c89c720e1c34592bb85a1a8d311e6e99599
  // Make a "copy" of the primordial [Symbol "constructor"](https://tc39.es/ecma262/#sec-symbol-description) which maintains all observable behavior. The primordial explicitly throws on `[[Construct]]` and has a `[[Call]]` which ignores the receiver. Binding also maintains the `toString` source as a native function. The `name` is restored below when copying own properties.
  const SharedSymbol = functionBind(Symbol, undefined);

  defineProperties(SymbolPrototype, {
    constructor: {
      value: SharedSymbol
      // leave other `constructor` attributes as is
    },
  });

  const originalDescsEntries = entries(
    getOwnPropertyDescriptors(OriginalSymbol),
  );
  const descs = fromEntries(
    arrayMap(originalDescsEntries, ([name, desc]) => [
      name,
      { ...desc, configurable: true },
    ]),
  );
  defineProperties(SharedSymbol, descs);

  return { '%SharedSymbol%': SharedSymbol };
};$h͏_once.tameSymbolConstructor(tameSymbolConstructor);
})()
,
// === 54. ses ./src/tame-faux-data-properties.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getOwnPropertyDescriptor,apply,defineProperty,toStringTagSymbol;$h͏_imports([["./commons.js", [["getOwnPropertyDescriptor",[$h͏_a => (getOwnPropertyDescriptor = $h͏_a)]],["apply",[$h͏_a => (apply = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["toStringTagSymbol",[$h͏_a => (toStringTagSymbol = $h͏_a)]]]]]);






const throws = thunk => {
  try {
    thunk();
    return false;
  } catch (er) {
    return true;
  }
};

/**
 * Exported for convenience of unit testing. Harmless, but not expected
 * to be useful by itself.
 *
 * @param {any} obj
 * @param {string|symbol} prop
 * @param {any} expectedValue
 * @returns {boolean}
 * Returns whether `tameFauxDataProperty` turned the property in question
 * from an apparent faux data property into the actual data property it
 * seemed to emulate.
 * If this function returns `false`, then we hope no effects happened.
 * However, sniffing out if an accessor property seems to be a faux data
 * property requires invoking the getter and setter functions that might
 * possibly have side effects.
 * `tameFauxDataProperty` is not in a position to tell.
 */
       const tameFauxDataProperty = (obj, prop, expectedValue) => {
  if (obj === undefined) {
    // The object does not exist in this version of the platform
    return false;
  }
  const desc = getOwnPropertyDescriptor(obj, prop);
  if (!desc || 'value' in desc) {
    // The property either doesn't exist, or is already an actual data property.
    return false;
  }
  const { get, set } = desc;
  if (typeof get !== 'function' || typeof set !== 'function') {
    // A faux data property has both a getter and a setter
    return false;
  }
  if (get() !== expectedValue) {
    // The getter called by itself should produce the expectedValue
    return false;
  }
  if (apply(get, obj, []) !== expectedValue) {
    // The getter called with `this === obj` should also return the
    // expectedValue.
    return false;
  }
  const testValue = 'Seems to be a setter';
  const subject1 = { __proto__: null };
  apply(set, subject1, [testValue]);
  if (subject1[prop] !== testValue) {
    // The setter called with an unrelated object as `this` should
    // set the property on the object.
    return false;
  }
  const subject2 = { __proto__: obj };
  apply(set, subject2, [testValue]);
  if (subject2[prop] !== testValue) {
    // The setter called on an object that inherits from `obj` should
    // override the property from `obj` as if by assignment.
    return false;
  }
  if (!throws(() => apply(set, obj, [expectedValue]))) {
    // The setter called with `this === obj` should throw without having
    // caused any effect.
    // This is the test that has the greatest danger of leaving behind some
    // persistent side effect. The most obvious one is to emulate a
    // successful assignment to the property. That's why this test
    // uses `expectedValue`, so that case is likely not to actually
    // change anything.
    return false;
  }
  if ('originalValue' in get) {
    // The ses-shim uniquely, as far as we know, puts an `originalValue`
    // property on the getter, so that reflect property tranversal algorithms,
    // like `harden`, will traverse into the enulated value without
    // calling the getter. That does not happen until `permits-intrinsics.js`
    // which is much later. So if we see one this early, we should
    // not assume we understand what's going on.
    return false;
  }

  // We assume that this code runs before any untrusted code runs, so
  // we do not need to worry about the above conditions passing because of
  // malicious intent. In fact, it runs even before vetted shims are supposed
  // to run, between repair and hardening. Given that, after all these tests
  // pass, we have adequately validated that the property in question is
  // an accessor function whose purpose is suppressing the override mistake,
  // i.e., enabling a non-writable property to be overridden by assignment.
  // In that case, here we *temporarily* turn it into the data property
  // it seems to emulate, but writable so that it does not trigger the
  // override mistake while in this temporary state.

  // For those properties that are also listed in `enablements.js`,
  // that phase will re-enable override for these properties, but
  // via accessor functions that SES controls, so we know what they are
  // doing. In addition, the getter functions installed by
  // `enable-property-overrides.js` have an `originalValue` field
  // enabling meta-traversal code like harden to visit the original value
  // without calling the getter.

  if (desc.configurable === false) {
    // Even though it seems to be a faux data property, we're unable to fix it.
    return false;
  }

  // Many of the `return false;` cases above plausibly should be turned into
  // errors, or an least generate warnings. However, for those, the checks
  // following this phase are likely to signal an error anyway.

  // At this point, we have passed all our sniff checks for validating that
  // it seems to be a faux data property with the expected value. Turn
  // it into the actual data property it emulates, but writable so there is
  // not yet an override mistake problem.

  defineProperty(obj, prop, {
    value: expectedValue,
    writable: true,
    enumerable: desc.enumerable,
    configurable: true,
  });

  return true;
};

/**
 * In JavaScript, the so-called "override mistake" is the inability to
 * override an inherited non-writable data property by assignment. A common
 * workaround is to instead define an accessor property that acts like
 * a non-writable data property, except that it allows an object that
 * inherits this property to override it by assignment. Let's call
 * an access property that acts this way a "faux data property". In this
 * ses-shim, `enable-property-overrides.js` makes the properties listed in
 * `enablements.js` into faux data properties.
 *
 * But the ses-shim is not alone in use of this trick. Starting with the
 * [Iterator Helpers proposal](https://github.com/tc39/proposal-iterator-helpers),
 * some properties are defined as (what we call) faux data properties.
 * Some of these are new properties (`Interator.prototype.constructor`) and
 * some are old data properties converted to accessor properties
 * (`Iterator.prototype[String.toStringTag]`). So the ses-shim needs to be
 * prepared for some enumerated set of properties to already be faux data
 * properties in the platform prior to our initialization.
 *
 * For these possible faux data properties, it is important that
 * `permits.js` describe each as a data property, so that it can further
 * constrain the apparent value (that allegedly would be returned by the
 * getter) according to its own permits.
 *
 * However, at the time of this writing, the precise behavior specified
 * by the iterator-helpers proposal for these faux data properties is
 * novel. We should not be too confident that all further such platform
 * additions do what we would now expect. So, for each of these possible
 * faux data properties, we do some sniffing to see if it behaves as we
 * currently expect a faux data property to act. If not, then
 * `tameFauxDataProperties` tries not to modify it, leaving it to later
 * checks, especially `permits-intrinsics.js`, to error when it sees an
 * unexpected accessor.
 *
 * If one of these enumerated accessor properties does seem to be
 * a faithful faux data property, then `tameFauxDataProperties` itself
 * *tempoarily* turns it into the actual data property that it seems to emulate.
 * This data property starts as writable, so that in this state it will
 * not trigger the override mistake, i.e., assignment to an object inheriting
 * this property is allowed to succeed at overriding this property.
 *
 * For those properties that should be a faux data property rather than an
 * actual one, such as those from the iterator-helpers proposal,
 * they should be listed as such in `enablements.js`, so
 * `enable-property-overrides.js` will turn it back into a faux data property.
 * But one controlled by the ses-shim, whose behavior we understand.
 *
 * `tameFauxDataProperties`, which turns these into actual data properties,
 * happens during the `repairIntrinsics` phase
 * of `lockdown`, before even vetted shim are supposed to run.
 * `enable-property-overrides.js` runs after vetted shims, turning the
 * appropriate ones back into faux data properties. Thus vetted shims
 * can observe the possibly non-conforming state where these are temporarily
 * actual data properties, rather than faux data properties.
 *
 * Coordinate the property enumeration here
 * with `enablements.js`, so the appropriate properties are
 * turned back to faux data properties.
 *
 * @param {Record<any,any>} intrinsics
 */$h͏_once.tameFauxDataProperty(tameFauxDataProperty);
       const tameFauxDataProperties = intrinsics => {
  // https://github.com/tc39/proposal-iterator-helpers
  tameFauxDataProperty(
    intrinsics['%IteratorPrototype%'],
    'constructor',
    intrinsics.Iterator,
  );
  // https://github.com/tc39/proposal-iterator-helpers
  tameFauxDataProperty(
    intrinsics['%IteratorPrototype%'],
    toStringTagSymbol,
    'Iterator',
  );
};$h͏_once.tameFauxDataProperties(tameFauxDataProperties);
})()
,
// === 55. ses ./src/tame-regenerator-runtime.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let defineProperty,iteratorPrototype,iteratorSymbol,hasOwn;$h͏_imports([["./commons.js", [["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]],["iteratorPrototype",[$h͏_a => (iteratorPrototype = $h͏_a)]],["iteratorSymbol",[$h͏_a => (iteratorSymbol = $h͏_a)]],["hasOwn",[$h͏_a => (hasOwn = $h͏_a)]]]]]);






       const tameRegeneratorRuntime = () => {
  const iter = iteratorPrototype[iteratorSymbol];
  defineProperty(iteratorPrototype, iteratorSymbol, {
    configurable: true,
    get() {
      return iter;
    },
    set(value) {
      // ignore the assignment on IteratorPrototype
      if (this === iteratorPrototype) return;
      if (hasOwn(this, iteratorSymbol)) {
        this[iteratorSymbol] = value;
      }
      defineProperty(this, iteratorSymbol, {
        value,
        writable: true,
        enumerable: true,
        configurable: true,
      });
    },
  });
};$h͏_once.tameRegeneratorRuntime(tameRegeneratorRuntime);
})()
,
// === 56. ses ./src/shim-arraybuffer-transfer.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let ArrayBuffer,arrayBufferPrototype,arrayBufferSlice,arrayBufferGetByteLength,Uint8Array,typedArraySet,globalThis,TypeError,defineProperty;$h͏_imports([["./commons.js", [["ArrayBuffer",[$h͏_a => (ArrayBuffer = $h͏_a)]],["arrayBufferPrototype",[$h͏_a => (arrayBufferPrototype = $h͏_a)]],["arrayBufferSlice",[$h͏_a => (arrayBufferSlice = $h͏_a)]],["arrayBufferGetByteLength",[$h͏_a => (arrayBufferGetByteLength = $h͏_a)]],["Uint8Array",[$h͏_a => (Uint8Array = $h͏_a)]],["typedArraySet",[$h͏_a => (typedArraySet = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["defineProperty",[$h͏_a => (defineProperty = $h͏_a)]]]]]);











       const shimArrayBufferTransfer = () => {
  if (typeof arrayBufferPrototype.transfer === 'function') {
    // Assume already exists so does not need to be shimmed.
    // Such conditional shimming is ok in this case since ArrayBuffer.p.transfer
    // is already officially part of JS.
    //
    // Empty object because this shim has nothing for `addIntrinsics` to add.
    return {};
  }
  const clone = globalThis.structuredClone;
  if (typeof clone !== 'function') {
    // On a platform with neither `Array.prototype.transfer`
    // nor `structuredClone`, this shim does nothing.
    // For example, Node <= 16 has neither.
    //
    // Empty object because this shim has nothing for `addIntrinsics` to add.
    return {};
    // TODO Rather than doing nothing, should the endo ses-shim throw
    // in this case?
    // throw TypeError(
    //   `Can only shim missing ArrayBuffer.prototype.transfer on a platform with "structuredClone"`,
    // );
    // For example, endo no longer supports Node <= 16. All browsers have
    // `structuredClone`. XS has `Array.prototype.transfer`. Are there still
    // any platforms without both that Endo should still support?
    // What about Hermes?
  }

  /**
   * @type {ThisType<ArrayBuffer>}
   */
  const methods = {
    /**
     * @param {number} [newLength]
     */
    transfer(newLength = undefined) {
      // Using this builtin getter also ensures that `this` is a genuine
      // ArrayBuffer.
      const oldLength = arrayBufferGetByteLength(this);
      if (newLength === undefined || newLength === oldLength) {
        return clone(this, { transfer: [this] });
      }
      if (typeof newLength !== 'number') {
        throw TypeError(`transfer newLength if provided must be a number`);
      }
      if (newLength > oldLength) {
        const result = new ArrayBuffer(newLength);
        const taOld = new Uint8Array(this);
        const taNew = new Uint8Array(result);
        typedArraySet(taNew, taOld);
        // Using clone only to detach, and only after the copy succeeds
        clone(this, { transfer: [this] });
        return result;
      } else {
        const result = arrayBufferSlice(this, 0, newLength);
        // Using clone only to detach, and only after the slice succeeds
        clone(this, { transfer: [this] });
        return result;
      }
    },
  };

  defineProperty(arrayBufferPrototype, 'transfer', {
    // @ts-expect-error
    value: methods.transfer,
    writable: true,
    enumerable: false,
    configurable: true,
  });

  // Empty object because this shim has nothing for `addIntrinsics` to add.
  return {};
};$h͏_once.shimArrayBufferTransfer(shimArrayBufferTransfer);
})()
,
// === 57. ses ./src/reporting.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,assert;$h͏_imports([["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]]]]]);


/**
 * @import {Reporter, GroupReporter} from './reporting-types.js'
 */

/* eslint-disable @endo/no-polymorphic-call */
/**
 * To address https://github.com/endojs/endo/issues/2908,
 * the `consoleReporter` uses the current `console` rather
 * than the original one.
 *
 * @type {GroupReporter}
 */
const consoleReporter = {
  warn(...args) {
    globalThis.console.warn(...args);
  },
  error(...args) {
    globalThis.console.error(...args);
  },
  ...(globalThis.console?.groupCollapsed
    ? {
        groupCollapsed(...args) {
          globalThis.console.groupCollapsed(...args);
        },
      }
    : undefined),
  ...(globalThis.console?.groupEnd
    ? {
        groupEnd() {
          globalThis.console.groupEnd();
        },
      }
    : undefined),
};
/* eslint-enable @endo/no-polymorphic-call */

/**
 * Creates a suitable reporter for internal errors and warnings out of the
 * Node.js console.error to ensure all messages go to stderr, including the
 * group label.
 * Accounts for the extra space introduced by console.error as a delimiter
 * between the indent and subsequent arguments.
 *
 * @param {(...message: Array<any>) => void} print
 */
const makeReportPrinter = print => {
  let indent = false;
  /** @param {Array<any>} args */
  const printIndent = (...args) => {
    if (indent) {
      print(' ', ...args);
    } else {
      print(...args);
    }
  };
  return /** @type {GroupReporter} */ ({
    warn(...args) {
      printIndent(...args);
    },
    error(...args) {
      printIndent(...args);
    },
    groupCollapsed(...args) {
      assert(!indent);
      print(...args);
      indent = true;
    },
    groupEnd() {
      indent = false;
    },
  });
};

const mute = () => {};

/**
 * @param {"platform" | "console" | "none"} reporting
 */
       const chooseReporter = reporting => {
  if (reporting === 'none') {
    return makeReportPrinter(mute);
  }
  if (globalThis.console !== undefined) {
    if (
      reporting === 'console' || // asks for console explicitly
      globalThis.window === globalThis || // likely on browser
      globalThis.importScripts !== undefined // likely on worker
    ) {
      // reporter just delegates directly to the current console
      return consoleReporter;
    }
    assert(reporting === 'platform');
    // On Node.js, we send all feedback to stderr, regardless of purported level.
    // This uses `consoleReporter.error` instead of `console.error` because we
    // want the constructed reporter to use the `console.error` of the current
    // `console`, not the `console` that was installed when the reporter
    // was created.
    return makeReportPrinter(consoleReporter.error);
  }
  if (globalThis.print !== undefined) {
    return makeReportPrinter(globalThis.print);
  }
  return makeReportPrinter(mute);
};

/**
 * @param {string} groupLabel
 * @param {GroupReporter} console
 * @param {(internalConsole: Reporter) => void} callback
 */$h͏_once.chooseReporter(chooseReporter);
       const reportInGroup = (groupLabel, console, callback) => {
  const { warn, error, groupCollapsed, groupEnd } = console;
  const grouping = groupCollapsed && groupEnd;
  let groupStarted = false;
  try {
    return callback({
      warn(...args) {
        if (grouping && !groupStarted) {
          groupCollapsed(groupLabel);
          groupStarted = true;
        }
        warn(...args);
      },
      error(...args) {
        if (grouping && !groupStarted) {
          groupCollapsed(groupLabel);
          groupStarted = true;
        }
        error(...args);
      },
    });
  } finally {
    if (grouping && groupStarted) {
      groupEnd();
      groupStarted = false;
    }
  }
};$h͏_once.reportInGroup(reportInGroup);
})()
,
// === 58. ses ./src/lockdown.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let getenv,FERAL_FUNCTION,FERAL_EVAL,TypeError,arrayFilter,globalThis,is,ownKeys,stringSplit,symbolFor,noEvalEvaluate,getOwnPropertyNames,getPrototypeOf,makeHardener,makeIntrinsicsCollector,removeUnpermittedIntrinsics,tameFunctionConstructors,tameDateConstructor,tameMathObject,tameRegExpConstructor,enablePropertyOverrides,tameLocaleMethods,setGlobalObjectConstantProperties,setGlobalObjectMutableProperties,setGlobalObjectEvaluators,makeSafeEvaluator,initialGlobalPropertyNames,tameFunctionToString,tameDomains,tameModuleSource,tameConsole,tameErrorConstructor,assert,makeAssert,getAnonymousIntrinsics,makeCompartmentConstructor,tameHarden,tameSymbolConstructor,tameFauxDataProperties,tameRegeneratorRuntime,shimArrayBufferTransfer,reportInGroup,chooseReporter;$h͏_imports([["@endo/env-options", [["getEnvironmentOption",[$h͏_a => (getenv = $h͏_a)]]]],["@endo/immutable-arraybuffer/shim.js", []],["./commons.js", [["FERAL_FUNCTION",[$h͏_a => (FERAL_FUNCTION = $h͏_a)]],["FERAL_EVAL",[$h͏_a => (FERAL_EVAL = $h͏_a)]],["TypeError",[$h͏_a => (TypeError = $h͏_a)]],["arrayFilter",[$h͏_a => (arrayFilter = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]],["is",[$h͏_a => (is = $h͏_a)]],["ownKeys",[$h͏_a => (ownKeys = $h͏_a)]],["stringSplit",[$h͏_a => (stringSplit = $h͏_a)]],["symbolFor",[$h͏_a => (symbolFor = $h͏_a)]],["noEvalEvaluate",[$h͏_a => (noEvalEvaluate = $h͏_a)]],["getOwnPropertyNames",[$h͏_a => (getOwnPropertyNames = $h͏_a)]],["getPrototypeOf",[$h͏_a => (getPrototypeOf = $h͏_a)]]]],["./make-hardener.js", [["makeHardener",[$h͏_a => (makeHardener = $h͏_a)]]]],["./intrinsics.js", [["makeIntrinsicsCollector",[$h͏_a => (makeIntrinsicsCollector = $h͏_a)]]]],["./permits-intrinsics.js", [["default",[$h͏_a => (removeUnpermittedIntrinsics = $h͏_a)]]]],["./tame-function-constructors.js", [["default",[$h͏_a => (tameFunctionConstructors = $h͏_a)]]]],["./tame-date-constructor.js", [["default",[$h͏_a => (tameDateConstructor = $h͏_a)]]]],["./tame-math-object.js", [["default",[$h͏_a => (tameMathObject = $h͏_a)]]]],["./tame-regexp-constructor.js", [["default",[$h͏_a => (tameRegExpConstructor = $h͏_a)]]]],["./enable-property-overrides.js", [["default",[$h͏_a => (enablePropertyOverrides = $h͏_a)]]]],["./tame-locale-methods.js", [["default",[$h͏_a => (tameLocaleMethods = $h͏_a)]]]],["./global-object.js", [["setGlobalObjectConstantProperties",[$h͏_a => (setGlobalObjectConstantProperties = $h͏_a)]],["setGlobalObjectMutableProperties",[$h͏_a => (setGlobalObjectMutableProperties = $h͏_a)]],["setGlobalObjectEvaluators",[$h͏_a => (setGlobalObjectEvaluators = $h͏_a)]]]],["./make-safe-evaluator.js", [["makeSafeEvaluator",[$h͏_a => (makeSafeEvaluator = $h͏_a)]]]],["./permits.js", [["initialGlobalPropertyNames",[$h͏_a => (initialGlobalPropertyNames = $h͏_a)]]]],["./tame-function-tostring.js", [["tameFunctionToString",[$h͏_a => (tameFunctionToString = $h͏_a)]]]],["./tame-domains.js", [["tameDomains",[$h͏_a => (tameDomains = $h͏_a)]]]],["./tame-module-source.js", [["tameModuleSource",[$h͏_a => (tameModuleSource = $h͏_a)]]]],["./error/tame-console.js", [["tameConsole",[$h͏_a => (tameConsole = $h͏_a)]]]],["./error/tame-error-constructor.js", [["default",[$h͏_a => (tameErrorConstructor = $h͏_a)]]]],["./error/assert.js", [["assert",[$h͏_a => (assert = $h͏_a)]],["makeAssert",[$h͏_a => (makeAssert = $h͏_a)]]]],["./get-anonymous-intrinsics.js", [["getAnonymousIntrinsics",[$h͏_a => (getAnonymousIntrinsics = $h͏_a)]]]],["./compartment.js", [["makeCompartmentConstructor",[$h͏_a => (makeCompartmentConstructor = $h͏_a)]]]],["./tame-harden.js", [["tameHarden",[$h͏_a => (tameHarden = $h͏_a)]]]],["./tame-symbol-constructor.js", [["tameSymbolConstructor",[$h͏_a => (tameSymbolConstructor = $h͏_a)]]]],["./tame-faux-data-properties.js", [["tameFauxDataProperties",[$h͏_a => (tameFauxDataProperties = $h͏_a)]]]],["./tame-regenerator-runtime.js", [["tameRegeneratorRuntime",[$h͏_a => (tameRegeneratorRuntime = $h͏_a)]]]],["./shim-arraybuffer-transfer.js", [["shimArrayBufferTransfer",[$h͏_a => (shimArrayBufferTransfer = $h͏_a)]]]],["./reporting.js", [["reportInGroup",[$h͏_a => (reportInGroup = $h͏_a)]],["chooseReporter",[$h͏_a => (chooseReporter = $h͏_a)]]]]]);































































/** @import {LockdownOptions} from '../types.js' */

const { Fail, details: X, quote: q } = assert;

/** @type {Error=} */
let priorRepairIntrinsics;

/** @type {Error=} */
let priorHardenIntrinsics;

// Build a harden() with an empty fringe.
// Gate it on lockdown.
/**
 * @template T
 * @param {T} ref
 * @returns {T}
 */
const safeHarden = makeHardener();

/**
 * @callback Transform
 * @param {string} source
 * @returns {string}
 */

/**
 * @callback CompartmentConstructor
 * @param {object} endowments
 * @param {object} moduleMap
 * @param {object} [options]
 * @param {Array<Transform>} [options.transforms]
 * @param {Array<Transform>} [options.__shimTransforms__]
 */

// TODO https://github.com/endojs/endo/issues/814
// Lockdown currently allows multiple calls provided that the specified options
// of every call agree.  With experience, we have observed that lockdown should
// only ever need to be called once and that simplifying lockdown will improve
// the quality of audits.

const probeHostEvaluators = () => {
  let functionAllowed;
  try {
    functionAllowed = FERAL_FUNCTION('return true')();
  } catch (_error) {
    // We reach here if the Function() constructor is outright forbidden by a
    // strict Content Security Policy (containing either a `default-src` or a
    // `script-src` directive), not been implemented in the host, or the host
    // is configured to throw an exception instead of `new Function`.
    functionAllowed = false;
  }

  let evalAllowed;
  try {
    evalAllowed = FERAL_EVAL('true');
  } catch (_error) {
    // We reach here if `eval` is outright forbidden by a strict Content Security Policy,
    // not implemented in the host, or the host is configured to throw an exception.
    // We allow this for SES usage that delegates the responsibility to isolate
    // guest code to production code generation.
    evalAllowed = false;
  }

  let directEvalAllowed;
  if (functionAllowed && evalAllowed) {
    directEvalAllowed = FERAL_FUNCTION(
      'eval',
      'SES_changed',
      `\
        eval("SES_changed = true");
        return SES_changed;
      `,
    )(FERAL_EVAL, false);
    // If we get here and SES_changed stayed false, that means the eval was sloppy
    // and indirect, which generally creates a new global.
    // We are going to throw an exception for failing to initialize SES, but
    // good neighbors clean up.
    if (!directEvalAllowed) {
      delete globalThis.SES_changed;
    }
  }

  return { functionAllowed, evalAllowed, directEvalAllowed };
};

/**
 * @param {LockdownOptions} [options]
 */
       const repairIntrinsics = (options = {}) => {
  // First time, absent options default to 'safe'.
  // Subsequent times, absent options default to first options.
  // Thus, all present options must agree with first options.
  // Reconstructing `option` here also ensures that it is a well
  // behaved record, with only own data properties.
  //
  // The `overrideTaming` is not a safety issue. Rather it is a tradeoff
  // between code compatibility, which is better with the `'moderate'`
  // setting, and tool compatibility, which is better with the `'min'`
  // setting. See
  // https://github.com/Agoric/SES-shim/blob/master/packages/ses/README.md#enabling-override-by-assignment)
  // for an explanation of when to use which.
  //
  // The `stackFiltering` is not a safety issue. Rather it is a tradeoff
  // between relevance and completeness of the stack frames shown on the
  // console. Setting`stackFiltering` to `'verbose'` applies no filters, providing
  // the raw stack frames that can be quite verbose. Setting
  // `stackFrameFiltering` to`'concise'` limits the display to the stack frame
  // information most likely to be relevant, eliminating distracting frames
  // such as those from the infrastructure. However, the bug you're trying to
  // track down might be in the infrastructure, in which case the `'verbose'` setting
  // is useful. See
  // [`stackFiltering` options](https://github.com/Agoric/SES-shim/blob/master/packages/ses/docs/lockdown.md#stackfiltering-options)
  // for an explanation.

  const {
    errorTaming = /** @type {'safe' | 'unsafe' | 'unsafe-debug'} */ (
      getenv('LOCKDOWN_ERROR_TAMING', 'safe', ['unsafe', 'unsafe-debug'])
    ),
    errorTrapping = /** @type {'platform' | 'none' | 'report' | 'abort' | 'exit'} */ (
      getenv('LOCKDOWN_ERROR_TRAPPING', 'platform', [
        'none',
        'report',
        'abort',
        'exit',
      ])
    ),
    reporting = /** @type {'platform' | 'console' | 'none'} */ (
      getenv('LOCKDOWN_REPORTING', 'platform', ['console', 'none'])
    ),
    unhandledRejectionTrapping = /** @type {'none' | 'report'} */ (
      getenv('LOCKDOWN_UNHANDLED_REJECTION_TRAPPING', 'report', ['none'])
    ),
    regExpTaming = /** @type {'safe' | 'unsafe'} */ (
      getenv('LOCKDOWN_REGEXP_TAMING', 'safe', ['unsafe'])
    ),
    localeTaming = /** @type {'safe' | 'unsafe'} */ (
      getenv('LOCKDOWN_LOCALE_TAMING', 'safe', ['unsafe'])
    ),
    consoleTaming = /** @type {'unsafe' | 'safe'} */ (
      getenv('LOCKDOWN_CONSOLE_TAMING', 'safe', ['unsafe'])
    ),
    overrideTaming = /** @type {'moderate' | 'min' | 'severe'} */ (
      getenv('LOCKDOWN_OVERRIDE_TAMING', 'moderate', ['min', 'severe'])
    ),
    stackFiltering = /** @type {'concise' | 'omit-frames' | 'shorten-paths' | 'verbose'} */ (
      getenv('LOCKDOWN_STACK_FILTERING', 'concise', [
        'omit-frames',
        'shorten-paths',
        'verbose',
      ])
    ),
    domainTaming = /** @type {'safe' | 'unsafe'} */ (
      getenv('LOCKDOWN_DOMAIN_TAMING', 'safe', ['unsafe'])
    ),
    evalTaming = /** @type {'safe-eval' | 'unsafe-eval' | 'no-eval'} */ (
      getenv('LOCKDOWN_EVAL_TAMING', 'safe-eval', [
        'unsafe-eval',
        'no-eval',
        // deprecated
        'safeEval',
        'unsafeEval',
        'noEval',
      ])
    ),
    overrideDebug = /** @type {string[]} */ (
      arrayFilter(
        stringSplit(getenv('LOCKDOWN_OVERRIDE_DEBUG', ''), ','),
        /** @param {string} debugName */
        debugName => debugName !== '',
      )
    ),
    legacyRegeneratorRuntimeTaming = /** @type {'safe' | 'unsafe-ignore'} */ (
      getenv('LOCKDOWN_LEGACY_REGENERATOR_RUNTIME_TAMING', 'safe', [
        'unsafe-ignore',
      ])
    ),
    __hardenTaming__ = /** @type {'safe' | 'unsafe'} */ (
      getenv('LOCKDOWN_HARDEN_TAMING', 'safe', ['unsafe'])
    ),
    dateTaming, // deprecated
    mathTaming, // deprecated
    ...extraOptions
  } = options;

  // Assert that only supported options were passed.
  // Use Reflect.ownKeys to reject symbol-named properties as well.
  const extraOptionsNames = ownKeys(extraOptions);
  extraOptionsNames.length === 0 ||
    Fail`lockdown(): non supported option ${q(extraOptionsNames)}`;

  const reporter = chooseReporter(reporting);
  const { warn } = reporter;

  if (dateTaming !== undefined) {
    warn(
      `SES The 'dateTaming' option is deprecated and does nothing. In the future specifying it will be an error.`,
    );
  }
  if (mathTaming !== undefined) {
    warn(
      `SES The 'mathTaming' option is deprecated and does nothing. In the future specifying it will be an error.`,
    );
  }

  priorRepairIntrinsics === undefined ||
    // eslint-disable-next-line @endo/no-polymorphic-call
    assert.fail(
      X`Already locked down at ${priorRepairIntrinsics} (SES_ALREADY_LOCKED_DOWN)`,
      TypeError,
    );
  // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_ALREADY_LOCKED_DOWN.md
  priorRepairIntrinsics = TypeError('Prior lockdown (SES_ALREADY_LOCKED_DOWN)');
  // Tease V8 to generate the stack string and release the closures the stack
  // trace retained:
  priorRepairIntrinsics.stack;

  const { functionAllowed, evalAllowed, directEvalAllowed } =
    probeHostEvaluators();

  if (
    directEvalAllowed === false &&
    evalTaming === 'safe-eval' &&
    (functionAllowed || evalAllowed)
  ) {
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_DIRECT_EVAL.md
    throw TypeError(
      "SES cannot initialize unless 'eval' is the original intrinsic 'eval', suitable for direct eval (dynamically scoped eval) (SES_DIRECT_EVAL)",
    );
  }

  /**
   * Because of packagers and bundlers, etc, multiple invocations of lockdown
   * might happen in separate instantiations of the source of this module.
   * In that case, each one sees its own `firstOptions` variable, so the test
   * above will not detect that lockdown has already happened. We
   * unreliably test some telltale signs that lockdown has run, to avoid
   * trying to lock down a locked down environment. Although the test is
   * unreliable, this is consistent with the SES threat model. SES provides
   * security only if it runs first in a given realm, or if everything that
   * runs before it is SES-aware and cooperative. Neither SES nor anything
   * can protect itself from corrupting code that runs first. For these
   * purposes, code that turns a realm into something that passes these
   * tests without actually locking down counts as corrupting code.
   *
   * The specifics of what this tests for may change over time, but it
   * should be consistent with any setting of the lockdown options.
   */
  const seemsToBeLockedDown = () => {
    return (
      globalThis.Function.prototype.constructor !== globalThis.Function &&
      // @ts-ignore harden is absent on globalThis type def.
      typeof globalThis.harden === 'function' &&
      // @ts-ignore lockdown is absent on globalThis type def.
      typeof globalThis.lockdown === 'function' &&
      globalThis.Date.prototype.constructor !== globalThis.Date &&
      typeof globalThis.Date.now === 'function' &&
      // @ts-ignore does not recognize that Date constructor is a special
      // Function.
      // eslint-disable-next-line @endo/no-polymorphic-call
      is(globalThis.Date.prototype.constructor.now(), NaN)
    );
  };

  if (seemsToBeLockedDown()) {
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_MULTIPLE_INSTANCES.md
    throw TypeError(
      `Already locked down but not by this SES instance (SES_MULTIPLE_INSTANCES)`,
    );
  }

  /**
   * 1. TAME powers & gather intrinsics first.
   */

  tameDomains(domainTaming);

  // Replace Function.prototype.toString with one that recognizes
  // shimmed functions as honorary native functions.
  const markVirtualizedNativeFunction = tameFunctionToString();

  const { addIntrinsics, completePrototypes, finalIntrinsics } =
    makeIntrinsicsCollector(reporter);

  const tamedHarden = tameHarden(safeHarden, __hardenTaming__);
  addIntrinsics({ harden: tamedHarden });

  addIntrinsics(tameFunctionConstructors());

  addIntrinsics(tameDateConstructor());
  addIntrinsics(tameErrorConstructor(errorTaming, stackFiltering));
  addIntrinsics(tameMathObject());
  addIntrinsics(tameRegExpConstructor(regExpTaming));
  addIntrinsics(tameSymbolConstructor());
  addIntrinsics(shimArrayBufferTransfer());
  addIntrinsics(tameModuleSource());

  addIntrinsics(getAnonymousIntrinsics());

  completePrototypes();

  const intrinsics = finalIntrinsics();

  // Install Object[@harden] or abort.
  const symbolForHarden = symbolFor('harden');
  const priorHarden = intrinsics.Object[symbolForHarden];
  if (priorHarden) {
    // By convention, if a module like @endo/harden gets used before lockdown,
    // it will install itself as a non-configurable, non-writable property over
    // Object[@harden] so that versions of SES predating the introduction of
    // Object[@harden] will fail to lockdown because they cannot remove an
    // unknown intrinsic.
    // All newer versions explicitly check for Object[@harden] (here).
    // The @endo/harden implementation additionally captures a stack trace
    // where harden was first used to assist developers in tracking down the
    // hardened module that was initialized before lockdown.
    if (priorHarden.lockdownError) {
      throw priorHarden.lockdownError;
    }
    // And in the event a library installs Object[@harden] without leaving a
    // hint, we fall back to a generic lockdown error.
    throw new TypeError(
      'Cannot lockdown (repairIntrinsics) if a prior harden implementation has been used and installed. Check for libraries using @endo/harden before lockdown.',
    );
  }
  intrinsics.Object[symbolForHarden] = tamedHarden;

  const hostIntrinsics = { __proto__: null };

  // The Node.js Buffer is a derived class of Uint8Array, and as such is often
  // passed around where a Uint8Array is expected.
  if (typeof globalThis.Buffer === 'function') {
    hostIntrinsics.Buffer = globalThis.Buffer;
  }

  /**
   * Wrap console unless suppressed.
   * At the moment, the console is considered a host power in the start
   * compartment, and not a primordial. Hence it is absent from the whilelist
   * and bypasses the intrinsicsCollector.
   *
   * @type {((error: any) => string | undefined) | undefined}
   */
  let optGetStackString;
  if (errorTaming === 'safe') {
    optGetStackString = intrinsics['%InitialGetStackString%'];
  }
  const consoleRecord = tameConsole(
    consoleTaming,
    errorTrapping,
    unhandledRejectionTrapping,
    optGetStackString,
  );
  globalThis.console = /** @type {Console} */ (consoleRecord.console);

  // The untamed Node.js console cannot itself be hardened as it has mutable
  // internal properties, but some of these properties expose internal versions
  // of classes from node's "primordials" concept.
  // eslint-disable-next-line no-underscore-dangle
  if (typeof (/** @type {any} */ (consoleRecord.console)._times) === 'object') {
    // SafeMap is a derived Map class used internally by Node
    // There doesn't seem to be a cleaner way to reach it.
    hostIntrinsics.SafeMap = getPrototypeOf(
      // eslint-disable-next-line no-underscore-dangle
      /** @type {any} */ (consoleRecord.console)._times,
    );
  }

  // The default `assert` installed by `assert-shim.js` does not redact errors,
  // leaving `lockdown` or `repairIntrinsics` with the obligation to replace it
  // with a redacting version, unless the caller opts-out with errorTaming set
  // to `unsafe` or `unsafe-debug`.
  // The inverse was true through version 1.13.0, except the configuration
  // was disregarded and the redacting `assert` left in place if lexical
  // `assert` differed from `globalThis.assert`.
  // @ts-ignore assert is absent on globalThis type def.
  if (errorTaming !== 'unsafe' && errorTaming !== 'unsafe-debug') {
    globalThis.assert = makeAssert();
  }

  // Replace *Locale* methods with their non-locale equivalents
  tameLocaleMethods(intrinsics, localeTaming);

  tameFauxDataProperties(intrinsics);

  /**
   * 2. Enforce PERMITS on shared intrinsics
   */

  // Remove non-standard properties.
  // All remaining functions encountered during whitelisting are
  // branded as honorary native functions.
  reportInGroup(
    'SES Removing unpermitted intrinsics',
    reporter,
    groupReporter =>
      removeUnpermittedIntrinsics(
        intrinsics,
        markVirtualizedNativeFunction,
        groupReporter,
      ),
  );

  // Initialize the powerful initial global, i.e., the global of the
  // start compartment, from the intrinsics.

  setGlobalObjectConstantProperties(globalThis);

  setGlobalObjectMutableProperties(globalThis, {
    intrinsics,
    newGlobalPropertyNames: initialGlobalPropertyNames,
    makeCompartmentConstructor,
    markVirtualizedNativeFunction,
  });

  if (
    evalTaming === 'no-eval' ||
    // deprecated
    evalTaming === 'noEval'
  ) {
    setGlobalObjectEvaluators(
      globalThis,
      noEvalEvaluate,
      markVirtualizedNativeFunction,
    );
  } else if (
    evalTaming === 'safe-eval' ||
    // deprecated
    evalTaming === 'safeEval'
  ) {
    const { safeEvaluate } = makeSafeEvaluator({ globalObject: globalThis });
    setGlobalObjectEvaluators(
      globalThis,
      safeEvaluate,
      markVirtualizedNativeFunction,
    );
  } else if (
    evalTaming === 'unsafe-eval' ||
    // deprecated
    evalTaming === 'unsafeEval'
  ) {
    // Leave eval function and Function constructor of the initial
    // compartment intact.
    // Other compartments will not have access to these evaluators unless a
    // guest program escapes containment.
  }

  /**
   * 3. HARDEN to share the intrinsics.
   *
   * We define hardenIntrinsics here so that options are in scope, but return
   * it to the caller because we intend to eventually allow vetted shims to run
   * between repairs and the hardening of intrinsics and so we can benchmark
   * repair separately from hardening.
   */

  const hardenIntrinsics = () => {
    priorHardenIntrinsics === undefined ||
      // eslint-disable-next-line @endo/no-polymorphic-call
      assert.fail(
        X`Already locked down at ${priorHardenIntrinsics} (SES_ALREADY_LOCKED_DOWN)`,
        TypeError,
      );
    // See https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_ALREADY_LOCKED_DOWN.md
    priorHardenIntrinsics = TypeError(
      'Prior lockdown (SES_ALREADY_LOCKED_DOWN)',
    );
    // Tease V8 to generate the stack string and release the closures the stack
    // trace retained:
    priorHardenIntrinsics.stack;

    // Circumvent the override mistake.
    // TODO consider moving this to the end of the repair phase, and
    // therefore before vetted shims rather than afterwards. It is not
    // clear yet which is better.
    // @ts-ignore enablePropertyOverrides does its own input validation
    reportInGroup('SES Enabling property overrides', reporter, groupReporter =>
      enablePropertyOverrides(
        intrinsics,
        overrideTaming,
        groupReporter,
        overrideDebug,
      ),
    );
    if (legacyRegeneratorRuntimeTaming === 'unsafe-ignore') {
      tameRegeneratorRuntime();
    }

    // Finally register and optionally freeze all the intrinsics. This
    // must be the operation that modifies the intrinsics.
    const toHarden = {
      intrinsics,
      hostIntrinsics,
      globals: {
        // Harden evaluators
        Function: globalThis.Function,
        eval: globalThis.eval,
        // @ts-ignore Compartment does exist on globalThis
        Compartment: globalThis.Compartment,

        // Harden Symbol
        Symbol: globalThis.Symbol,
      },
    };

    // Harden Symbol and properties for initialGlobalPropertyNames in the host realm
    for (const prop of getOwnPropertyNames(initialGlobalPropertyNames)) {
      toHarden.globals[prop] = globalThis[prop];
    }

    tamedHarden(toHarden);

    return tamedHarden;
  };

  return hardenIntrinsics;
};$h͏_once.repairIntrinsics(repairIntrinsics);
})()
,
// === 59. ses ./src/lockdown-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,repairIntrinsics;$h͏_imports([["./assert-sloppy-mode.js", []],["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./lockdown.js", [["repairIntrinsics",[$h͏_a => (repairIntrinsics = $h͏_a)]]]]]);








/** @import {LockdownOptions} from '../types.js' */

/**
 * @param {LockdownOptions} [options]
 */
globalThis.lockdown = options => {
  const hardenIntrinsics = repairIntrinsics(options);
  globalThis.harden = hardenIntrinsics();
};

/**
 * @param {LockdownOptions} [options]
 */
globalThis.repairIntrinsics = options => {
  const hardenIntrinsics = repairIntrinsics(options);
  // Reveal hardenIntrinsics after repairs.
  globalThis.hardenIntrinsics = () => {
    // Reveal harden after hardenIntrinsics.
    // Harden is dangerous before hardenIntrinsics because hardening just
    // about anything will inadvertently render intrinsics irreparable.
    // Also, for modules that must work both before or after lockdown (code
    // that is portable between JS and SES), the existence of harden in global
    // scope signals whether such code should attempt to use harden in the
    // defense of its own API.
    // @ts-ignore harden not yet recognized on globalThis.
    globalThis.harden = hardenIntrinsics();
  };
};
})()
,
// === 60. ses ./src/compartment-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,makeCompartmentConstructor,tameFunctionToString,getGlobalIntrinsics,chooseReporter;$h͏_imports([["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./compartment.js", [["makeCompartmentConstructor",[$h͏_a => (makeCompartmentConstructor = $h͏_a)]]]],["./tame-function-tostring.js", [["tameFunctionToString",[$h͏_a => (tameFunctionToString = $h͏_a)]]]],["./intrinsics.js", [["getGlobalIntrinsics",[$h͏_a => (getGlobalIntrinsics = $h͏_a)]]]],["./reporting.js", [["chooseReporter",[$h͏_a => (chooseReporter = $h͏_a)]]]]]);





const markVirtualizedNativeFunction = tameFunctionToString();

const muteReporter = chooseReporter('none');

// @ts-ignore Compartment is definitely on globalThis.
globalThis.Compartment = makeCompartmentConstructor(
  makeCompartmentConstructor,
  // Any reporting that would need to be done should have already been done
  // during `lockdown()`.
  // See https://github.com/endojs/endo/pull/2624#discussion_r1840979770
  getGlobalIntrinsics(globalThis, muteReporter),
  markVirtualizedNativeFunction,
  {
    enforceNew: true,
  },
);
})()
,
// === 61. ses ./src/assert-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let globalThis,makeAssert;$h͏_imports([["./commons.js", [["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./error/assert.js", [["makeAssert",[$h͏_a => (makeAssert = $h͏_a)]]]]]);


globalThis.assert = makeAssert(undefined, true);
})()
,
// === 62. ses ./src/console-shim.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';let symbolFor,globalThis,defineCausalConsoleFromLogger,loggedErrorHandler;$h͏_imports([["./commons.js", [["symbolFor",[$h͏_a => (symbolFor = $h͏_a)]],["globalThis",[$h͏_a => (globalThis = $h͏_a)]]]],["./error/console.js", [["defineCausalConsoleFromLogger",[$h͏_a => (defineCausalConsoleFromLogger = $h͏_a)]]]],["./error/assert.js", [["loggedErrorHandler",[$h͏_a => (loggedErrorHandler = $h͏_a)]]]]]);



// TODO possible additional exports. Some are privileged.
// export { loggedErrorHandler };
// export {
//   makeCausalConsole,
//   consoleLevelMethods,
//   consoleOtherMethods,
//   makeLoggingConsoleKit,
//   filterConsole,
//   pumpLogToConsole,
// } from './src/error/console.js';
// export { assertLogs, throwsAndLogs } from './src/error/throws-and-logs.js';

/**
 * Makes a Console like the
 * [SES causal `console`](https://github.com/endojs/endo/blob/master/packages/ses/src/error/README.md)
 * but whose output is redirected to the supplied `logger` function.
 */
const makeCausalConsoleFromLoggerForSesAva =
  defineCausalConsoleFromLogger(loggedErrorHandler);

/**
 *`makeCausalConsoleFromLoggerForSesAva` is privileged because it exposes
 * unredacted error info onto the `Logger` provided by the caller. It
 * should not be made available to non-privileged code.
 *
 * Further, we consider this particular API choice to be experimental
 * and may change in the future. It is currently only intended for use by
 * `@endo/ses-ava`, with which it will be co-maintained.
 *
 * Thus, this `console-shim.js` makes `makeCausalConsoleFromLoggerForSesAva`
 * available on `globalThis` which it *assumes* is the global of the start
 * compartment and is therefore allowed to hold powers that should not be
 * available in constructed compartments. It makes it available as the value of
 * a global property named by a registered symbol named
 * `MAKE_CAUSAL_CONSOLE_FROM_LOGGER_KEY_FOR_SES_AVA`.
 *
 * Anyone accessing this, including `@endo/ses-ava`, should feature test for
 * this and be tolerant of its absence. It may indeed disappear from later
 * versions of the ses-shim.
 */
const MAKE_CAUSAL_CONSOLE_FROM_LOGGER_KEY_FOR_SES_AVA = symbolFor(
  'MAKE_CAUSAL_CONSOLE_FROM_LOGGER_KEY_FOR_SES_AVA',
);

globalThis[MAKE_CAUSAL_CONSOLE_FROM_LOGGER_KEY_FOR_SES_AVA] =
  makeCausalConsoleFromLoggerForSesAva;
})()
,
// === 63. ses ./index.js ===
({imports:$h͏_imports,liveVar:$h͏_live,onceVar:$h͏_once,import:$h͏_import,importMeta:$h͏____meta})=>(function(){'use strict';$h͏_imports([["./src/lockdown-shim.js", []],["./src/compartment-shim.js", []],["./src/assert-shim.js", []],["./src/console-shim.js", []]]);
})()
,
])()
;/*! end SES */
(()=>{var __webpack_modules__={2033(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{F:()=>y});var e=__webpack_require__(123532);var t=__webpack_require__(577102);var r=__webpack_require__(848294);var n=__webpack_require__(15505);var a=__webpack_require__(18898);var s=__webpack_require__(603373);var i=__webpack_require__(118840);var o=__webpack_require__(396102);var l=__webpack_require__(392316);var c=__webpack_require__(546155);var u=__webpack_require__(180121);var m=__webpack_require__(925075);var h=__webpack_require__(71337);var f=__webpack_require__(662925);var d=__webpack_require__(993671);var p=__webpack_require__(484413);var g=__webpack_require__(994398);let y=(0,t._C)((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){t.console&&(0,s.P)(v(e)),t.dom&&(0,h.i)(k(e,t.dom)),t.xhr&&(0,d.Mn)(w(e)),t.fetch&&(0,i.ur)(_(e)),t.history&&(0,f._)(T(e)),t.sentry&&e.on("beforeSendEvent",b(e))}}});function b(t){return function(n){if((0,e.KU)()!==t)return;(0,r.Z)({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:(0,l.$X)(n)},{event:n})}}function k(t,n){return function(s){if((0,e.KU)()!==t)return;let i;let l;let c=typeof n=="object"?n.serializeAttribute:undefined;let u=typeof n=="object"&&typeof n.maxStringLength=="number"?n.maxStringLength:undefined;u&&u>1024&&(p.T&&o.Yz.warn(`\`dom.maxStringLength\` cannot exceed ${"1024"}, but a value of ${u} was configured. Sentry will use ${"1024"} instead.`),u=1024),typeof c=="string"&&(c=[c]);try{let e=s.event;let t=S(e)?e.target:e;i=(0,a.Hd)(t,{keyAttrs:c,maxStringLength:u}),l=(0,a.xE)(t)}catch{i="<unknown>"}if(i.length===0)return;let m={category:`ui.${s.name}`,message:i};l&&(m.data={"ui.component_name":l}),(0,r.Z)(m,{event:s.event,name:s.name,global:s.global})}}function v(t){return function(n){if((0,e.KU)()!==t)return;let a={category:"console",data:{arguments:n.args,logger:"console"},level:(0,c.t)(n.level),message:(0,u.gt)(n.args," ")};if(n.level==="assert"){if(n.args[0]!==!1)return;a.message=`Assertion failed: ${(0,u.gt)(n.args.slice(1)," ")||"console.assert"}`,a.data.arguments=n.args.slice(1)}(0,r.Z)(a,{input:n.args,level:n.level})}}function w(t){return function(a){if((0,e.KU)()!==t)return;let{startTimestamp:s,endTimestamp:i}=a;let o=a.xhr[d.Er];if(!s||!i||!o)return;let{method:l,url:c,status_code:u,body:m}=o;let h={xhr:a.xhr,input:m,startTimestamp:s,endTimestamp:i};let f={category:"xhr",data:{method:l,url:c,status_code:u},type:"http",level:(0,n.X)(u)};t.emit("beforeOutgoingRequestBreadcrumb",f,h),(0,r.Z)(f,h)}}function _(t){return function(a){if((0,e.KU)()!==t)return;let{startTimestamp:s,endTimestamp:i}=a;if(!i||a.fetchData.url.match(/sentry_key/)&&a.fetchData.method==="POST")return;if(a.fetchData.method,a.fetchData.url,a.error){let e=a.fetchData;let n={data:a.error,input:a.args,startTimestamp:s,endTimestamp:i};let o={category:"fetch",data:e,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",o,n),(0,r.Z)(o,n)}else{let e=a.response;let o={...a.fetchData,status_code:e?.status};a.fetchData.request_body_size,a.fetchData.response_body_size,e?.status;let l={input:a.args,response:e,startTimestamp:s,endTimestamp:i};let c={category:"fetch",data:o,type:"http",level:(0,n.X)(o.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",c,l),(0,r.Z)(c,l)}}}function T(t){return function(n){if((0,e.KU)()!==t)return;let a=n.from;let s=n.to;let i=(0,m.Dl)(g.jf.location.href);let o=a?(0,m.Dl)(a):undefined;let l=(0,m.Dl)(s);!o?.path&&(o=i),i.protocol===l.protocol&&i.host===l.host&&(s=l.relative),i.protocol===o.protocol&&i.host===o.host&&(a=o.relative),(0,r.Z)({category:"navigation",data:{from:a,to:s}})}}function S(e){return!!e&&!!e.target}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},3321(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>r});var e=__webpack_require__(676979);let t=0;class r{constructor(){r.prototype.__init.call(this),r.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){t=(0,e.O)(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let r=Math.min(this._longestInteractionList.length-1,Math.floor(((0,e.O)()-t)/50));return this._longestInteractionList[r]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||e.entryType==="first-input"))return;let t=this._longestInteractionList.at(-1);let r=this._longestInteractionMap.get(e.interactionId);if(r||this._longestInteractionList.length<10||e.duration>t._latency){if(r?e.duration>r._latency?(r.entries=[e],r._latency=e.duration):e.duration===r._latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(r)}}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},6929(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{RV:()=>c,gd:()=>n,nY:()=>u,qQ:()=>l,vk:()=>a,yF:()=>e});let e="?";let t=/\(error: (.*)\)/;let r=/captureMessage|captureException/;function n(...e){let r=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,a=0)=>{let i=[];let o=e.split(`
`);for(let e=n;e<o.length;e++){let n=o[e];n.length>1024&&(n=n.slice(0,1024));let s=t.test(n)?n.replace(t,"$1"):n;if(s.match(/\S*Error: /))continue;for(let e of r){let t=e(s);if(t){i.push(t);break}}if(i.length>=50+a)break}return s(i.slice(a))}}function a(e){return Array.isArray(e)?n(...e):(0,e)}function s(t){if(!t.length)return[];let n=Array.from(t);return/sentryWrapped/.test(i(n).function||"")&&n.pop(),n.reverse(),r.test(i(n).function||"")&&(n.pop(),r.test(i(n).function||"")&&n.pop()),n.slice(0,50).map(t=>({...t,filename:t.filename||i(n).filename,function:t.function||e}))}function i(e){return e[e.length-1]||{}}let o="<anonymous>";function l(e){try{if(!e||typeof e!=="function")return o;return e.name||o}catch{return o}}function c(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return undefined}}return undefined}function u(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},13623(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>o});var e=__webpack_require__(78463);var t=__webpack_require__(123532);var r=__webpack_require__(682631);var n=__webpack_require__(396102);var a=__webpack_require__(484413);var s=__webpack_require__(994398);let i="sentry_previous_trace";function o(n,{linkPreviousTrace:a,consistentTraceSampling:s}){let i=a==="session-storage";let o=i?u():undefined;n.on("spanStart",e=>{if((0,r.zU)(e)!==e)return;let n=(0,t.o5)().getPropagationContext();o=l(o,e,n),i&&c(o)});let h=!0;s&&n.on("beforeSampling",r=>{if(!o)return;let n=(0,t.o5)();let a=n.getPropagationContext();if(h&&a.parentSpanId){h=!1;return}n.setPropagationContext({...a,dsc:{...a.dsc,sample_rate:String(o.sampleRate),sampled:String(m(o.spanContext))},sampleRand:o.sampleRand}),r.parentSampled=m(o.spanContext),r.parentSampleRate=o.sampleRate,r.spanAttributes={...r.spanAttributes,[e.Ef]:o.sampleRate}})}function l(t,s,i){let o=(0,r.et)(s);function l(){try{return Number(i.dsc?.sample_rate)??Number(o.data?.[e.sy])}catch{return 0}}let c={spanContext:s.spanContext(),startTimestamp:o.start_timestamp,sampleRate:l(),sampleRand:i.sampleRand};if(!t)return c;let u=t.spanContext;return u.traceId===o.trace_id?t:(Date.now()/1e3-t.startTimestamp<=3600&&(a.T&&n.Yz.log(`Adding previous_trace \`${JSON.stringify(u)}\` link to span \`${JSON.stringify({op:o.op,...s.spanContext()})}\``),s.addLink({context:u,attributes:{[e.Lc]:"previous_trace"}}),s.setAttribute("sentry.previous_trace",`${u.traceId}-${u.spanId}-${m(u)?1:0}`)),c)}function c(e){try{s.jf.sessionStorage.setItem(i,JSON.stringify(e))}catch(e){a.T&&n.Yz.warn("Could not store previous trace in sessionStorage",e)}}function u(){try{let e=s.jf.sessionStorage?.getItem(i);return JSON.parse(e)}catch{return undefined}}function m(e){return e.traceFlags===1}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},14631(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>e});class e{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:(0,this.reason)}}}}).call(__webpack_require__._LM_("luxon",{__webpack_exports__,__webpack_require__}))()},15505(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return e===undefined?undefined:(0,e>=400&&e<500)?"warning":(0,e>=500)?"error":(0,undefined)}__webpack_require__.d(__webpack_exports__,{X:()=>e})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},15797(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>e});let e="production"}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},16478(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>t});var e=__webpack_require__(923533);let t=function(t){return typeof t=="string"&&e.A.test(t)}}}).call(__webpack_require__._LM_("uuid",{__webpack_require__,__webpack_exports__}))()},16905(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>e,z:()=>t});let e={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}};let t={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},"4001":{standard:"EIP-1193",message:"User rejected the request."},"4100":{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},"4200":{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},"4900":{standard:"EIP-1193",message:"The provider is disconnected from all chains."},"4901":{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}}}).call(__webpack_require__._LM_("@metamask/rpc-errors",{__webpack_exports__,__webpack_require__}))()},18898(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$N:()=>a,Hd:()=>r,xE:()=>s});var e=__webpack_require__(632356);let t=__webpack_require__(901889).O;function r(e,t={}){if(!e)return"<unknown>";try{let r=e;let a=[];let s=0;let i=0;let o=" > ".length;let l;let c=Array.isArray(t)?t:t.keyAttrs;let u=!Array.isArray(t)&&t.maxStringLength||80;while(r&&s++<5){if((l=n(r,c))==="html"||s>1&&i+a.length*o+l.length>=u)break;a.push(l),i+=l.length,r=r.parentNode}return a.reverse().join(" > ")}catch{return"<unknown>"}}function n(r,n){let a=[];if(!r?.tagName)return"";if(t.HTMLElement){if(r instanceof HTMLElement&&r.dataset){if(r.dataset["sentryComponent"])return r.dataset["sentryComponent"];if(r.dataset["sentryElement"])return r.dataset["sentryElement"]}}a.push(r.tagName.toLowerCase());let s=n?.length?n.filter(e=>r.getAttribute(e)).map(e=>[e,r.getAttribute(e)]):null;if(s?.length)s.forEach(e=>{a.push(`[${e[0]}="${e[1]}"]`)});else{r.id&&a.push(`#${r.id}`);let t=r.className;if(t&&(0,e.Kg)(t))for(let e of t.split(/\s+/))a.push(`.${e}`)}for(let e of["aria-label","type","name","title","alt"]){let t=r.getAttribute(e);t&&a.push(`[${e}="${t}"]`)}return a.join("")}function a(){try{return t.document.location.href}catch{return""}}function s(e){if(!t.HTMLElement)return null;let r=e;for(let e=0;e<5;e++){if(!r)return null;if(r instanceof HTMLElement){if(r.dataset["sentryComponent"])return r.dataset["sentryComponent"];if(r.dataset["sentryElement"])return r.dataset["sentryElement"]}r=r.parentNode}return null}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},19467(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>u});var e=__webpack_require__(57324);var t=__webpack_require__(978802);var r=__webpack_require__(314408);var n=__webpack_require__(793419);var a=__webpack_require__(3321);var s=__webpack_require__(515400);var i=__webpack_require__(676979);var o=__webpack_require__(768571);var l=__webpack_require__(944117);let c=[200,500];let u=(u,m={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let h=(0,t.N)();(0,o.I)(()=>{(0,i.D)();let t=(0,r.X)("INP");let o;let f=(0,n.C)(m,a.G);let d=e=>{(0,l.k)(()=>{for(let t of e)f._processEntry(t);let r=f._estimateP98LongestInteraction();r&&r._latency!==t.value&&(t.value=r._latency,t.entries=r.entries,o())})};let p=(0,s.l)("event",d,{durationThreshold:m.durationThreshold??40});o=(0,e.R)(u,t,c,m.reportAllChanges),p&&(p.observe({type:"first-input",buffered:!0}),h.onHidden(()=>{d(p.takeRecords()),o(!0)}))})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},29947(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>c,s:()=>f});var e=__webpack_require__(552558);var t=undefined||function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)};var r=undefined||function(e,t,r,n,a){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?a.call(e,r):a?a.value=r:t.set(e,r),r};var n,a,s,i,o;let l=["clearState","addSubjectMetadata","getSubjectMetadata","trimMetadataState"];var c;var u;(u=c||(c={}))["Extension"]="extension",u["Internal"]="internal",u["Unknown"]="unknown",u["Website"]="website",u["Snap"]="snap";let m={subjectMetadata:{includeInStateLogs:!0,persist:!0,includeInDebugSnapshot:!1,usedInUi:!0}};let h={subjectMetadata:{}};class f extends e.w{constructor({messenger:e,subjectCacheLimit:c,state:u={}}){if(!Number.isInteger(c)||c<1)throw new Error(`subjectCacheLimit must be a positive integer. Received: "${c}"`);let h=t=>{return e.call("PermissionController:hasPermissions",t)};super({name:"SubjectMetadataController",metadata:m,messenger:e,state:{...t(n,n,"m",o).call(n,u,h)}}),a.set(this,void 0),s.set(this,void 0),i.set(this,void 0),r(this,i,h,"f"),r(this,a,c,"f"),r(this,s,new Set,"f"),this.messenger.registerMethodActionHandlers(this,l)}clearState(){t(this,s,"f").clear(),this.update(e=>{return{...h}})}addSubjectMetadata(e){let{origin:r}=e;let n={...e,extensionId:e.extensionId??null,iconUrl:e.iconUrl??null,name:e.name??null,subjectType:e.subjectType??null};let o=null;if(t(this,s,"f").size>=t(this,a,"f")){let e=t(this,s,"f").values().next().value;t(this,s,"f").delete(e),!t(this,i,"f").call(this,e)&&(o=e)}t(this,s,"f").add(r),this.update(e=>{e.subjectMetadata[r]=n,typeof o=="string"&&delete e.subjectMetadata[o]})}getSubjectMetadata(e){return this.state.subjectMetadata[e]}trimMetadataState(){this.update(()=>{return t(n,n,"m",o).call(n,this.state,t(this,i,"f"))})}}n=f,a=new WeakMap,s=new WeakMap,i=new WeakMap,o=function(e,t){let{subjectMetadata:r={}}=e;return{subjectMetadata:Object.keys(r).reduce((e,n)=>{return t(n)&&(e[n]=r[n]),e},{})}}}}).call(__webpack_require__._LM_("@metamask/permission-controller",{__webpack_require__,__webpack_exports__}))()},33040(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>l,Ep:()=>u,Jy:()=>m,Kk:()=>s,Tn:()=>i,WF:()=>h,kD:()=>o,rv:()=>c});var e=__webpack_require__(827284);var t=__webpack_require__(123532);var r=__webpack_require__(682631);var n=__webpack_require__(765698);var a=__webpack_require__(975431);function s(e){return typeof e=="number"&&isFinite(e)}function i(t,n,a,{...s}){let i=(0,r.et)(t).start_timestamp;return i&&i>n&&typeof t.updateStartTime=="function"&&t.updateStartTime(n),(0,e.hb)(t,()=>{let t=(0,e.Uk)({startTime:n,...s});return t&&t.end(a),t})}function o(r){let a=(0,t.KU)();if(!a)return;let{name:s,transaction:i,attributes:o,startTime:l}=r;let{release:c,environment:u,sendDefaultPii:m}=a.getOptions();let h=a.getIntegrationByName("Replay");let f=h?.getReplayId();let d=(0,t.o5)();let p=d.getUser();let g=p!==undefined?p.email||p.id||p.ip_address:undefined;let y;try{y=d.getScopeData().contexts.profile.profile_id}catch{}let b={release:c,environment:u,user:g||undefined,profile_id:y||undefined,replay_id:f||undefined,transaction:i,"user_agent.original":n.j.navigator?.userAgent,"client.address":m?"{{auto}}":undefined,...o};return(0,e.Uk)({name:s,attributes:b,startTime:l,experimental:{standalone:!0}})}function l(){return n.j.addEventListener&&n.j.performance}function c(e){return e/1e3}function u(e){let t="unknown";let r="unknown";let n="";for(let a of e){if(a==="/"){[t,r]=e.split("/");break}if(!isNaN(Number(a))){t=n==="h"?"http":n,r=e.split(n)[1];break}n+=a}return n===e&&(t=n),{name:t,version:r}}function m(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function h(e,t){let r;let n=!1;function s(e){!n&&r&&t(e,r),n=!0}(0,a.Q)(()=>{s("pagehide")});let i=e.on("beforeStartNavigationSpan",(e,t)=>{!t?.isRedirect&&(s("navigation"),i(),o())});let o=e.on("afterStartPageLoadSpan",e=>{r=e.spanContext().spanId,o()})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},39859(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>c});var e=__webpack_require__(671480);var t=__webpack_require__(665016);var r=__webpack_require__(632356);var n=__webpack_require__(943924);class a{constructor(e,r){let n;n=e||new t.H;let a;a=r||new t.H,this._stack=[{scope:n}],this._isolationScope=a}withScope(e){let t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return(0,r.Qg)(n)?n.then(e=>{return this._popScope(),e},e=>{throw this._popScope(),e}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:(0,!!this._stack.pop())}}function s(){let t=(0,n.EU)();let r=(0,n.Se)(t);return r.stack=r.stack||new a((0,e.r)(),(0,e.q)())}function i(e){return s().withScope(e)}function o(e,t){let r=s();return r.withScope(()=>{return r.getStackTop().scope=e,t(e)})}function l(e){return s().withScope(()=>{return e(s().getIsolationScope())})}function c(){return{withIsolationScope:l,withScope:i,withSetScope:o,withSetIsolationScope:(e,t)=>{return l(t)},getCurrentScope:()=>s().getScope(),getIsolationScope:()=>s().getIsolationScope()}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},43701(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{NG:()=>n});var e=__webpack_require__(943924);var t=__webpack_require__(444284);function r(e,t,n,a=!0){n&&(a||!(t in e))&&(e[t]=n)}function n(e,r){let n=r??a(e)??[];if(n.length===0)return;let i=e.getOptions();let o=(0,t.Z)(n,i._metadata,i.tunnel,e.getDsn());s().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(o)}function a(e){return s().get(e)}function s(){return(0,e.BY)("clientToMetricBufferMap",()=>new WeakMap)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},45217(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{t:()=>a});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let a=(0,t.kp)(n.Wu,(0,e.Ik)({type:(0,r.eu)(n.Z6.Spinner)}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},51450(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{b:()=>t});var e=__webpack_require__(234512);let t=()=>{let t=(0,e.z)();return t?.activationStart??0}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},52018(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>h});var e=__webpack_require__(123532);var t=__webpack_require__(352158);var r=__webpack_require__(713966);var n=__webpack_require__(78463);var a=__webpack_require__(396102);var s=__webpack_require__(858481);var i=__webpack_require__(682631);var o=__webpack_require__(306981);var l=__webpack_require__(98154);var c=__webpack_require__(664746);var u=__webpack_require__(468417);var m=__webpack_require__(709356);class h{constructor(e={}){this._traceId=e.traceId||(0,s.e)(),this._spanId=e.spanId||(0,s.Z)(),this._startTime=e.startTimestamp||(0,o.zf)(),this._links=e.links,this._attributes={},this.setAttributes({[n.JD]:"manual",[n.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?i.aO:i.CC}}setAttribute(e,t){return t===undefined?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,i.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(n.i_,"custom"),this}end(e){if(this._endTime)return;this._endTime=(0,i.cI)(e),(0,c.U)(this),this._onSpanEnded()}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[n.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,i.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[n.JD],profile_id:this._attributes[n.E1],exclusive_time:this._attributes[n.jG],measurements:(0,u.$)(this._events),is_segment:this._isStandaloneSpan&&(0,i.zU)(this)===this||undefined,segment_id:this._isStandaloneSpan?(0,i.zU)(this).spanContext().spanId:undefined,links:(0,i.uU)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,r,n){t.T&&a.Yz.log("[Tracing] Adding an event to span:",e);let s=f(r)?r:n||(0,o.zf)();let l=f(r)?{}:r||{};let c={name:e,time:(0,i.cI)(s),attributes:l};return this._events.push(c),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let n=(0,e.KU)();if(n&&n.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,i.zU)(this)))return;if(this._isStandaloneSpan){this._sampled?g((0,r.lu)([this],n)):(t.T&&a.Yz.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","span"));return}let s=this._convertSpanToTransaction();s&&((0,m.L)(this).scope||(0,e.o5)()).captureEvent(s)}_convertSpanToTransaction(){if(!d((0,i.et)(this)))return undefined;!this._name&&(t.T&&a.Yz.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:r}=(0,m.L)(this);let s=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return undefined;let o=(0,i.xO)(this).filter(e=>e!==this&&!p(e)).map(e=>(0,i.et)(e)).filter(d);let c=this._attributes[n.i_];delete this._attributes[n.Le],o.forEach(e=>{delete e.data[n.Le]});let h={contexts:{trace:(0,i.Ck)(this)},spans:o.length>1e3?o.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:r,dynamicSamplingContext:(0,l.k1)(this)},request:s,...c&&{transaction_info:{source:c}}};let f=(0,u.$)(this._events);return f&&Object.keys(f).length&&(t.T&&a.Yz.log("[Measurements] Adding measurements to transaction event",JSON.stringify(f,undefined,2)),h.measurements=f),h}}function f(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function d(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function p(e){return e instanceof h&&e.isStandaloneSpan()}function g(t){let r=(0,e.KU)();if(!r)return;let n=t[1];if(!n||n.length===0){r.recordDroppedEvent("before_send","span");return}r.sendEnvelope(t)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},56680(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>e});let e=e=>{let t=!1;return()=>{!t&&(e(),t=!0)}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},57324(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>e});let e=(e,t,r,n)=>{let a;let s;return i=>{if(t.value>=0){if(i||n){if((s=t.value-(a??0))||a===undefined){var o;a=t.value,t.delta=s,o=t.value,t.rating=o>r[1]?"poor":(0,o>r[0])?"needs-improvement":(0,"good"),e(t)}}}}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},59824(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>o});var e=__webpack_require__(352158);var t=__webpack_require__(577102);var r=__webpack_require__(396102);var n=__webpack_require__(632356);var a=__webpack_require__(590041);var s=__webpack_require__(563023);var i=__webpack_require__(180121);let o=(0,t._C)((e={})=>{let{depth:t=3,captureErrorCause:r=!0}=e;return{name:"ExtraErrorData",processEvent(e,n,a){let{maxValueLength:s}=a.getOptions();return l(e,n,t,r,s)}}});function l(e,t={},r,i,o){if(!t.originalException||!(0,n.bJ)(t.originalException))return e;let u=t.originalException.name||t.originalException.constructor.name;let m=c(t.originalException,i,o);if(m){let t={...e.contexts};let i=(0,a.S8)(m,r);return(0,n.Qd)(i)&&((0,s.my)(i,"__sentry_skip_normalization__",!0),t[u]=i),{...e,contexts:t}}return e}function c(t,a,s){try{let e=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"];let r={};for(let a of Object.keys(t)){if(e.indexOf(a)!==-1)continue;let o=t[a];r[a]=(0,n.bJ)(o)||typeof o=="string"?s?(0,i.xv)(`${o}`,s):`${o}`:o}if(a&&t.cause!==undefined&&((0,n.bJ)(t.cause)?r.cause={[t.cause.name||t.cause.constructor.name]:c(t.cause,!1,s)}:r.cause=t.cause),typeof t.toJSON=="function"){let e=t.toJSON();for(let t of Object.keys(e)){let a=e[t];r[t]=(0,n.bJ)(a)?a.toString():a}}return r}catch(t){e.T&&r.Yz.error("Unable to extract extra data from the Error object:",t)}return null}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},64329(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>s});var e=__webpack_require__(276435);var t=__webpack_require__(682631);var r=__webpack_require__(396102);var n=__webpack_require__(484413);var a=__webpack_require__(994398);function s(){a.jf.document?a.jf.document.addEventListener("visibilitychange",()=>{let s=(0,t.Bk)();if(!s)return;let i=(0,t.zU)(s);if(a.jf.document.hidden&&i){let a="cancelled";let{op:s,status:o}=(0,t.et)(i);n.T&&r.Yz.log(`[Tracing] Transaction: ${a} -> since tab moved to the background, op: ${s}`),!o&&i.setStatus({code:e.TJ,message:a}),i.setAttribute("sentry.cancellation_reason","document.hidden"),i.end()}}):n.T&&r.Yz.warn("[Tracing] Could not set up background tab detection due to lack of global document")}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},67912(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{w:()=>r});var e=__webpack_require__(484945);var t=__webpack_require__(378326);function r(){return!(0,e.Z)()&&Object.prototype.toString.call(t!==void 0?t:0)==="[object process]"}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},71337(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>o});var e=__webpack_require__(545407);var t=__webpack_require__(392316);var r=__webpack_require__(563023);var n=__webpack_require__(765698);let a;let s;let i;function o(t){(0,e.s5)("dom",t),(0,e.AS)("dom",l)}function l(){if(!n.j.document)return;let t=e.aj.bind(null,"dom");let a=m(t,!0);n.j.document.addEventListener("click",a,!1),n.j.document.addEventListener("keypress",a,!1),["EventTarget","Node"].forEach(e=>{let a=n.j;let s=a[e]?.prototype;if(!s?.hasOwnProperty?.("addEventListener"))return;(0,r.GS)(s,"addEventListener",function(e){return function(r,n,a){if(r==="click"||r=="keypress")try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{};let s=n[r]=n[r]||{refCount:0};if(!s.handler){let n=m(t);s.handler=n,e.call(this,r,n,a)}s.refCount++}catch{}return e.call(this,r,n,a)}}),(0,r.GS)(s,"removeEventListener",function(e){return function(t,r,n){if(t==="click"||t=="keypress")try{let r=this.__sentry_instrumentation_handlers__||{};let a=r[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,n),a.handler=undefined,delete r[t]),Object.keys(r).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,r,n)}})})}function c(e){if(e.type!==s)return!1;try{if(!e.target||e.target._sentryId!==i)return!1}catch{}return!0}function u(e,t){return e!=="keypress"?!1:(0,!t?.tagName)?!0:(0,t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)?!1:(0,!0)}function m(e,o=!1){return l=>{if(!l||l["_sentryCaptured"])return;let m=h(l);if(u(l.type,m))return;(0,r.my)(l,"_sentryCaptured",!0),m&&!m._sentryId&&(0,r.my)(m,"_sentryId",(0,t.eJ)());let f=l.type==="keypress"?"input":l.type;!c(l)&&(e({event:l,name:f,global:o}),s=l.type,i=m?m._sentryId:undefined),clearTimeout(a),a=n.j.setTimeout(()=>{i=undefined,s=undefined},1e3)}}function h(e){try{return e.target}catch{return null}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},74342(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{qd:()=>s,y7:()=>i});var e=__webpack_require__(396102);var t=__webpack_require__(153836);var r=__webpack_require__(814601);var n=__webpack_require__(765698);let a={};function s(s){let i=a[s];if(i)return i;let o=n.j[s];if((0,t.a3)(o))return a[s]=o.bind(n.j);let l=n.j.document;if(l&&typeof l.createElement=="function")try{let e=l.createElement("iframe");e.hidden=!0,l.head.appendChild(e);let t=e.contentWindow;t?.[s]&&(o=t[s]),l.head.removeChild(e)}catch(t){r.T&&e.Yz.warn(`Could not create sandbox iframe for ${s} check, bailing to window.${s}: `,t)}return!o?o:(0,a[s]=o.bind(n.j))}function i(e){a[e]=undefined}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},78463(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E1:()=>c,Ef:()=>r,Fy:()=>h,JD:()=>a,Lc:()=>m,Le:()=>l,Sn:()=>i,fs:()=>s,i_:()=>e,jG:()=>u,sy:()=>t,uT:()=>n,xc:()=>o});let e="sentry.source";let t="sentry.sample_rate";let r="sentry.previous_trace_sample_rate";let n="sentry.op";let a="sentry.origin";let s="sentry.idle_span_finish_reason";let i="sentry.measurement_unit";let o="sentry.measurement_value";let l="sentry.custom_span_name";let c="sentry.profile_id";let u="sentry.exclusive_time";let m="sentry.link.type";let h="gen_ai.conversation.id"}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},78565(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>n});var e=__webpack_require__(600473);function t(t,r){let n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),a=n(r)-n(t);return Math.floor(e.Ay.fromMillis(a).as("days"))}function r(e,r,n){let a={};let s=e;let i,o;for(let[l,c]of[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],["months",(e,t)=>t.month-e.month+(t.year-e.year)*12],["weeks",(e,r)=>{let n=t(e,r);return(n-n%7)/7}],["days",t]])n.indexOf(l)>=0&&(i=l,a[l]=c(e,r),(o=s.plus(a))>r?(a[l]--,(e=s.plus(a))>r&&(o=e,a[l]--,e=s.plus(a))):e=o);return[e,a,o,i]}function n(t,n,a,s){let[i,o,l,c]=r(t,n,a);let u=n-i;let m=a.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);m.length===0&&(l<n&&(l=i.plus({[c]:1})),l!==i&&(o[c]=(o[c]||0)+u/(l-i)));let h=e.Ay.fromObject(o,s);return m.length>0?e.Ay.fromMillis(u,s).shiftTo(...m).plus(h):(0,h)}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},87776(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{debug:()=>a,error:()=>o,fatal:()=>l,fmt:()=>t.S,info:()=>s,trace:()=>n,warn:()=>i});var e=__webpack_require__(646093);var t=__webpack_require__(598723);function r(t,r,n,a,s){(0,e.KG)({level:t,message:r,attributes:n,severityNumber:s},a)}function n(e,t,{scope:a}={}){r("trace",e,t,a)}function a(e,t,{scope:n}={}){r("debug",e,t,n)}function s(e,t,{scope:n}={}){r("info",e,t,n)}function i(e,t,{scope:n}={}){r("warn",e,t,n)}function o(e,t,{scope:n}={}){r("error",e,t,n)}function l(e,t,{scope:n}={}){r("fatal",e,t,n)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},89899(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Qb:()=>w,h$:()=>v});var e=__webpack_require__(911216);var t=__webpack_require__(276435);var r=__webpack_require__(827284);var n=__webpack_require__(78463);var a=__webpack_require__(123532);var s=__webpack_require__(676108);var i=__webpack_require__(682631);var o=__webpack_require__(944887);var l=__webpack_require__(704776);var c=__webpack_require__(18898);var u=__webpack_require__(118840);var m=__webpack_require__(180121);var h=__webpack_require__(925075);var f=__webpack_require__(821396);var d=__webpack_require__(993671);var p=__webpack_require__(847768);var g=__webpack_require__(913111);var y=__webpack_require__(453827);let b=new WeakMap;let k=new Map;let v={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function w(e,t){let{traceFetch:r,traceXHR:n,trackFetchStreamPerformance:a,shouldCreateSpanForRequest:s,enableHTTPTimings:i,tracePropagationTargets:o,onRequestSpanStart:c,onRequestSpanEnd:m}={...v,...t};let f=typeof s=="function"?s:e=>!0;let p=e=>T(e,o);let g={};let w=e.getOptions().propagateTraceparent;r&&(e.addEventProcessor(e=>{return e.type==="transaction"&&e.spans&&e.spans.forEach(e=>{if(e.op==="http.client"){let t=k.get(e.span_id);t&&(e.timestamp=t/1e3,k.delete(e.span_id))}}),e}),a&&(0,u.B$)(e=>{if(e.response){let t=b.get(e.response);t&&e.endTimestamp&&k.set(t,e.endTimestamp)}}),(0,u.ur)(e=>{let t=(0,l.v5)(e,f,p,g,{propagateTraceparent:w,onRequestSpanEnd:m});if(e.response&&e.fetchData.__span&&b.set(e.response,e.fetchData.__span),t){let r=(0,y.VZ)(e.fetchData.url);let n=r?(0,h.Dl)(r).host:undefined;t.setAttributes({"http.url":r?(0,h.zm)(r):undefined,"server.address":n}),i&&_(t),c?.(t,{headers:e.headers})}})),n&&(0,d.Mn)(e=>{let t=S(e,f,p,g,w,m);t&&(i&&_(t),c?.(t,{headers:(0,y.jy)(e.xhr.__sentry_xhr_v3__?.request_headers)}))})}function _(e){let{url:t}=(0,i.et)(e).data;if(!t||typeof t!=="string")return;let r=(0,f.wv)("resource",({entries:n})=>{n.forEach(n=>{(0,y.tB)(n)&&n.name.endsWith(t)&&(e.setAttributes((0,g.v)(n)),setTimeout(r))})})}function T(e,t){let r=(0,c.$N)();if(r){let n;let a;try{n=new URL(e,r),a=new URL(r).origin}catch{return!1}let s=n.origin===a;return!t?s:(0,(0,m.Xr)(n.toString(),t)||s&&(0,m.Xr)(n.pathname,t))}{let r=!!e.match(/^\/(?!\/)/);return!t?r:(0,(0,m.Xr)(e,t))}}function S(o,l,c,u,m,f){let g=o.xhr;let b=g?.[d.Er];if(!g||g.__sentry_own_request__||!b)return undefined;let{url:k,method:v}=b;let w=(0,s.f)()&&l(k);if(o.endTimestamp&&w){let e=g.__sentry_xhr_span_id__;if(!e)return;let r=u[e];return r&&b.status_code!==undefined&&((0,t.N8)(r,b.status_code),r.end(),f?.(r,{headers:(0,y.jy)((0,p.ti)(g)),error:o.error}),delete u[e]),undefined}let _=(0,y.VZ)(k);let T=_?(0,h.Dl)(_):(0,h.Dl)(k);let S=(0,h.zm)((0,h.f)(k));let x=!!(0,i.Bk)();let E=w&&x?(0,r.Uk)({name:`${v} ${S}`,attributes:{url:(0,h.zm)(k),type:"xhr","http.method":v,"http.url":_?(0,h.zm)(_):undefined,"server.address":T?.host,[n.JD]:"auto.http.browser",[n.uT]:"http.client",...T?.search&&{"http.query":T?.search},...T?.hash&&{"http.fragment":T?.hash}}}):new e.w;g.__sentry_xhr_span_id__=E.spanContext().spanId,u[g.__sentry_xhr_span_id__]=E,c(k)&&j(g,(0,s.f)()&&x?E:undefined,m);let A=(0,a.KU)();return A&&A.emit("beforeOutgoingRequestSpan",E,o),E}function j(e,t,r){let{"sentry-trace":n,baggage:a,traceparent:s}=(0,o.i)({span:t,propagateTraceparent:r});n&&x(e,n,a,s)}function x(e,t,r,n){let a=e.__sentry_xhr_v3__?.request_headers;if(a?.["sentry-trace"]||!e.setRequestHeader)return;try{if(e.setRequestHeader("sentry-trace",t),n&&!a?.["traceparent"]&&e.setRequestHeader("traceparent",n),r){let t=a?.["baggage"];(!t||!(0,y.rb)(t))&&e.setRequestHeader("baggage",r)}}catch{}}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},98154(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{LZ:()=>u,ao:()=>h,k1:()=>f});var e=__webpack_require__(15797);var t=__webpack_require__(123532);var r=__webpack_require__(78463);var n=__webpack_require__(620772);var a=__webpack_require__(381699);var s=__webpack_require__(676108);var i=__webpack_require__(563023);var o=__webpack_require__(682631);var l=__webpack_require__(709356);let c="_frozenDsc";function u(e,t){(0,i.my)(e,c,t)}function m(t,r){let n=r.getOptions();let{publicKey:s}=r.getDsn()||{};let i={environment:n.environment||e.U,release:n.release,public_key:s,trace_id:t,org_id:(0,a.ul)(r)};return r.emit("createDsc",i),i}function h(e,t){let r=t.getPropagationContext();return r.dsc||m(r.traceId,e)}function f(e){let a=(0,t.KU)();if(!a)return{};let i=(0,o.zU)(e);let u=(0,o.et)(i);let h=u.data;let f=i.spanContext().traceState;let d=f?.get("sentry.sample_rate")??h[r.sy]??h[r.Ef];function p(e){return(typeof d=="number"||typeof d=="string")&&(e.sample_rate=`${d}`),e}let g=i[c];if(g)return p(g);let y=f?.get("sentry.dsc");let b=y&&(0,n.yD)(y);if(b)return p(b);let k=m(e.spanContext().traceId,a);let v=h[r.i_];let w=u.description;return v!=="url"&&w&&(k.transaction=w),(0,s.f)()&&(k.sampled=String((0,o.pK)(i)),k.sample_rand=f?.get("sentry.sample_rand")??(0,l.L)(i).scope?.getPropagationContext().sampleRand.toString()),p(k),a.emit("createDsc",k,i),k}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},100209(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>i,w:()=>s});var e=__webpack_require__(115691);var t=undefined||function(e,t,r,n,a){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?a.call(e,r):a?a.value=r:t.set(e,r),r};var r=undefined||function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)};var n,a;(0,e.YT)();class s{constructor({messenger:s,metadata:i,name:o,state:l}){n.set(this,void 0),a.set(this,void 0),t(this,a,s,"f"),this.messenger=s,this.name=o,t(this,n,(0,e.CN)(l,!0),"f"),this.metadata=i,r(this,a,"f").registerActionHandler(`${o}:getState`,()=>this.state),r(this,a,"f").registerInitialEventPayload({eventType:`${o}:stateChange`,getPayload:()=>[this.state,[]]}),r(this,a,"f").registerInitialEventPayload({eventType:`${o}:stateChanged`,getPayload:()=>[this.state,[]]})}get state(){return r(this,n,"f")}set state(e){throw new Error(`Controller state cannot be directly mutated; use 'update' method instead.`)}update(s){let[i,o,l]=(0,e.vI)(r(this,n,"f"),s);return o.length>0&&(t(this,n,i,"f"),r(this,a,"f").publish(`${this.name}:stateChange`,i,o),r(this,a,"f").publish(`${this.name}:stateChanged`,i,o)),{nextState:i,patches:o,inversePatches:l}}applyPatches(s){let i=(0,e.$i)(r(this,n,"f"),s);t(this,n,i,"f"),r(this,a,"f").publish(`${this.name}:stateChange`,i,s),r(this,a,"f").publish(`${this.name}:stateChanged`,i,s)}destroy(){this.messenger.clearEventSubscriptions(`${this.name}:stateChange`),this.messenger.clearEventSubscriptions(`${this.name}:stateChanged`)}}function i(e,t,r,n){return Object.keys(e).reduce((a,s)=>{try{let n=t[s];if(!n)throw new Error(`No metadata found for '${String(s)}'`);let i=n[r];let o=e[s];return typeof i=="function"?a[s]=i(o):i&&(a[s]=o),a}catch(e){if(n)try{n(e instanceof Error?e:new Error(String(e)))}catch(t){console.error(new Error(`Error thrown when calling 'captureException'`),t),console.error(e)}else console.error(e);return a}},{})}n=new WeakMap,a=new WeakMap}}).call(__webpack_require__._LM_("@metamask/base-controller",{__webpack_require__,__webpack_exports__}))()},105557(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e({getAnalyticsState:e,log:t}){return{name:"MetaMetrics",processEvent:async(r,n,a)=>{let s=await e();return!s?.consentDecisionMade||!s.optedIn?(t("Event dropped as metrics disabled"),null):(s.analyticsId&&(r.user={...r.user,id:s.analyticsId}),r)}}}__webpack_require__.d(__webpack_exports__,{t:()=>e})}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},108120(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>r});var e=__webpack_require__(413279);var t=__webpack_require__.n(e);function r(){return!1||!t().runtime.getManifest?{}:(0,t().runtime.getManifest()._flags||{})}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},112471(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>n});var e=__webpack_require__(16478);var t=[];for(var r=0;r<256;++r)t.push((r+256).toString(16).substr(1));let n=function(r){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var a=(t[r[n+0]]+t[r[n+1]]+t[r[n+2]]+t[r[n+3]]+"-"+t[r[n+4]]+t[r[n+5]]+"-"+t[r[n+6]]+t[r[n+7]]+"-"+t[r[n+8]]+t[r[n+9]]+"-"+t[r[n+10]]+t[r[n+11]]+t[r[n+12]]+t[r[n+13]]+t[r[n+14]]+t[r[n+15]]).toLowerCase();if(!(0,e.A)(a))throw TypeError("Stringified UUID is invalid");return a}}}).call(__webpack_require__._LM_("uuid",{__webpack_require__,__webpack_exports__}))()},114765(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){let t=[];e.message&&t.push(e.message);try{let r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}__webpack_require__.d(__webpack_exports__,{G:()=>e})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},115691(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw!1,Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function t(e){return!!e&&!!e[B]}function r(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===W}(e)||Array.isArray(e)||!!e[U]||!!((t=e.constructor)==null?void 0:t[U])||c(e)||u(e))}function n(e,t,r){void 0===r&&(r=!1),0===a(e)?(r?Object.keys:V)(e).forEach(function(n){r&&"symbol"==typeof n||t(n,e[n],e)}):e.forEach(function(r,n){return t(n,r,e)})}function a(e){var t=e[B];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:c(e)?2:u(e)?3:0}function s(e,t){return 2===a(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function i(e,t){return 2===a(e)?e.get(t):e[t]}function o(e,t,r){var n=a(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function c(e){return P&&e instanceof Map}function u(e){return H&&e instanceof Set}function m(e){return e.o||e.t}function h(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=J(e);delete t[B];for(var r=V(t),n=0;n<r.length;n++){var a=r[n],s=t[a];!1===s.writable&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function f(e,s){return void 0===s&&(s=!1),p(e)||t(e)||!r(e)||(a(e)>1&&(e.set=e.add=e.clear=e.delete=d),Object.freeze(e),s&&n(e,function(e,t){return f(t,!0)},!0)),e}function d(){e(2)}function p(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function g(t){var r=Z[t];return r||e(18,t),r}function y(e,t){Z[e]||(Z[e]=t)}function b(){return!0,z}function k(e,t){t&&(g("Patches"),e.u=[],e.s=[],e.v=t)}function v(e){w(e),e.p.forEach(T),e.p=null}function w(e){e===z&&(z=e.l)}function _(e){return z={p:[],l:z,h:e,m:!0,_:0}}function T(e){var t=e[B];0===t.i||1===t.i?t.j():t.g=!0}function S(t,n){n._=n.p.length;var a=n.p[0],s=void 0!==t&&t!==a;return n.h.O||g("ES5").S(n,t,s),s?(a[B].P&&(v(n),e(4)),r(t)&&(t=j(n,t),n.l||E(n,t)),n.u&&g("Patches").M(a[B].t,t,n.u,n.s)):t=j(n,a,[]),v(n),n.u&&n.v(n.u,n.s),t!==G?t:void 0}function j(e,t,r){if(p(t))return t;var a=t[B];if(!a)return n(t,function(n,s){return x(e,a,t,n,s,r)},!0),t;if(a.A!==e)return t;if(!a.P)return E(e,a.t,!0),a.t;if(!a.I){a.I=!0,a.A._--;var s=4===a.i||5===a.i?a.o=h(a.k):a.o,i=s,o=!1;3===a.i&&(i=new Set(s),s.clear(),o=!0),n(i,function(t,n){return x(e,a,s,t,n,r,o)}),E(e,s,!1),r&&e.u&&g("Patches").N(a,r,e.u,e.s)}return a.o}function x(e,n,a,i,l,c,u){if(!1,t(l)){var m=j(e,l,c&&n&&3!==n.i&&!s(n.R,i)?c.concat(i):void 0);if(o(a,i,m),!t(m))return;e.m=!1}else u&&a.add(l);if(r(l)&&!p(l)){if(!e.h.D&&e._<1)return;j(e,l),n&&n.A.l||E(e,l)}}function E(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&f(t,r)}function A(e,t){var r=e[B];return(r?m(r):e)[t]}function O(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function L(e){e.P||(e.P=!0,e.l&&L(e.l))}function R(e){e.o||(e.o=h(e.t))}function C(e,t,r){;var n,a,s,i;var o,l,m;var h=c(t)?g("MapSet").F(t,r):u(t)?g("MapSet").T(t,r):e.O?(t,r,s=a={i:(n=Array.isArray(t))?1:0,A:r?r.A:b(),P:!1,I:!1,R:{},l:r,t:t,k:null,o:null,j:null,C:!1},i=K,n&&(s=[a],i=X),l=(o=Proxy.revocable(s,i)).revoke,a.k=m=o.proxy,a.j=l,m):g("ES5").J(t,r);return(r?r.A:b()).p.push(h),h}function M(s){return t(s)||e(22,s),function e(t){if(!r(t))return t;var s,l=t[B],c=a(t);if(l){if(!l.P&&(l.i<4||!g("ES5").K(l)))return l.t;l.I=!0,s=I(t,c),l.I=!1}else s=I(t,c);return n(s,function(t,r){l&&i(l.t,t)===r||o(s,t,e(r))}),3===c?new Set(s):s}(s)}function I(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return h(e)}__webpack_require__.d(__webpack_exports__,{$i:()=>er,CN:()=>f,YT:()=>D,h4:()=>N,jM:()=>ee,vI:()=>et});function D(){function o(e){if(!r(e))return e;if(Array.isArray(e))return e.map(o);if(c(e))return new Map(Array.from(e.entries()).map(function(e){return[e[0],o(e[1])]}));if(u(e))return new Set(Array.from(e).map(o));var t=Object.create(Object.getPrototypeOf(e));for(var n in e)t[n]=o(e[n]);return s(e,U)&&(t[U]=e[U]),t}function l(e){return t(e)?o(e):e}y("Patches",{$:function(t,r){return r.forEach(function(r){for(var n=r.path,s=r.op,l=t,c=0;c<n.length-1;c++){var u=a(l),m=n[c];"string"!=typeof m&&"number"!=typeof m&&(m=""+m),0!==u&&1!==u||"__proto__"!==m&&"constructor"!==m||e(24),"function"==typeof l&&"prototype"===m&&e(24),"object"!=typeof(l=i(l,m))&&e(15,n.join("/"))}var h=a(l),f=o(r.value),d=n[n.length-1];switch(s){case"replace":switch(h){case 2:return l.set(d,f);case 3:e(16);default:return l[d]=f}case"add":switch(h){case 1:return"-"===d?l.push(f):l.splice(d,0,f);case 2:return l.set(d,f);case 3:return l.add(f);default:return l[d]=f}case"remove":switch(h){case 1:return l.splice(d,1);case 2:return l.delete(d);case 3:return l.delete(r.value);default:return delete l[d]}default:e(17,s)}}),t},N:function(e,t,r,a){switch(e.i){case 0:case 4:case 2:;var o,c;return e,t,r,a,o=e.t,c=e.o,void n(e.R,function(e,n){var u=i(o,e),m=i(c,e),h=n?s(o,e)?"replace":"add":"remove";if(u!==m||"replace"!==h){var f=t.concat(e);r.push("remove"===h?{op:h,path:f}:{op:h,path:f,value:m}),a.push(h==="add"?{op:"remove",path:f}:"remove"===h?{op:"add",path:f,value:l(u)}:{op:"replace",path:f,value:l(u)})}});case 5:case 1:return function(e,t,r,n){var a=e.t,s=e.R,i=e.o;if(i.length<a.length){var o=[i,a];a=o[0],i=o[1];var c=[n,r];r=c[0],n=c[1]}for(var u=0;u<a.length;u++)if(s[u]&&i[u]!==a[u]){var m=t.concat([u]);r.push({op:"replace",path:m,value:l(i[u])}),n.push({op:"replace",path:m,value:l(a[u])})}for(var h=a.length;h<i.length;h++){var f=t.concat([h]);r.push({op:"add",path:f,value:l(i[h])})}a.length<i.length&&n.push({op:"replace",path:t.concat(["length"]),value:a.length})}(e,t,r,a);case 3:;var u,m,h;return e,t,r,a,u=e.t,m=e.o,h=0,void(u.forEach(function(e){if(!m.has(e)){var n=t.concat([h]);r.push({op:"remove",path:n,value:e}),a.unshift({op:"add",path:n,value:e})}h++}),h=0,m.forEach(function(e){if(!u.has(e)){var n=t.concat([h]);r.push({op:"add",path:n,value:e}),a.unshift({op:"remove",path:n,value:e})}h++}))}},M:function(e,t,r,n){r.push({op:"replace",path:[],value:t===G?void 0:t}),n.push({op:"replace",path:[],value:e})}})}function N(e){return e}var q,z,$="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),P="undefined"!=typeof Map,H="undefined"!=typeof Set,F="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,G=$?Symbol.for("immer-nothing"):((q={})["immer-nothing"]=!0,q),U=$?Symbol.for("immer-draftable"):"__$immer_draftable",B=$?Symbol.for("immer-state"):"__$immer_state",Y="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",W=""+Object.prototype.constructor,V="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,J=Object.getOwnPropertyDescriptors||function(e){var t={};return V(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Z={},K={get:function(e,t){if(t===B)return e;var n=m(e);if(!s(n,t)){;var a,i;return e,(i=O(n,t))?"value"in i?i.value:(a=i.get)==null?void 0:a.call(e.k):void 0}var o=n[t];return e.I||!r(o)?o:o===A(e.t,t)?(R(e),e.o[t]=C(e.A.h,o,e)):o},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,r){var n=O(m(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var a=A(m(e),t),i=null==a?void 0:a[B];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(l(r,a)&&(void 0!==r||s(e.t,t)))return!0;R(e),L(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==A(e.t,t)||t in e.t?(e.R[t]=!1,R(e),L(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=m(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){e(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){e(12)}},X={};n(K,function(e,t){X[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),X.deleteProperty=function(e,t){return!1,X.set.call(this,e,t,void 0)},X.set=function(e,t,r){return!1,K.set.call(this,e[0],t,r,e[0])};var Q=new(function(){function n(t){var n=this;this.O=F,this.D=!0,this.produce=function(t,a,s){if("function"==typeof t&&"function"!=typeof a){var i=a;return(a=t),function(e){var t=this;void 0===e&&(e=i);for(var r=arguments.length,s=Array(r>1?r-1:0),o=1;o<r;o++)s[o-1]=arguments[o];return n.produce(e,function(e){var r;return(r=a).call.apply(r,[t,e].concat(s))})}}var o;if("function"!=typeof a&&e(6),void 0!==s&&"function"!=typeof s&&e(7),r(t)){var l=_(n),c=C(n,t,void 0),u=!0;try{o=a(c),u=!1}finally{u?v(l):w(l)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return k(l,s),S(e,l)},function(e){throw v(l),e}):(k(l,s),S(o,l))}if(!t||"object"!=typeof t){if(void 0===(o=a(t))&&(o=t),o===G&&(o=void 0),n.D&&f(o,!0),s){var m=[],h=[];g("Patches").M(t,o,m,h),s(m,h)}return o}e(21,t)},this.produceWithPatches=function(e,t){if("function"==typeof e)return function(t){for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produceWithPatches(t,function(t){return e.apply(void 0,[t].concat(a))})};var r,a,s=n.produce(e,t,function(e,t){r=e,a=t});return"undefined"!=typeof Promise&&s instanceof Promise?s.then(function(e){return[e,r,a]}):[s,r,a]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var a=n.prototype;return a.createDraft=function(n){r(n)||e(8),t(n)&&(n=M(n));var a=_(this),s=C(this,n,void 0);return s[B].C=!0,w(a),s},a.finishDraft=function(e,t){var r=(e&&e[B]).A;return k(r,t),S(void 0,r)},a.setAutoFreeze=function(e){this.D=e},a.setUseProxies=function(t){t&&!F&&e(20),this.O=t},a.applyPatches=function(e,r){var n;for(n=r.length-1;n>=0;n--){var a=r[n];if(0===a.path.length&&"replace"===a.op){e=a.value;break}}n>-1&&(r=r.slice(n+1));var s=g("Patches").$;return t(e)?s(e,r):this.produce(e,function(e){return s(e,r)})},n}()),ee=Q.produce,et=Q.produceWithPatches.bind(Q),er=(Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q));Q.createDraft.bind(Q),Q.finishDraft.bind(Q)}}).call(__webpack_require__._LM_("immer",{__webpack_exports__,__webpack_require__}))()},115726(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ay:()=>I});var e=__webpack_require__(549140);var t=__webpack_require__(410710);var r=__webpack_require__(827284);var n=__webpack_require__(468417);var a=__webpack_require__(179687);var s=__webpack_require__(931263);var i=__webpack_require__(123532);var o=__webpack_require__(548502);var l=__webpack_require__(682631);var c=__webpack_require__(848294);var u=__webpack_require__(960767);var m=__webpack_require__(59824);var h=__webpack_require__(902309);var f=__webpack_require__(87776);var d=__webpack_require__(456895);__webpack_require__.n(d);var p=__webpack_require__(413279);var g=__webpack_require__.n(p);var y=__webpack_require__(480021);var b=__webpack_require__(650710);__webpack_require__.n(b);var k=__webpack_require__(108120);var v=__webpack_require__(942566);var w=__webpack_require__(659212);var _=__webpack_require__(105557);var T=__webpack_require__(735641);var S=__webpack_require__(787631);var j=__webpack_require__(499985);var x=__webpack_require__(964451);let E=(0,e.X)(y.wQ,"internal");let A="pull-request";let O=(0,v.n)(A,"13.44.0-flask.0");let L="https://3567c198f8a8412082d32655da2961d0@sentry.io/273505";let R="https://17e6db85bd66517e7c828d36f53e2f26@sentry.io/4510302346608640";let C=!!1;let M={CRYPTOCOMPARE:"cryptocompare.com",COINGECKO:"coingecko.com",ETHERSCAN:"etherscan.io",CODEFI:"codefi.network",SEGMENT:"segment.io"};function I(){if(!O)throw new Error("Missing release");return!P()?((0,y.wQ)("Skipped initialization"),undefined):((0,y.wQ)("Initializing"),(0,x.I)(),el(),H(),{addBreadcrumb:c.Z,captureException:s.Cp,captureFeedback:h.q,captureMessage:s.wd,continueTrace:r.V4,getActiveSpan:l.Bk,lastEventId:s.Q,setContext:s.o,setMeasurement:n.X,setTag:s.NA,startSpan:r.Lk,startSpanManual:r.nV,withIsolationScope:i.rB,withScope:i.v4})}function D(e){try{return(0,d.cloneDeep)(e)}catch(t){return(0,y.wQ)("Failed to clone Sentry event, using original reference",t),e}}function N(){let e=$();let t=P();return{beforeBreadcrumb:G(),beforeSend:e=>Z(D(e)),beforeSendTransaction:e=>{let t=J(D(e));return V(t),t},debug:!1,dist:b.isManifestV3?"mv3":"mv2",dsn:t,environment:e,integrations:[(0,u.s)(),(0,m.X)(),(0,o.dp)({enableLongAnimationFrame:!0,shouldCreateSpanForRequest:U}),(0,_.t)({getAnalyticsState:S.kS,log:y.wQ}),...C?[(0,T.Vu)({log:y.wQ})]:[]],release:O,...C&&{tracePropagationTargets:T.dm,propagateTraceparent:!0},sendClientReports:!1,skipBrowserExtensionCheck:!0,tracesSampleRate:q(t),ignoreErrors:t===R?[/.*/u]:undefined,transport:j._}}function q(e){if(e==="https://fake@sentry.io/0000000")return 1;let t=(0,k.P)();return t.sentry?.tracesSampleRate!==undefined?t.sentry.tracesSampleRate:(0,t.ci)?t.ci.branch==="main"?.015:(0,.001):(0,!1?1:(0,.005))}function z(){let{ci:e}=(0,k.P)();e?.enabled&&((0,s.NA)("ci.enabled",e.enabled),(0,s.NA)("ci.branch",e.branch),(0,s.NA)("ci.commitHash",e.commitHash),(0,s.NA)("ci.job",e.job),(0,s.NA)("ci.matrixIndex",e.matrixIndex),(0,s.NA)("ci.prNumber",e.prNumber),e.persona&&(0,s.NA)("ci.persona",e.persona),e.testTitle&&(0,s.NA)("ci.testTitle",e.testTitle))}function $(){return"flask"=="main"?A:(0,`${A}-${"flask"}`)}function P(){let e=(0,k.P)();if(!1,e.ci?.enabled&&R)return R;if("pull-request"!=="production")return"https://f59f3dd640d2429d9d0e2445a87ea8e1@sentry.io/273496";if(!L)throw new Error(`Missing SENTRY_DSN environment variable in production environment`);return L}function H(){let e=N();let{dsn:r,environment:n,release:s,tracesSampleRate:i}=e;return(0,y.wQ)("Updating client",{environment:n,dsn:r,release:s,tracesSampleRate:i}),(0,t.s)(),(0,a.Ts)(e),z(),ec(),!0}function F(e){return!e.match(/^(chrome-extension|moz-extension):\/\//u)?"":(0,e)}function G(){return e=>{if(!S.Gu)return null;let t=(0,S.Gu)();let r=(0,S.eR)(t);return!r?.consentDecisionMade||!r?.optedIn||e?.category==="ui.input"?null:(0,e)}}function U(e){return/^https?:\/\/(?:[\w\d.@-]+\.)?(?:sentry\.io|segment\.io|chainid\.network|acl\.execution\.metamask\.io)(?:\/|$)/u.test(e)||/^(?:chrome|moz)-extension:\/\/[^/]+\/(?:(?:snaps|_locales)\/|[0-9a-f]{8,}\.json$)/u.test(e)?!1:(0,!0)}function B(e){return e?.data?.url&&(e.data.url=F(e.data.url)),e?.data?.to&&(e.data.to=F(e.data.to)),e?.data?.from&&(e.data.from=F(e.data.from)),typeof e?.message=="string"&&(e.message=et(e.message)),e?.data&&(e.data=er(e.data)),e}function Y(e){if(!Array.isArray(e.breadcrumbs))return;for(let t=0;t<e.breadcrumbs.length;t++)B(e.breadcrumbs[t])}let W=new Set(["sentry-tracing-init","mm-hero-painted"]);function V(e){if(!Array.isArray(e.spans))return;e.spans=e.spans.filter(e=>{let t=e?.description??e?.name;return!(e?.op==="mark"&&W.has(t))})}function J(e){return Y(e),e}function Z(e){try{ea(e),K(e),X(e),Y(e),en(e),ei(e);let t=(0,S.Gu)();!e.extra&&(e.extra={}),!e.tags&&(e.tags={});let r=(0,x.K)();Object.assign(e.extra,{appState:t,installType:r,extensionId:g().runtime?.id}),e.tags.installType=r,e.tags.storageKind=globalThis.stateHooks?.getStorageKind?.()??"unknown"}catch(e){(0,y.wQ)("Error rewriting report",e)}return e}function K(e){es(e,e=>{let t=e;return(t.match(/(([-.+a-zA-Z]+:\/\/)|(www\.))\S+[@:.]\S+/gu)||[]).forEach(e=>{try{let{hostname:r}=new URL(e);!Object.values(M).some(e=>r===e||r.endsWith(`.${e}`))&&(t=t.replace(e,"**"))}catch(r){t=t.replace(e,"**")}}),t})}function X(e){es(e,e=>et(e))}let Q=/0x[A-Fa-f0-9]{40}/gu;let ee=[/\bT[1-9A-HJ-NP-Za-km-z]{33}\b/gu,/\bG[A-Z2-7]{55}\b/gu,/\bbc1[02-9ac-hj-np-z]{6,87}\b/gu,/\b[13][1-9A-HJ-NP-Za-km-z]{25,34}\b/gu,/\b[1-9A-HJ-NP-Za-km-z]{32,44}\b/gu];function et(e){let t=e.replace(Q,"0x**");for(let e of ee)t=t.replace(e,"**");return t}function er(e,t=new WeakMap){if(typeof e=="string")return et(e);if(e===null||typeof e!=="object")return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=[];t.set(e,r);for(let n=0;n<e.length;n++)r[n]=er(e[n],t);return r}let r={};for(let n of(t.set(e,r),e instanceof Error&&(typeof e.message=="string"&&(r.message=et(e.message)),typeof e.stack=="string"&&(r.stack=et(e.stack))),Object.keys(e)))r[n]=er(e[n],t);return r}function en(e){e.extra&&(e.extra=er(e.extra)),e.contexts&&(e.contexts=er(e.contexts))}function ea(e){es(e,e=>{let t=(0,w.A)(e);return t.indexOf("Transaction Failed: known transaction")===0&&(t="Transaction Failed: known transaction"),t})}function es(e,t){typeof e.message=="string"&&(e.message=t(e.message)),e.exception&&e.exception.values&&e.exception.values.forEach(e=>{typeof e.value=="string"&&(e.value=t(e.value))})}function ei(e){e.request?.url&&(e.request.url=eo(e.request.url)),e.exception&&e.exception.values&&e.exception.values.forEach(e=>{e.stacktrace&&e.stacktrace.frames.forEach(e=>{e.filename=eo(e.filename)})})}function eo(e){if(!globalThis.location?.origin)return e;let t=e?.split(globalThis.location.origin)[1];return!t?e:(0,`/metamask${t}`)}function el(){if(!!1)return;for(let e of["log","error"])f[e]=(...t)=>{E(t[0].replace(`Sentry Logger [${e}]: `,""),...t.slice(1))};(0,y.wQ)("Integrated logging")}function ec(){if(!!1)return;let e=(0,i.KU)();e?.on("beforeEnvelope",e=>{eu(e)&&(0,y.wQ)("Completed session",e)}),e?.on("afterSendEvent",e=>{let t=em(e);(0,y.wQ)(t,e)}),(0,y.wQ)("Added debug listeners")}function eu(e){let t=e?.[1]?.[0]?.[0]?.type;let r=e?.[1]?.[0]?.[1]??{};return t==="session"&&r.status==="exited"}function em(e){return e.type==="transaction"?"Trace":(0,e.level==="error")?"Error":(0,"Event")}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},118840(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B$:()=>l,ur:()=>o});var e=__webpack_require__(123532);var t=__webpack_require__(632356);var r=__webpack_require__(563023);var n=__webpack_require__(153836);var a=__webpack_require__(306981);var s=__webpack_require__(901889);var i=__webpack_require__(545407);function o(e,t){let r="fetch";(0,i.s5)(r,e),(0,i.AS)(r,()=>c(undefined,t))}function l(e){let t="fetch-body-resolved";(0,i.s5)(t,e),(0,i.AS)(t,()=>c(m))}function c(o,l=!1){if(l&&!(0,n.m7)())return;(0,r.GS)(s.O,"fetch",function(n){return function(...l){let c=new Error;let{method:u,url:m}=d(l);let h={args:l,fetchData:{method:u,url:m},startTimestamp:(0,a.zf)()*1e3,virtualError:c,headers:p(l)};return!o&&(0,i.aj)("fetch",{...h}),n.apply(s.O,l).then(async e=>{return o?o(e):(0,i.aj)("fetch",{...h,endTimestamp:(0,a.zf)()*1e3,response:e}),e},n=>{(0,i.aj)("fetch",{...h,endTimestamp:(0,a.zf)()*1e3,error:n}),(0,t.bJ)(n)&&n.stack===undefined&&(n.stack=c.stack,(0,r.my)(n,"framesToPop",1));let s=(0,e.KU)();let o=s?.getOptions().enhanceFetchErrorMessages??"always";if(o!==!1&&(0,t.bJ)(n)&&n.name==="TypeError"&&(n.message==="Failed to fetch"||n.message==="Load failed"||n.message==="NetworkError when attempting to fetch resource."))try{let e=new URL(h.fetchData.url).host;o==="always"?n.message=`${n.message} (${e})`:(0,r.my)(n,"__sentry_fetch_url_host__",e)}catch{}throw n})}})}async function u(e,t){if(e?.body){let r=e.body;let n=r.getReader();let a=setTimeout(()=>{r.cancel().then(null,()=>{})},90*1e3);let s=!0;while(s){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:a}=await n.read();clearTimeout(e),a&&(t(),s=!1)}catch{s=!1}finally{clearTimeout(e)}}clearTimeout(a),n.releaseLock(),r.cancel().then(null,()=>{})}}function m(e){let t;try{t=e.clone()}catch{return}u(t,()=>{(0,i.aj)("fetch-body-resolved",{endTimestamp:(0,a.zf)()*1e3,response:e})})}function h(e,t){return!!e&&typeof e=="object"&&!!e[t]}function f(e){return typeof e=="string"?e:(0,!e)?"":(0,h(e,"url"))?e.url:(0,e.toString)?e.toString():(0,"")}function d(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){let[r,n]=e;return{url:f(r),method:h(n,"method")?String(n.method).toUpperCase():(0,t.ks)(r)&&h(r,"method")?String(r.method).toUpperCase():"GET"}}let r=e[0];return{url:f(r),method:h(r,"method")?String(r.method).toUpperCase():"GET"}}function p(e){let[r,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,t.ks)(r))return new Headers(r.headers)}catch{}return}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},122552(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ci:()=>s,DJ:()=>d,US:()=>n,fw:()=>y,mx:()=>o,qH:()=>h,s$:()=>t,s7:()=>a,tz:()=>f,us:()=>l,xS:()=>g,zH:()=>p}),__webpack_require__(891728),__webpack_require__(512986);let e=["January","February","March","April","May","June","July","August","September","October","November","December"];let t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];let r=["J","F","M","A","M","J","J","A","S","O","N","D"];function n(n){switch(n){case"narrow":return[...r];case"short":return[...t];case"long":return[...e];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}let a=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];let s=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];let i=["M","T","W","T","F","S","S"];function o(e){switch(e){case"narrow":return[...i];case"short":return[...s];case"long":return[...a];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}let l=["AM","PM"];let c=["Before Christ","Anno Domini"];let u=["BC","AD"];let m=["B","A"];function h(e){switch(e){case"narrow":return[...m];case"short":return[...u];case"long":return[...c];default:return null}}function f(e){return l[e.hour<12?0:1]}function d(e,t){return o(t)[e.weekday-1]}function p(e,t){return n(t)[e.month-1]}function g(e,t){return h(t)[e.year<0?0:1]}function y(e,t,r="always",n=!1){let a={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]};let s=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&s){let r=e==="days";switch(t){case 1:return r?"tomorrow":`next ${a[e][0]}`;case-1:return r?"yesterday":`last ${a[e][0]}`;case 0:return r?"today":`this ${a[e][0]}`;default:}}let i=Object.is(t,-0)||t<0,o=Math.abs(t),l=o===1,c=a[e],u=n?l?c[1]:c[2]||c[1]:l?a[e][0]:e;return i?`${o} ${u} ago`:`in ${o} ${u}`}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},123532(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{KU:()=>c,m6:()=>i,o5:()=>a,rB:()=>l,rm:()=>s,v4:()=>o,vn:()=>u});var e=__webpack_require__(920938);var t=__webpack_require__(943924);var r=__webpack_require__(665016);var n=__webpack_require__(858481);function a(){let r=(0,t.EU)();return(0,e.h)(r).getCurrentScope()}function s(){let r=(0,t.EU)();return(0,e.h)(r).getIsolationScope()}function i(){return(0,t.BY)("globalScope",()=>new r.H)}function o(...r){let n=(0,t.EU)();let a=(0,e.h)(n);if(r.length===2){let[e,t]=r;return!e?a.withScope(t):(0,a.withSetScope(e,t))}return a.withScope(r[0])}function l(...r){let n=(0,t.EU)();let a=(0,e.h)(n);if(r.length===2){let[e,t]=r;return!e?a.withIsolationScope(t):(0,a.withSetIsolationScope(e,t))}return a.withIsolationScope(r[0])}function c(){return a().getClient()}function u(e){let{traceId:t,parentSpanId:r,propagationSpanId:a}=e.getPropagationContext();let s={trace_id:t,span_id:a||(0,n.Z)()};return r&&(s.parent_span_id=r),s}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},134281(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e=1e3*60;var t=1e3*60*60;var r=1e3*60*60*24;var n=1e3*60*60*24*7;var a=1e3*60*60*24*365.25;function s(s){if((s=String(s)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(!i)return;var o=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return o*a;case"weeks":case"week":case"w":return o*n;case"days":case"day":case"d":return o*r;case"hours":case"hour":case"hrs":case"hr":case"h":return o*t;case"minutes":case"minute":case"mins":case"min":case"m":return o*e;case"seconds":case"second":case"secs":case"sec":case"s":return o*1e3;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return undefined}}function i(n){var a=Math.abs(n);return a>=r?Math.round(n/r)+"d":(0,a>=t)?Math.round(n/t)+"h":(0,a>=e)?Math.round(n/e)+"m":(0,a>=1e3)?Math.round(n/1e3)+"s":(0,n+"ms")}function o(n){var a=Math.abs(n);return a>=r?l(n,a,r,"day"):(0,a>=t)?l(n,a,t,"hour"):(0,a>=e)?l(n,a,e,"minute"):(0,a>=1e3)?l(n,a,1e3,"second"):(0,n+" ms")}function l(e,t,r,n){return Math.round(e/r)+" "+n+(t>=r*1.5?"s":"")}module.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return s(e);if(r==="number"&&isFinite(e))return t.long?o(e):i(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}}}).call(__webpack_require__._LM_("mocha>ms",{module,__webpack_require__}))()},138292(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{dO:()=>i,o_:()=>n,wO:()=>s});let e={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[０-９]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};let t={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]};let r=e.hanidec.replace(/[\[|\]]/g,"").split("");function n(n){let a=parseInt(n,10);if(!isNaN(a))return a;{a="";for(let s=0;s<n.length;s++){let i=n.charCodeAt(s);if(n[s].search(e.hanidec)!==-1)a+=r.indexOf(n[s]);else for(let e in t){let[r,n]=t[e];i>=r&&i<=n&&(a+=i-r)}}return parseInt(a,10)}}let a={};function s(){a={}}function i({numberingSystem:t},r=""){let n=t||"latn";return!a[n]&&(a[n]={}),!a[n][r]&&(a[n][r]=new RegExp(`${e[n]}${r}`)),a[n][r]}}}).call(__webpack_require__._LM_("luxon",{__webpack_exports__,__webpack_require__}))()},138716(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{DI:()=>S,QU:()=>A,U$:()=>T,bk:()=>w,c8:()=>_});var e=__webpack_require__(468417);var t=__webpack_require__(78463);var r=__webpack_require__(682631);var n=__webpack_require__(18898);var a=__webpack_require__(632356);var s=__webpack_require__(180121);var i=__webpack_require__(306981);var o=__webpack_require__(925075);var l=__webpack_require__(765698);var c=__webpack_require__(903217);var u=__webpack_require__(821396);var m=__webpack_require__(945582);var h=__webpack_require__(913111);var f=__webpack_require__(33040);var d=__webpack_require__(51450);var p=__webpack_require__(234512);var g=__webpack_require__(978802);let y=0;let b={};let k;let v;function w({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){let n=(0,f.D)();if(n&&(0,i.k3)()){n.mark&&l.j.performance.mark("sentry-tracing-init");let a=t?(0,m.Q)(r):x();let s=E();let i=e?(0,c.D)(r):j();return()=>{a?.(),s(),i?.()}}return()=>undefined}function _(){(0,u.wv)("longtask",({entries:e})=>{let n=(0,r.Bk)();if(!n)return;let{op:a,start_timestamp:s}=(0,r.et)(n);for(let r of e){let e=(0,f.rv)((0,i.k3)()+r.startTime);let o=(0,f.rv)(r.duration);if(a==="navigation"&&s&&e<s)continue;(0,f.Tn)(n,e,e+o,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[t.JD]:"auto.ui.browser.metrics"}})}})}function T(){new PerformanceObserver(e=>{let n=(0,r.Bk)();if(!n)return;for(let a of e.getEntries()){if(!a.scripts[0])continue;let e=(0,f.rv)((0,i.k3)()+a.startTime);let{start_timestamp:s,op:o}=(0,r.et)(n);if(o==="navigation"&&s&&e<s)continue;let l=(0,f.rv)(a.duration);let c={[t.JD]:"auto.ui.browser.metrics"};let{invoker:u,invokerType:m,sourceURL:h,sourceFunctionName:d,sourceCharPosition:p}=a.scripts[0];c["browser.script.invoker"]=u,c["browser.script.invoker_type"]=m,h&&(c["code.filepath"]=h),d&&(c["code.function"]=d),p!==-1&&(c["browser.script.source_char_position"]=p),(0,f.Tn)(n,e,e+l,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:c})}}).observe({type:"long-animation-frame",buffered:!0})}function S(){(0,u.wv)("event",({entries:e})=>{let a=(0,r.Bk)();if(!a)return;for(let r of e)if(r.name==="click"){let e=(0,f.rv)((0,i.k3)()+r.startTime);let s=(0,f.rv)(r.duration);let o={name:(0,n.Hd)(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[t.JD]:"auto.ui.browser.metrics"}};let l=(0,n.xE)(r.target);l&&(o.attributes["ui.component_name"]=l),(0,f.Tn)(a,e,e+s,o)}})}function j(){return(0,u.a9)(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;b["cls"]={value:e.value,unit:""},v=t},!0)}function x(){return(0,u.Pt)(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;b["lcp"]={value:e.value,unit:"millisecond"},k=t},!0)}function E(){return(0,u.YG)(({metric:e})=>{if(!e.entries[e.entries.length-1])return;b["ttfb"]={value:e.value,unit:"millisecond"}})}function A(t,n){let a=(0,f.D)();let s=(0,i.k3)();if(!a?.getEntries||!s)return;let o=(0,f.rv)(s);let l=a.getEntries();let{op:c,start_timestamp:u}=(0,r.et)(t);l.slice(y).forEach(e=>{let r=(0,f.rv)(e.startTime);let a=(0,f.rv)(Math.max(0,e.duration));if(c==="navigation"&&u&&o+r<u)return;switch(e.entryType){case"navigation":{C(t,e,o);break}case"mark":case"paint":case"measure":{L(t,e,r,a,o,n.ignorePerformanceApiSpans);let s=(0,g.N)();let i=e.startTime<s.firstHiddenTime;e.name==="first-paint"&&i&&(b["fp"]={value:e.startTime,unit:"millisecond"}),e.name==="first-contentful-paint"&&i&&(b["fcp"]={value:e.startTime,unit:"millisecond"});break}case"resource":{N(t,e,e.name,r,a,o,n.ignoreResourceSpans);break}}}),y=Math.max(l.length-1,0),q(t),c==="pageload"&&(P(b),!n.recordClsOnPageloadSpan&&delete b.cls,!n.recordLcpOnPageloadSpan&&delete b.lcp,Object.entries(b).forEach(([t,r])=>{(0,e.X)(t,r.value,r.unit)}),t.setAttribute("performance.timeOrigin",o),t.setAttribute("performance.activationStart",(0,d.b)()),z(t,n)),k=undefined,v=undefined,b={}}function O(e){if(e?.entryType!=="measure")return;try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function L(e,r,n,a,i,o){if(O(r)||["mark","measure"].includes(r.entryType)&&(0,s.Xr)(r.name,o))return;let l=(0,p.z)(!1);let c=i+Math.max(n,(0,f.rv)(l?l.requestStart:0));let u=i+n;let m=u+a;let h={[t.JD]:"auto.resource.browser.metrics"};c!==u&&(h["sentry.browser.measure_happened_before_request"]=!0,h["sentry.browser.measure_start_time"]=c),R(h,r),c<=m&&(0,f.Tn)(e,c,m,{name:r.name,op:r.entryType,attributes:h})}function R(e,t){try{let r=t.detail;if(!r)return;if(typeof r=="object"){for(let[t,n]of Object.entries(r))if(n&&(0,a.sO)(n))e[`sentry.browser.measure.detail.${t}`]=n;else if(n!==undefined)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(n)}catch{}return}if((0,a.sO)(r)){e["sentry.browser.measure.detail"]=r;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(r)}catch{}}catch{}}function C(e,t,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{M(e,t,n,r)}),M(e,t,"secureConnection",r,"TLS/SSL"),M(e,t,"fetch",r,"cache"),M(e,t,"domainLookup",r,"DNS"),D(e,t,r)}function M(e,r,n,a,s=n){let i=r[I(n)];let o=r[`${n}Start`];if(!o||!i)return;(0,f.Tn)(e,a+(0,f.rv)(o),a+(0,f.rv)(i),{op:`browser.${s}`,name:r.name,attributes:{[t.JD]:"auto.ui.browser.metrics",...n==="redirect"&&r.redirectCount!=null?{"http.redirect_count":r.redirectCount}:{}}})}function I(e){return e==="secureConnection"?"connectEnd":(0,e==="fetch")?"domainLookupStart":(0,`${e}End`)}function D(e,r,n){let a=n+(0,f.rv)(r.requestStart);let s=n+(0,f.rv)(r.responseEnd);let i=n+(0,f.rv)(r.responseStart);r.responseEnd&&((0,f.Tn)(e,a,s,{op:"browser.request",name:r.name,attributes:{[t.JD]:"auto.ui.browser.metrics"}}),(0,f.Tn)(e,i,s,{op:"browser.response",name:r.name,attributes:{[t.JD]:"auto.ui.browser.metrics"}}))}function N(e,r,n,a,s,i,c){if(r.initiatorType==="xmlhttprequest"||r.initiatorType==="fetch")return;let u=r.initiatorType?`resource.${r.initiatorType}`:"resource.other";if(c?.includes(u))return;let m={[t.JD]:"auto.resource.browser.metrics"};let d=(0,o.Dl)(n);d.protocol&&(m["url.scheme"]=d.protocol.split(":").pop()),d.host&&(m["server.address"]=d.host),m["url.same_origin"]=n.includes(l.j.location.origin),$(r,m,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);let p={...m,...(0,h.v)(r)};let g=i+a;(0,f.Tn)(e,g,g+s,{name:n.replace(l.j.location.origin,""),op:u,attributes:p})}function q(e){let t=l.j.navigator;if(!t)return;let r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),(0,f.Kk)(r.rtt)&&(b["connection.rtt"]={value:r.rtt,unit:"millisecond"})),(0,f.Kk)(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),(0,f.Kk)(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function z(e,t){k&&t.recordLcpOnPageloadSpan&&(k.element&&e.setAttribute("lcp.element",(0,n.Hd)(k.element)),k.id&&e.setAttribute("lcp.id",k.id),k.url&&e.setAttribute("lcp.url",k.url.trim().slice(0,200)),k.loadTime!=null&&e.setAttribute("lcp.loadTime",k.loadTime),k.renderTime!=null&&e.setAttribute("lcp.renderTime",k.renderTime),e.setAttribute("lcp.size",k.size)),v?.sources&&t.recordClsOnPageloadSpan&&v.sources.forEach((t,r)=>e.setAttribute(`cls.source.${r+1}`,(0,n.Hd)(t.node)))}function $(e,t,r){r.forEach(([r,n])=>{let a=e[r];a!=null&&(typeof a=="number"&&a<0x7fffffff||typeof a=="string")&&(t[n]=a)})}function P(e){let t=(0,p.z)(!1);if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},142282(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A9:()=>j,Dz:()=>E,FX:()=>h,K4:()=>b,SY:()=>d,Ts:()=>A,dg:()=>m,e9:()=>O,h$:()=>C,jx:()=>f,nW:()=>k,pI:()=>R,qH:()=>w,rW:()=>x,vZ:()=>v,vg:()=>L,wV:()=>g,x2:()=>p});var e=__webpack_require__(705025);let t=/^(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32})$/u;let r=/^[-a-z0-9]{3,8}$/u;let n=/^[-_a-zA-Z0-9]{1,32}$/u;let a=/^(?<chainId>(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32})):(?<accountAddress>[-.%a-zA-Z0-9]{1,128})$/u;let s=/^[-.%a-zA-Z0-9]{1,128}$/u;let i=/^[-a-z0-9]{3,8}$/u;let o=/^[-.%a-zA-Z0-9]{1,128}$/u;let l=/^[-.%a-zA-Z0-9]{1,78}$/u;let c=/^(?<chainId>(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32}))\/(?<assetNamespace>[-a-z0-9]{3,8}):(?<assetReference>[-.%a-zA-Z0-9]{1,128})$/u;let u=/^(?<chainId>(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32}))\/(?<assetNamespace>[-a-z0-9]{3,8}):(?<assetReference>[-.%a-zA-Z0-9]{1,128})\/(?<tokenId>[-.%a-zA-Z0-9]{1,78})$/u;let m=(0,e.s)("CaipChainId",t);(0,e.s)("CaipNamespace",r),(0,e.s)("CaipReference",n);let h=(0,e.s)("CaipAccountId",a);(0,e.s)("CaipAccountAddress",s),(0,e.s)("CaipAssetNamespace",i),(0,e.s)("CaipAssetReference",o),(0,e.s)("CaipTokenId",l);let f=(0,e.s)("CaipAssetType",c);let d=(0,e.s)("CaipAssetId",u);let p=(0,e.s)("CaipAssetTypeOrId",/^(?<chainId>(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32}))\/(?<assetNamespace>[-a-z0-9]{3,8}):(?<assetReference>[-.%a-zA-Z0-9]{1,128})(\/(?<tokenId>[-.%a-zA-Z0-9]{1,78}))?$/u);var g;var y;function b(e){return typeof e=="string"&&t.test(e)}function k(e){return typeof e=="string"&&r.test(e)}function v(e){return typeof e=="string"&&n.test(e)}function w(e){return typeof e=="string"&&a.test(e)}function _(e){return typeof e=="string"&&s.test(e)}function T(e){return typeof e=="string"&&i.test(e)}function S(e){return typeof e=="string"&&o.test(e)}function j(e){return typeof e=="string"&&c.test(e)}function x(e){let r=t.exec(e);if(!r?.groups)throw new Error("Invalid CAIP chain ID.");return{namespace:r.groups.namespace,reference:r.groups.reference}}function E(e){let t=a.exec(e);if(!t?.groups)throw new Error("Invalid CAIP account ID.");return{address:t.groups.accountAddress,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}}function A(e){let t=c.exec(e);if(!t?.groups)throw new Error("Invalid CAIP asset type.");return{assetNamespace:t.groups.assetNamespace,assetReference:t.groups.assetReference,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}}function O(e){let t=u.exec(e);if(!t?.groups)throw new Error("Invalid CAIP asset ID.");return{assetNamespace:t.groups.assetNamespace,assetReference:t.groups.assetReference,tokenId:t.groups.tokenId,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}}function L(e,t){if(!k(e))throw new Error(`Invalid "namespace", must match: ${r.toString()}`);if(!v(t))throw new Error(`Invalid "reference", must match: ${n.toString()}`);return`${e}:${t}`}function R(e,t,a){if(!k(e))throw new Error(`Invalid "namespace", must match: ${r.toString()}`);if(!v(t))throw new Error(`Invalid "reference", must match: ${n.toString()}`);if(!_(a))throw new Error(`Invalid "accountAddress", must match: ${s.toString()}`);return`${e}:${t}:${a}`}function C(e,t,a,s){if(!k(e))throw new Error(`Invalid "namespace", must match: ${r.toString()}`);if(!v(t))throw new Error(`Invalid "reference", must match: ${n.toString()}`);if(!T(a))throw new Error(`Invalid "assetNamespace", must match: ${i.toString()}`);if(!S(s))throw new Error(`Invalid "assetReference", must match: ${o.toString()}`);return`${e}:${t}/${a}:${s}`}(y=g=g||(g={}))["Bip122"]="bip122",y["Solana"]="solana",y["Stellar"]="stellar",y["Tron"]="tron",y["Eip155"]="eip155",y["Wallet"]="wallet"}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},142827(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E8:()=>n,RZ:()=>a,cJ:()=>s,kp:()=>r});var e=__webpack_require__(356583);var t=__webpack_require__(342672);function r(...e){let n=e[0]?.type==="type";let a=Object.assign({},...e.map(({schema:e})=>e));return n?(0,t.NW)(a):(0,t.Ik)(a)}function n(t,r){return new e._k({type:t,schema:null,validator:r})}function a(t){let r;return new e._k({type:"lazy",schema:null,*entries(e,n){r??(r=t()),yield*r.entries(e,n)},validator(e,n){return r??(r=t()),r.validator(e,n)},coercer(e,n){return r??(r=t()),r.coercer(e,n)},refiner(e,n){return r??(r=t()),r.refiner(e,n)}})}function s(e,r){let{schema:n}=e;let a={...n};for(let e of r)delete a[e];switch(e.type){case"type":return(0,t.NW)(a);default:return(0,t.Ik)(a)}}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},144008(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{DW:()=>s,P5:()=>o,_K:()=>m,el:()=>f});var e=__webpack_require__(908743);var t=__webpack_require__(745085);var r=__webpack_require__(16905);let n=r.f.rpc.internal;let a={code:n,message:s(n)};function s(e,n="Unspecified error message. This is a bug, please report it."){if(i(e)){let n=e.toString();if((0,t.i5)(r.z,n))return r.z[n].message;if(u(e))return"Unspecified server error."}return n}function i(e){return Number.isInteger(e)}function o(t,{fallbackError:r=a,shouldIncludeStack:n=!0,shouldPreserveMessage:s=!0}={}){if(!(0,e.U$)(r))throw new Error("Must provide fallback error with integer number code and string message.");let i=l(t,r,s);return!n&&delete i.stack,i}function l(t,r,n){if(t&&typeof t=="object"&&"serialize"in t&&typeof t.serialize=="function")return t.serialize();if((0,e.U$)(t))return t;let a=c(t);let s=m(t);return{...r,...n&&a&&{message:a},data:{cause:s}}}function c(e){return(0,t.Gv)(e)&&(0,t.i5)(e,"message")&&typeof e.message=="string"&&e.message.length>0?e.message:(0,undefined)}function u(e){return e>=-32099&&e<=-32e3}function m(r){return Array.isArray(r)?r.map(r=>{return(0,e.jU)(r)?r:(0,(0,t.Gv)(r))?h(r):(0,null)}):(0,(0,t.Gv)(r))?h(r):(0,(0,e.jU)(r))?r:(0,null)}function h(t){return Object.getOwnPropertyNames(t).reduce((r,n)=>{let a=t[n];return(0,e.jU)(a)&&(r[n]=a),r},{})}function f(e){return(0,t.Gv)(e)&&(0,t.i5)(e,"cause")&&(0,t.Gv)(e.cause)}}}).call(__webpack_require__._LM_("@metamask/rpc-errors",{__webpack_require__,__webpack_exports__}))()},144770(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(t,r,n=2){if(!r||typeof r!=="object"||n<=0)return r;if(t&&Object.keys(r).length===0)return t;let a={...t};for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(a[t]=e(a[t],r[t],n-1));return a}__webpack_require__.d(__webpack_exports__,{h:()=>e})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},147687(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Qw:()=>r,Wk:()=>a,hY:()=>n});var e=__webpack_require__(901889);let t;function r(r){if(t!==undefined)return t?t(r):r();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");let a=e.O;return n in a&&typeof a[n]=="function"?(t=a[n])(r):(t=null,r())}function n(){return r(()=>Math.random())}function a(){return r(()=>Date.now())}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},152198(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{XW:()=>t,xg:()=>r});var e=__webpack_require__(632356);function t(e){return new n(t=>{t(e)})}function r(e){return new n((t,r)=>{r(e)})}class n{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new n((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new n((t,r)=>{let n;let a;return this.then(t=>{a=!1,n=t,e&&e()},t=>{a=!0,n=t,e&&e()}).then(()=>{if(a){r(n);return}t(n)})})}_executeHandlers(){if(this._state===0)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{if(e[0])return;this._state===1&&e[1](this._value),this._state===2&&e[2](this._value),e[0]=!0})}_runExecutor(t){let r=(t,r)=>{if(this._state!==0)return;if((0,e.Qg)(r)){r.then(n,a);return}this._state=t,this._value=r,this._executeHandlers()};let n=e=>{r(1,e)};let a=e=>{r(2,e)};try{t(n,a)}catch(e){a(e)}}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},153836(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{NJ:()=>n,a3:()=>s,m7:()=>i});var e=__webpack_require__(352158);var t=__webpack_require__(396102);let r=__webpack_require__(901889).O;function n(){return"history"in r&&!!r.history}function a(){if(!("fetch"in r))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function i(){if(typeof EdgeRuntime=="string")return!0;if(!a())return!1;if(s(r.fetch))return!0;let n=!1;let i=r.document;if(i&&typeof i.createElement=="function")try{let e=i.createElement("iframe");e.hidden=!0,i.head.appendChild(e),e.contentWindow?.fetch&&(n=s(e.contentWindow.fetch)),i.head.removeChild(e)}catch(r){e.T&&t.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return n}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},169869(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>r,a:()=>t});var e=__webpack_require__(152198);let t=Symbol.for("SentryBufferFullError");function r(n=100){let a=new Set;function s(){return a.size<n}function i(e){a.delete(e)}return{get $(){return Array.from(a)},add:function(r){if(!s())return(0,e.xg)(t);let n=r();return a.add(n),n.then(()=>i(n),()=>i(n)),n},drain:function(t){if(!a.size)return(0,e.XW)(!0);let r=Promise.allSettled(Array.from(a)).then(()=>!0);return!t?r:(0,Promise.race([r,new Promise(e=>setTimeout(()=>e(!1),t))]))}}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},172900(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Vu:()=>a,fj:()=>r,qO:()=>n});var e=__webpack_require__(392316);var t=__webpack_require__(306981);function r(r){let a=(0,t.zf)();let i={sid:(0,e.eJ)(),init:!0,timestamp:a,started:a,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>s(i)};return r&&n(i,r),i}function n(r,a={}){if(a.user&&(!r.ipAddress&&a.user.ip_address&&(r.ipAddress=a.user.ip_address),!r.did&&!a.did&&(r.did=a.user.id||a.user.email||a.user.username)),r.timestamp=a.timestamp||(0,t.zf)(),a.abnormal_mechanism&&(r.abnormal_mechanism=a.abnormal_mechanism),a.ignoreDuration&&(r.ignoreDuration=a.ignoreDuration),a.sid&&(r.sid=a.sid.length===32?a.sid:(0,e.eJ)()),a.init!==undefined&&(r.init=a.init),!r.did&&a.did&&(r.did=`${a.did}`),typeof a.started=="number"&&(r.started=a.started),r.ignoreDuration)r.duration=undefined;else if(typeof a.duration=="number")r.duration=a.duration;else{let e=r.timestamp-r.started;r.duration=e>=0?e:0}a.release&&(r.release=a.release),a.environment&&(r.environment=a.environment),!r.ipAddress&&a.ipAddress&&(r.ipAddress=a.ipAddress),!r.userAgent&&a.userAgent&&(r.userAgent=a.userAgent),typeof a.errors=="number"&&(r.errors=a.errors),a.status&&(r.status=a.status)}function a(e,t){let r={};t?r={status:t}:e.status==="ok"&&(r={status:"exited"}),n(e,r)}function s(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:undefined,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},173368(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>l});var e=__webpack_require__(303065);var t=__webpack_require__(342741);var r=__webpack_require__(939543);var n=__webpack_require__(646093);var a=__webpack_require__(43701);var s=__webpack_require__(484945);var i=__webpack_require__(691576);var o=__webpack_require__(994398);class l extends e.K{constructor(e){let i=c(e);let l=o.jf.SENTRY_SDK_SOURCE||(0,s.e)();(0,r.K)(i,"browser",["browser"],l),i._metadata?.sdk&&(i._metadata.sdk.settings={infer_ip:i.sendDefaultPii?"auto":"never",...i._metadata.sdk.settings}),super(i);let{sendDefaultPii:u,sendClientReports:m,enableLogs:h,_experiments:f,enableMetrics:d}=this._options;let p=d??f?.enableMetrics??!0;o.jf.document&&(m||h||p)&&o.jf.document.addEventListener("visibilitychange",()=>{o.jf.document.visibilityState==="hidden"&&(m&&this._flushOutcomes(),h&&(0,n.lt)(this),p&&(0,a.NG)(this))}),u&&this.on("beforeSendSession",t.N)}eventFromException(e,t){return(0,i.u)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return(0,i.qv)(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,n)}}function c(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:o.jf.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},174638(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>s});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(760184);var n=__webpack_require__(879771);var a=__webpack_require__(676358);let s=(0,t.kp)(a.Tl,(0,e.Ik)({type:(0,n.eu)(a.Z6.Address),value:r.UG}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},175384(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>s});var e=__webpack_require__(123532);var t=__webpack_require__(577102);var r=__webpack_require__(563023);let n;let a=new WeakMap;let s=(0,t._C)(()=>{return{name:"FunctionToString",setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...t){let s=(0,r.sp)(this);let i=a.has((0,e.KU)())&&s!==undefined?s:this;return n.apply(i,t)}}catch{}},setup(e){a.set(e,!0)}}})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},178430(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";class e extends Error{constructor(t,{cause:r}={}){super(t),this.name=e.name,r&&(this.cause=r),this.message=t}}}}).call(__webpack_require__._LM_("@metamask/utils>pony-cause",{__webpack_exports__,__webpack_require__}))()},179687(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ts:()=>b});var e=__webpack_require__(295088);var t=__webpack_require__(577102);var r=__webpack_require__(175384);var n=__webpack_require__(848795);var a=__webpack_require__(960767);var s=__webpack_require__(902470);var i=__webpack_require__(6929);var o=__webpack_require__(173368);var l=__webpack_require__(2033);var c=__webpack_require__(361508);var u=__webpack_require__(889843);var m=__webpack_require__(404809);var h=__webpack_require__(841456);var f=__webpack_require__(805677);var d=__webpack_require__(855790);var p=__webpack_require__(956902);var g=__webpack_require__(972991);function y(e){return[(0,n.D)(),(0,r.Z)(),(0,s.H)(),(0,c.G)(),(0,l.F)(),(0,m.LO)(),(0,f.p)(),(0,a.s)(),(0,h.M)(),(0,u.p)()]}function b(r={}){let n=!r.skipBrowserExtensionCheck&&(0,g.E)();let a=r.defaultIntegrations==null?y():r.defaultIntegrations;let s={...r,enabled:n?!1:r.enabled,stackParser:(0,i.vk)(r.stackParser||d.lG),integrations:(0,t.mH)({integrations:r.integrations,defaultIntegrations:a}),transport:r.transport||p._};return(0,e.J)(o.y,s)}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},180121(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Xr:()=>s,_c:()=>a,gt:()=>n,xv:()=>r});var e=__webpack_require__(632356);var t=__webpack_require__(6929);function r(e,t=0){return typeof e!=="string"||t===0?e:(0,e.length<=t?e:`${e.slice(0,t)}...`)}function n(r,n){if(!Array.isArray(r))return"";let a=[];for(let n=0;n<r.length;n++){let s=r[n];try{(0,e.L2)(s)?a.push((0,t.nY)(s)):a.push(String(s))}catch{a.push("[value cannot be serialized]")}}return a.join(n)}function a(t,r,n=!1){return!(0,e.Kg)(t)?!1:(0,(0,e.gd)(r))?r.test(t):(0,(0,e.Kg)(r))?n?t===r:t.includes(r):(0,!1)}function s(e,t=[],r=!1){return t.some(t=>a(e,t,r))}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},186119(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_g:()=>s,j6:()=>n,s1:()=>a});var e=__webpack_require__(784225);var t=__webpack_require__(342672);var r=__webpack_require__(142282);let n=(0,e.YP)((0,t.YO)(r.FX),"Non-EIP-155 Matching Addresses Account ID List",e=>{let t=e.map(e=>(0,r.Dz)(e));return!t.every(({address:e,chain:{namespace:r}})=>e===t[0].address&&r===t[0].chain.namespace)?"All account IDs must have the same address and namespace.":(0,t.some(({chain:{namespace:e}})=>{return e===r.wV.Eip155}))?"All account IDs must have non-EIP-155 namespaces.":(0,!0)});let a=(0,e.YP)(r.dg,"Non-EIP-155 Chain ID",e=>{let{namespace:t}=(0,r.rW)(e);return t===r.wV.Eip155?"Chain ID must not be an EIP-155 chain ID.":(0,!0)});let s=(0,e.YP)(r.jx,"Non-EIP-155 Asset Type",e=>{let{chain:{namespace:t}}=(0,r.Ts)(e);return t===r.wV.Eip155?"Asset type must not be an EIP-155 asset type.":(0,!0)})}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},187474(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{x:()=>t});var e=__webpack_require__(632356);function t(e,n,a=()=>{},s=()=>{}){let i;try{i=e()}catch(e){throw n(e),a(),e}return r(i,n,a,s)}function r(t,r,n,a){return(0,e.Qg)(t)?t.then(e=>{return n(),a(e),e},e=>{throw r(e),n(),e}):(n(),a(t),t)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},188320(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>t});var e=__webpack_require__(818365);var t;var r;(r=t||(t={}))["Accessibility"]="accessibility",r["Activity"]="activity",r["AddCard"]="add-card",r["AddCircle"]="add-circle",r["AddSquare"]="add-square",r["Add"]="add",r["Ai"]="ai",r["AlternateEmail"]="alternate-email",r["Apple"]="apple",r["Apps"]="apps",r["Arrow2Down"]="arrow-2-down",r["Arrow2Left"]="arrow-2-left",r["Arrow2Right"]="arrow-2-right",r["Arrow2UpRight"]="arrow-2-up-right",r["Arrow2Up"]="arrow-2-up",r["ArrowCircleDown"]="arrow-circle-down",r["ArrowCircleUp"]="arrow-circle-up",r["ArrowDoubleLeft"]="arrow-double-left",r["ArrowDoubleRight"]="arrow-double-right",r["ArrowDown"]="arrow-down",r["ArrowDropDownCircle"]="arrow-drop-down-circle",r["ArrowLeft"]="arrow-left",r["ArrowRight"]="arrow-right",r["ArrowUp"]="arrow-up",r["Attachment"]="attachment",r["Ban"]="ban",r["BankAssured"]="bank-assured",r["Bank"]="bank",r["Bold"]="bold",r["Book"]="book",r["Bookmark"]="bookmark",r["Bridge"]="bridge",r["Briefcase"]="briefcase",r["Bulb"]="bulb",r["BuySell"]="buy-sell",r["Cake"]="cake",r["Calculator"]="calculator",r["Calendar"]="calendar",r["Call"]="call",r["Camera"]="camera",r["Campaign"]="campaign",r["CardPos"]="card-pos",r["Card"]="card",r["Cash"]="cash",r["Category"]="category",r["Chart"]="chart",r["CheckBold"]="check-bold",r["Check"]="check",r["CircleX"]="circle-x",r["ClockFilled"]="clock-filled",r["Clock"]="clock",r["Close"]="close",r["CloudDownload"]="cloud-download",r["CloudUpload"]="cloud-upload",r["Cloud"]="cloud",r["CodeCircle"]="code-circle",r["Code"]="code",r["Coin"]="coin",r["Collapse"]="collapse",r["Confirmation"]="confirmation",r["Connect"]="connect",r["CopySuccess"]="copy-success",r["Copy"]="copy",r["CreditCheck"]="credit-check",r["CurrencyFranc"]="currency-franc",r["CurrencyLira"]="currency-lira",r["CurrencyPound"]="currency-pound",r["CurrencyYuan"]="currency-yuan",r["Customize"]="customize",r["Danger"]="danger",r["DarkFilled"]="dark-filled",r["Dark"]="dark",r["Data"]="data",r["Description"]="description",r["Details"]="details",r["Diagram"]="diagram",r["DocumentCode"]="document-code",r["Download"]="download",r["Draft"]="draft",r["EcoLeaf"]="eco-leaf",r["EditSquare"]="edit-square",r["Edit"]="edit",r["EncryptedAdd"]="encrypted-add",r["Eraser"]="eraser",r["Error"]="error",r["Ethereum"]="ethereum",r["Exchange"]="exchange",r["ExpandVertical"]="expand-vertical",r["Expand"]="expand",r["ExploreFilled"]="explore-filled",r["Explore"]="explore",r["Export"]="export",r["Extension"]="extension",r["EyeSlash"]="eye-slash",r["Eye"]="eye",r["FaceId"]="face-id",r["Feedback"]="feedback",r["File"]="file",r["Filter"]="filter",r["Fingerprint"]="fingerprint",r["Fire"]="fire",r["FirstPage"]="first-page",r["Flag"]="flag",r["FlashSlash"]="flash-slash",r["Flash"]="flash",r["Flask"]="flask",r["Flower"]="flower",r["Folder"]="folder",r["Forest"]="forest",r["FullCircle"]="full-circle",r["Gas"]="gas",r["Gift"]="gift",r["GlobalSearch"]="global-search",r["Global"]="global",r["Graph"]="graph",r["Hardware"]="hardware",r["HashTag"]="hash-tag",r["HeartFilled"]="heart-filled",r["Heart"]="heart",r["Hierarchy"]="hierarchy",r["HomeFilled"]="home-filled",r["Home"]="home",r["Image"]="image",r["Info"]="info",r["Inventory"]="inventory",r["Joystick"]="joystick",r["KeepFilled"]="keep-filled",r["Keep"]="keep",r["Key"]="key",r["LastPage"]="last-page",r["LightFilled"]="light-filled",r["Light"]="light",r["Link"]="link",r["Loading"]="loading",r["Location"]="location",r["LockSlash"]="lock-slash",r["Lock"]="lock",r["LockedFilled"]="locked-filled",r["Login"]="login",r["Logout"]="logout",r["Mail"]="mail",r["Map"]="map",r["Menu"]="menu",r["MessageQuestion"]="message-question",r["Messages"]="messages",r["Mic"]="mic",r["MinusBold"]="minus-bold",r["MinusSquare"]="minus-square",r["Minus"]="minus",r["Mobile"]="mobile",r["MoneyBag"]="money-bag",r["Money"]="money",r["Monitor"]="monitor",r["MoreHorizontal"]="more-horizontal",r["MoreVertical"]="more-vertical",r["MountainFlag"]="mountain-flag",r["MusicNote"]="music-note",r["Notification"]="notification",r["PageInfo"]="page-info",r["Palette"]="palette",r["PasswordCheck"]="password-check",r["Pending"]="pending",r["People"]="people",r["PersonCancel"]="person-cancel",r["Pin"]="pin",r["Plant"]="plant",r["Plug"]="plug",r["PlusAndMinus"]="plus-and-minus",r["PolicyAlert"]="policy-alert",r["Print"]="print",r["PriorityHigh"]="priority-high",r["PrivacyTip"]="privacy-tip",r["ProgrammingArrows"]="programming-arrows",r["Publish"]="publish",r["QrCode"]="qr-code",r["Question"]="question",r["Receive"]="receive",r["Received"]="received",r["Refresh"]="refresh",r["RemoveMinus"]="remove-minus",r["Report"]="report",r["Rocket"]="rocket",r["SaveFilled"]="save-filled",r["Save"]="save",r["Saving"]="saving",r["ScanBarcode"]="scan-barcode",r["ScanFocus"]="scan-focus",r["Scan"]="scan",r["Search"]="search",r["SecurityAlert"]="security-alert",r["SecurityCross"]="security-cross",r["SecurityKey"]="security-key",r["SecuritySearch"]="security-search",r["SecuritySlash"]="security-slash",r["SecurityTick"]="security-tick",r["SecurityTime"]="security-time",r["SecurityUser"]="security-user",r["Security"]="security",r["Send"]="send",r["SentimentDissatisfied"]="sentiment-dissatisfied",r["SentimentNeutral"]="sentiment-neutral",r["SentimentSatisfied"]="sentiment-satisfied",r["SentimentVerySatisfied"]="sentiment-very-satisfied",r["SettingFilled"]="setting-filled",r["Setting"]="setting",r["Share"]="share",r["ShieldLock"]="shield-lock",r["ShoppingBag"]="shopping-bag",r["ShoppingCart"]="shopping-cart",r["SignalCellular"]="signal-cellular",r["Slash"]="slash",r["Sms"]="sms",r["SnapsMobile"]="snaps-mobile",r["SnapsPlus"]="snaps-plus",r["SnapsRound"]="snaps-round",r["Snaps"]="snaps",r["SortByAlpha"]="sort-by-alpha",r["Sort"]="sort",r["Sparkle"]="sparkle",r["Speed"]="speed",r["Speedometer"]="speedometer",r["Square"]="square",r["Stake"]="stake",r["StarFilled"]="star-filled",r["Star"]="star",r["Start"]="start",r["Storefront"]="storefront",r["Student"]="student",r["SwapHorizontal"]="swap-horizontal",r["SwapVertical"]="swap-vertical",r["TabClose"]="tab-close",r["TableRow"]="table-row",r["Tablet"]="tablet",r["Tag"]="tag",r["ThumbDownFilled"]="thumb-down-filled",r["ThumbDown"]="thumb-down",r["ThumbUpFilled"]="thumb-up-filled",r["ThumbUp"]="thumb-up",r["Tint"]="tint",r["Tooltip"]="tooltip",r["Translate"]="translate",r["Trash"]="trash",r["TrendDown"]="trend-down",r["TrendUp"]="trend-up",r["TriangleUp"]="triangle-up",r["TriangleDown"]="triangle-down",r["Undo"]="undo",r["Unfold"]="unfold",r["UnlockedFilled"]="unlocked-filled",r["Unpin"]="unpin",r["UploadFile"]="upload-file",r["Upload"]="upload",r["Usb"]="usb",r["UserCheck"]="user-check",r["UserCircleAdd"]="user-circle-add",r["UserCircleRemove"]="user-circle-remove",r["UserCircle"]="user-circle",r["User"]="user",r["VerifiedFilled"]="verified-filled",r["Verified"]="verified",r["Videocam"]="videocam",r["ViewColumn"]="view-column",r["ViewInAr"]="view-in-ar",r["VolumeOff"]="volume-off",r["VolumeUp"]="volume-up",r["WalletFilled"]="wallet-filled",r["Wallet"]="wallet",r["Warning"]="warning",r["WebTraffic"]="web-traffic",r["Widgets"]="widgets",r["WifiOff"]="wifi-off",r["Wifi"]="wifi",r["X"]="x",(0,e.K)("Icon")}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},189193(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{j:()=>a});var e=__webpack_require__(352158);var t=__webpack_require__(396102);var r=__webpack_require__(632356);var n=__webpack_require__(152198);function a(e,t,i,o=0){try{let a=s(t,i,e,o);return(0,r.Qg)(a)?a:(0,n.XW)(a)}catch(e){return(0,n.xg)(e)}}function s(n,a,i,o){let l=i[o];if(!n||!l)return n;let c=l({...n},a);return(e.T&&c===null&&t.Yz.log(`Event processor "${l.id||"?"}" dropped event`),(0,r.Qg)(c))?c.then(e=>s(e,a,i,o+1)):(0,s(c,a,i,o+1))}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},208554(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>u});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(174638);var n=__webpack_require__(861913);var a=__webpack_require__(955187);var s=__webpack_require__(879771);var i=__webpack_require__(676358);var o;var l;(l=o||(o={}))["Default"]="default",l["Critical"]="critical",l["Warning"]="warning";let c=(0,e.KC)([n.x,a.z,r.A]);let u=(0,t.kp)(i.Tl,(0,e.Ik)({type:(0,s.eu)(i.Z6.Row),variant:(0,e.lq)((0,e.KC)([(0,s.$9)(o.Default),(0,s.$9)(o.Critical),(0,s.$9)(o.Warning)])),label:(0,e.Yj)(),value:c}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},210164(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J5:()=>B,QE:()=>J,_E:()=>Q,a8:()=>Y,lA:()=>U,rB:()=>W});var e=__webpack_require__(512986);var t=__webpack_require__(122552);var r=__webpack_require__(774810);var n=__webpack_require__(750628);let a=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function s(...e){let t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function i(...e){return t=>e.reduce(([e,r,n],a)=>{let[s,i,o]=a(t,n);return[{...e,...s},i||r,o]},[{},null,1]).slice(0,2)}function o(e,...t){if(e==null)return[null,null];for(let[r,n]of t){let t=r.exec(e);if(t)return n(t)}return[null,null]}function l(...t){return(r,n)=>{let a={};let s;for(s=0;s<t.length;s++)a[t[s]]=(0,e.cG)(r[n+s]);return[a,null,n+s]}}let c=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/;let u=`(?:${c.source}?(?:\\[(${a.source})\\])?)?`;let m=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;let h=RegExp(`${m.source}${u}`);let f=RegExp(`(?:T${h.source})?`);let d=l("weekYear","weekNumber","weekDay");let p=l("year","ordinal");let g=RegExp(`${m.source} ?(?:${c.source}|(${a.source}))?`);let y=RegExp(`(?: ${g.source})?`);function b(t,r,n){let a=t[r];return(0,e.b0)(a)?n:(0,e.cG)(a)}function k(e,t){return[{year:b(e,t),month:b(e,t+1,1),day:b(e,t+2,1)},null,t+3]}function v(t,r){return[{hours:b(t,r,0),minutes:b(t,r+1,0),seconds:b(t,r+2,0),milliseconds:(0,e.m3)(t[r+3])},null,r+4]}function w(t,n){let a=!t[n]&&!t[n+1],s=(0,e.gu)(t[n+1],t[n+2]);return[{},a?null:r.A.instance(s),n+3]}function _(e,t){return[{},e[t]?n.A.create(e[t]):null,t+1]}let T=RegExp(`^T?${m.source}$`);let S=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function j(t){let[r,n,a,s,i,o,l,c,u]=t;let m=r[0]==="-";let h=c&&c[0]==="-";let f=(e,t=!1)=>e!==undefined&&(t||e&&m)?-e:e;return[{years:f((0,e.mp)(n)),months:f((0,e.mp)(a)),weeks:f((0,e.mp)(s)),days:f((0,e.mp)(i)),hours:f((0,e.mp)(o)),minutes:f((0,e.mp)(l)),seconds:f((0,e.mp)(c),c==="-0"),milliseconds:f((0,e.m3)(u),h)}]}let x={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function E(r,n,a,s,i,o,l){let c={year:n.length===2?(0,e.fT)((0,e.cG)(n)):(0,e.cG)(n),month:t.s$.indexOf(a)+1,day:(0,e.cG)(s),hour:(0,e.cG)(i),minute:(0,e.cG)(o)};return l&&(c.second=(0,e.cG)(l)),r&&(c.weekday=r.length>3?t.s7.indexOf(r)+1:t.Ci.indexOf(r)+1),c}let A=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function O(t){let[,n,a,s,i,o,l,c,u,m,h,f]=t,d=E(n,i,s,a,o,l,c);let p;return p=u?x[u]:m?0:(0,e.gu)(h,f),[d,new r.A(p)]}function L(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}let R=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,C=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,M=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function I(e){let[,t,n,a,s,i,o,l]=e;return[E(t,s,a,n,i,o,l),r.A.utcInstance]}function D(e){let[,t,n,a,s,i,o,l]=e;return[E(t,l,n,a,s,i,o),r.A.utcInstance]}let N=s(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,f);let q=s(/(\d{4})-?W(\d\d)(?:-?(\d))?/,f);let z=s(/(\d{4})-?(\d{3})/,f);let $=s(h);let P=i(k,v,w,_);let H=i(d,v,w,_);let F=i(p,v,w,_);let G=i(v,w,_);function U(e){return o(e,[N,P],[q,H],[z,F],[$,G])}function B(e){return o(L(e),[A,O])}function Y(e){return o(e,[R,I],[C,I],[M,D])}function W(e){return o(e,[S,j])}let V=i(v);function J(e){return o(e,[T,V])}let Z=s(/(\d{4})-(\d\d)-(\d\d)/,y);let K=s(g);let X=i(v,w,_);function Q(e){return o(e,[Z,P],[K,X])}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},232712(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>i});var e=__webpack_require__(835203);var t=__webpack_require__(750628);var r=__webpack_require__(774810);var n=__webpack_require__(948972);var a=__webpack_require__(512986);var s=__webpack_require__(597054);function i(i,o){if((0,a.b0)(i)||i===null)return o;if(i instanceof e.A)return i;if((0,a.Kg)(i)){let e=i.toLowerCase();return e==="default"?o:(0,e==="local"||e==="system")?s.A.instance:(0,e==="utc"||e==="gmt")?r.A.utcInstance:r.A.parseSpecifier(e)||t.A.create(i)}if((0,a.Et)(i))return r.A.instance(i);if(typeof i=="object"&&"offset"in i&&typeof i.offset=="function")return i;else return new n.A(i)}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},234512(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>t});var e=__webpack_require__(765698);let t=(t=!0)=>{let r=e.j.performance?.getEntriesByType?.("navigation")[0];if(!t||r&&r.responseStart>0&&r.responseStart<performance.now())return r}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},241361(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Fy:()=>t,_d:()=>r,eZ:()=>n,wb:()=>s});var e=__webpack_require__(531589);function t(t){let{caveats:r=null,invoker:n,target:a}=t;return{id:(0,e.Ak)(),parentCapability:a,invoker:n,caveats:r,date:new Date().getTime()}}function r(e,t){return e.caveats?.find(e=>e.type===t)}var n;var a;function s(e,t){return e.permissionType===t}(a=n||(n={}))["RestrictedMethod"]="RestrictedMethod",a["Endowment"]="Endowment"}}).call(__webpack_require__._LM_("@metamask/permission-controller",{__webpack_require__,__webpack_exports__}))()},244231(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return t(e)&&typeof e[Symbol.iterator]=="function"}function t(e){return typeof e=="object"&&e!==null}function r(e){return typeof e=="symbol"?e.toString():(0,typeof e=="string"?JSON.stringify(e):`${e}`)}function n(e){let{done:t,value:r}=e.next();return t?undefined:r}function a(e,t,n,a){if(e===!0)return undefined;e===!1?e={}:typeof e=="string"&&(e={message:e});let{path:s,branch:i}=t;let{type:o}=n;let{refinement:l,message:c=`Expected a value of type \`${o}\`${l?` with refinement \`${l}\``:""}, but received: \`${r(a)}\``}=e;return{value:a,type:o,refinement:l,key:s[s.length-1],path:s,branch:i,...e,message:c}}function*s(t,r,n,s){for(let i of(!e(t)&&(t=[t]),t)){let e=a(i,r,n,s);e&&(yield e)}}function*i(e,r,n={}){let{path:a=[],branch:s=[e],coerce:o=!1,mask:l=!1}=n;let c={path:a,branch:s};if(o){if(e=r.coercer(e,c),l&&r.type!=="type"&&t(r.schema)&&t(e)&&!Array.isArray(e))for(let t in e)r.schema[t]===undefined&&delete e[t]}let u="valid";for(let t of r.validator(e,c))t.explanation=n.message,u="not_valid",yield[t,undefined];for(let[m,h,f]of r.entries(e,c))for(let r of i(h,f,{path:m===undefined?a:[...a,m],branch:m===undefined?s:[...s,h],coerce:o,mask:l,message:n.message}))r[0]?(u=r[0].refinement===null||r[0].refinement===undefined?"not_valid":"not_refined",yield[r[0],undefined]):o&&(h=r[1],m===undefined?e=h:e instanceof Map?e.set(m,h):e instanceof Set?e.add(h):t(e)&&(h!==undefined||m in e)&&(e[m]=h));if(u!=="not_valid")for(let t of r.refiner(e,c))t.explanation=n.message,u="not_refined",yield[t,undefined];u==="valid"&&(yield[undefined,e])}__webpack_require__.d(__webpack_exports__,{Gv:()=>t,RF:()=>s,eF:()=>i,jT:()=>n,yy:()=>r})}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_exports__,__webpack_require__}))()},260516(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cj:()=>p,W3:()=>s,bN:()=>c,bm:()=>h,h4:()=>a,hP:()=>o,n2:()=>g,y5:()=>m,yH:()=>i,zk:()=>d});var e=__webpack_require__(943924);var t=__webpack_require__(381699);var r=__webpack_require__(590041);var n=__webpack_require__(901889);function a(e,t=[]){return[e,t]}function s(e,t){let[r,n]=e;return[r,[...n,t]]}function i(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function o(e,t){return i(e,(e,r)=>t.includes(r))}function l(t){let r=(0,e.Se)(n.O);return r.encodePolyfill?r.encodePolyfill(t):new TextEncoder().encode(t)}function c(e){let[t,n]=e;let a=JSON.stringify(t);function s(e){typeof a=="string"?a=typeof e=="string"?a+e:[l(a),e]:a.push(typeof e=="string"?l(e):e)}for(let e of n){let[t,n]=e;if(s(`
${JSON.stringify(t)}
`),typeof n=="string"||n instanceof Uint8Array)s(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify((0,r.S8)(n))}s(e)}}return typeof a=="string"?a:u(a)}function u(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0));let r=0;for(let n of e)t.set(n,r),r+=n.length;return t}function m(e){return[{type:"span"},e]}function h(e){let t=typeof e.data=="string"?l(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}let f={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function d(e){return f[e]}function p(e){if(!e?.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}function g(e,r,n,a){let s=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...r&&{sdk:r},...!!n&&a&&{dsn:(0,t.SB)(a)},...s&&{trace:s}}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},276435(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{F3:()=>t,N8:()=>a,TJ:()=>r,a3:()=>e});let e=0;let t=1;let r=2;function n(e){if(e<400&&e>=100)return{code:t};if(e>=400&&e<500)switch(e){case 401:return{code:r,message:"unauthenticated"};case 403:return{code:r,message:"permission_denied"};case 404:return{code:r,message:"not_found"};case 409:return{code:r,message:"already_exists"};case 413:return{code:r,message:"failed_precondition"};case 429:return{code:r,message:"resource_exhausted"};case 499:return{code:r,message:"cancelled"};default:return{code:r,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:r,message:"unimplemented"};case 503:return{code:r,message:"unavailable"};case 504:return{code:r,message:"deadline_exceeded"};default:return{code:r,message:"internal_error"}}return{code:r,message:"internal_error"}}function a(e,t){e.setAttribute("http.response.status_code",t);let r=n(t);r.message!=="unknown_error"&&e.setStatus(r)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},294970(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>s});var e=__webpack_require__(901889);let t;let r;let n;let a;function s(s){let i=e.O._sentryDebugIds;let o=e.O._debugIds;if(!i&&!o)return{};let l=i?Object.keys(i):[];let c=o?Object.keys(o):[];if(a&&l.length===r&&c.length===n)return a;r=l.length,n=c.length,a={},!t&&(t={});let u=(e,r)=>{for(let n of e){let e=r[n];let i=t?.[n];if(i&&a&&e)a[i[0]]=e,t&&(t[n]=[i[0],e]);else if(e){let r=s(n);for(let s=r.length-1;s>=0;s--){let i=r[s];let o=i?.filename;if(o&&a&&t){a[o]=e,t[n]=[o,e];break}}}}};return i&&u(l,i),o&&u(c,o),a}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},295088(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>n});var e=__webpack_require__(123532);var t=__webpack_require__(352158);var r=__webpack_require__(396102);function n(n,s){s.debug===!0&&(t.T?r.Yz.enable():(0,r.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,e.o5)().update(s.initialScope);let i=new n(s);return a(i),i.init(),i}function a(t){(0,e.o5)().setClient(t)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},298556(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){let t=e.protocol?`${e.protocol}:`:"";let r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function t(t){return`${e(t)}${t.projectId}/envelope/`}function r(e,t){let r={sentry_version:"7"};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}function n(e,n,a){return n||`${t(e)}?${r(e,a)}`}__webpack_require__.d(__webpack_exports__,{Z:()=>n})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},301170(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>r});var e=__webpack_require__(485791);var t=__webpack_require__(112471);let r=function(r,n,a){var s=(r=r||{}).random||(r.rng||e.A)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,n){a=a||0;for(var i=0;i<16;++i)n[a+i]=s[i];return n}return(0,t.A)(s)}}}).call(__webpack_require__._LM_("uuid",{__webpack_require__,__webpack_exports__}))()},303065(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>N});var e=__webpack_require__(298556);var t=__webpack_require__(15797);var r=__webpack_require__(123532);var n=__webpack_require__(352158);var a=__webpack_require__(713966);var s=__webpack_require__(577102);var i=__webpack_require__(646093);var o=__webpack_require__(43701);var l=__webpack_require__(172900);var c=__webpack_require__(98154);var u=__webpack_require__(513234);var m=__webpack_require__(837113);var h=__webpack_require__(396102);var f=__webpack_require__(381699);var d=__webpack_require__(260516);var p=__webpack_require__(114765);var g=__webpack_require__(632356);var y=__webpack_require__(144770);var b=__webpack_require__(392316);var k=__webpack_require__(865961);var v=__webpack_require__(612717);var w=__webpack_require__(169869);var _=__webpack_require__(147687);var T=__webpack_require__(504855);var S=__webpack_require__(682631);var j=__webpack_require__(152198);var x=__webpack_require__(357180);let E="Not capturing exception because it's already been captured.";let A="Discarded session because of missing or non-string release";let O=Symbol.for("SentryInternalError");let L=Symbol.for("SentryDoNotSendEventError");function R(e){return{message:e,[O]:!0}}function C(e){return{message:e,[L]:!0}}function M(e){return!!e&&typeof e=="object"&&O in e}function I(e){return!!e&&typeof e=="object"&&L in e}function D(e,t,r,n,a){let s=0;let i;let o=!1;e.on(r,()=>{s=0,clearTimeout(i),o=!1}),e.on(t,t=>{(s+=n(t))>=8e5?a(e):!o&&(o=!0,i=setTimeout(()=>{a(e)},5e3))}),e.on("flush",()=>{a(e)})}class N{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=(0,w.C)(t.transportOptions?.bufferSize??u.$),t.dsn?this._dsn=(0,f.AD)(t.dsn):n.T&&h.Yz.warn("No DSN provided, client will not send events."),this._dsn){let r=(0,e.Z)(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:undefined);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:r})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&D(this,"afterCaptureLog","flushLogs",G,i.lt),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&D(this,"afterCaptureMetric","flushMetrics",F,o.NG)}captureException(e,t,r){let a=(0,b.eJ)();if((0,b.GR)(e))return n.T&&h.Yz.log(E),a;let s={event_id:a,...t};return this._process(()=>this.eventFromException(e,s).then(e=>this._captureEvent(e,s,r)).then(e=>e),"error"),s.event_id}captureMessage(e,t,r,n){let a={event_id:(0,b.eJ)(),...r};let s=(0,g.NF)(e)?e:String(e);let i=(0,g.sO)(e);let o=i?this.eventFromMessage(s,t,a):this.eventFromException(e,a);return this._process(()=>o.then(e=>this._captureEvent(e,a,n)),i?"unknown":"error"),a.event_id}captureEvent(e,t,r){let a=(0,b.eJ)();if(t?.originalException&&(0,b.GR)(t.originalException))return n.T&&h.Yz.log(E),a;let s={event_id:a,...t};let i=e.sdkProcessingMetadata||{};let o=i.capturedSpanScope;let l=i.capturedSpanIsolationScope;let c=q(e.type);return this._process(()=>this._captureEvent(e,s,o||r,l),c),s.event_id}captureSession(e){this.sendSession(e),(0,l.qO)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(!t)return!0;this.emit("flush");let r=await this._isClientDoneProcessing(e);let n=await t.flush(e);return r&&n}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];(0,s.qm)(this,e,this._integrations),!t&&(0,s.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=(0,a.V7)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=(0,d.W3)(r,(0,d.bm)(e));this.sendEnvelope(r).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:r,environment:s=t.U}=this._options;if("aggregates"in e){let t=e.attrs||{};if(!t.release&&!r){n.T&&h.Yz.warn(A);return}t.release=t.release||r,t.environment=t.environment||s,e.attrs=t}else{if(!e.release&&!r){n.T&&h.Yz.warn(A);return}e.release=e.release||r,e.environment=e.environment||s}this.emit("beforeSendSession",e);let i=(0,a.LE)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(i)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){let a=`${e}:${t}`;n.T&&h.Yz.log(`Recording outcome: "${a}"${r>1?` (${r} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+r}}on(e,t){let r=this._hooks[e]=this._hooks[e]||new Set;let n=(...e)=>t(...e);return r.add(n),()=>{r.delete(n)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return n.T&&h.Yz.error("Error while sending envelope:",e),{}}return n.T&&h.Yz.error("Transport disabled"),{}}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=(0,s.P$)(this,e),(0,s.lc)(this,e)}_updateSessionFromEvent(e,t){let r=t.level==="fatal";let n=!1;let a=t.exception?.values;if(a){for(let e of(n=!0,r=!1,a))if(e.mechanism?.handled===!1){r=!0;break}}let s=e.status==="ok";(s&&e.errors===0||s&&r)&&((0,l.qO)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;while(!e||t<e){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==undefined}_prepareEvent(e,t,n,a){let s=this.getOptions();let i=Object.keys(this._integrations);return!t.integrations&&i?.length&&(t.integrations=i),this.emit("preprocessEvent",e,t),!e.type&&a.setLastEventId(e.event_id||t.event_id),(0,v.mG)(s,e,t,n,this,a).then(e=>{return e===null||(this.emit("postprocessEvent",e,t),e.contexts={trace:(0,r.vn)(n),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,c.ao)(this,n),...e.sdkProcessingMetadata}),e})}_captureEvent(e,t={},a=(0,r.o5)(),s=(0,r.rm)()){return n.T&&P(e)&&h.Yz.log(`Captured error event \`${(0,p.G)(e)[0]||"<unknown>"}\``),this._processEvent(e,t,a,s).then(e=>{return e.event_id},e=>{return n.T&&(I(e)?h.Yz.log(e.message):M(e)?h.Yz.warn(e.message):h.Yz.warn(e)),undefined})}_processEvent(e,t,r,n){let a=this.getOptions();let{sampleRate:s}=a;let i=H(e);let o=P(e);let l=e.type||"error";let c=`before send for type \`${l}\``;let u=s===void 0?undefined:(0,k.i)(s);if(o&&typeof u=="number"&&(0,_.hY)()>u)return this.recordDroppedEvent("sample_rate","error"),(0,j.xg)(C(`Discarding event because it's not included in the random sample (sampling rate = ${s})`));let m=q(e.type);return this._prepareEvent(e,t,r,n).then(e=>{if(e===null)throw this.recordDroppedEvent("event_processor",m),C("An event processor returned `null`, will not send event.");return t.data&&t.data.__sentry__===!0?e:(0,z($(this,a,e,t),c))}).then(a=>{if(a===null){if(this.recordDroppedEvent("before_send",m),i){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw C(`${c} returned \`null\`, will not send event.`)}let s=r.getSession()||n.getSession();if(o&&s&&this._updateSessionFromEvent(s,a),i){let e=(a.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(a.spans?a.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=a.transaction_info;return i&&l&&a.transaction!==e.transaction&&(a.transaction_info={...l,source:"custom"}),this.sendEvent(a,t),a}).then(null,e=>{if(I(e)||M(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),R(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>{return this._numProcessing--,e},e=>{return this._numProcessing--,e===w.a&&this.recordDroppedEvent("queue_overflow",t),e})}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){n.T&&h.Yz.log("Flushing outcomes...");let e=this._clearOutcomes();if(e.length===0){n.T&&h.Yz.log("No outcomes to send");return}if(!this._dsn){n.T&&h.Yz.log("No dsn provided, will not send outcomes");return}n.T&&h.Yz.log("Sending outcomes:",e);let t=(0,m.m)(e,this._options.tunnel&&(0,f.SB)(this._dsn));this.sendEnvelope(t)}}function q(e){return e==="replay_event"?"replay":e||"error"}function z(e,t){let r=`${t} must return \`null\` or a valid event.`;if((0,g.Qg)(e))return e.then(e=>{if(!(0,g.Qd)(e)&&e!==null)throw R(r);return e},e=>{throw R(`${t} rejected with ${e}`)});if(!(0,g.Qd)(e)&&e!==null)throw R(r);return e}function $(e,t,r,n){let{beforeSend:a,beforeSendTransaction:s,beforeSendSpan:i,ignoreSpans:o}=t;let l=r;if(P(l)&&a)return a(l,n);if(H(l)){if(i||o){let t=(0,x.R)(l);if(o?.length&&(0,T.e)(t,o))return null;if(i){let e=i(t);e?l=(0,y.h)(r,(0,x.L)(e)):(0,S.xl)()}if(l.spans){let t=[];let r=l.spans;for(let e of r){if(o?.length&&(0,T.e)(e,o)){(0,T.R)(r,e);continue}if(i){let r=i(e);r?t.push(r):((0,S.xl)(),t.push(e))}else t.push(e)}let n=l.spans.length-t.length;n&&e.recordDroppedEvent("before_send","span",n),l.spans=t}}if(s){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return s(l,n)}}return l}function P(e){return e.type===undefined}function H(e){return e.type==="transaction"}function F(e){let t=0;return e.name&&(t+=e.name.length*2),(t+=8)+U(e.attributes)}function G(e){let t=0;return e.message&&(t+=e.message.length*2),t+U(e.attributes)}function U(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*B(e[0]):(0,g.sO)(e)?t+=B(e):t+=100}),t}function B(e){return typeof e=="string"?e.length*2:(0,typeof e=="number")?8:(0,typeof e=="boolean")?4:(0,0)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},306981(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{k3:()=>l,lu:()=>r,zf:()=>s});var e=__webpack_require__(147687);var t=__webpack_require__(901889);function r(){return(0,e.Wk)()/1e3}function n(){let{performance:n}=t.O;if(!n?.now||!n.timeOrigin)return r;let a=n.timeOrigin;return()=>{return(a+(0,e.Qw)(()=>n.now()))/1e3}}let a;function s(){return(a??(a=n()))()}let i=null;function o(){let{performance:r}=t.O;if(!r?.now)return undefined;let n=(0,e.Qw)(()=>r.now());let a=(0,e.Wk)();let s=r.timeOrigin;if(typeof s=="number"){if(Math.abs(s+n-a)<3e5)return s}let i=r.timing?.navigationStart;if(typeof i=="number"){if(Math.abs(i+n-a)<3e5)return i}return a-n}function l(){return i===null&&(i=o()),i}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},307059(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{LS:()=>o,OJ:()=>n,bL:()=>i});var e=__webpack_require__(356583);var t=__webpack_require__(244231);let r=Symbol.for("superstruct.sensitive");function n(e){return Object.prototype.hasOwnProperty.call(e,r)}function a(e,t){let r={...e};for(let e of t)e in r&&(r[e]="***");return r}function s(t){function*r(e){for(let r of e)yield{...r,value:"***",message:`Expected a value of type \`${t.type}\`${r.refinement?` with refinement \`${r.refinement}\``:""}, but received: \`${"***"}\``,branch:new Array(r.branch.length).fill("***")}}return new e._k({...t,validator(e,n){return r(t.validator(e,n))},refiner(e,n){return r(t.refiner(e,n))},*entries(e,r){for(let[n,a,i]of t.entries(e,r))yield[n,a,s(i)]}})}function i(r,n,s){function*o(e){for(let r of e){if(!(0,t.Gv)(n)){yield r;continue}let e=r.branch.indexOf(n);if(e===-1){yield r;continue}let i=[...r.branch];i[e]=a(n,s);for(let n=e-1;n>=0;n--){let e=i[n];if(!(0,t.Gv)(e))break;let a=r.branch[n+1];let s=i[n+1];if(Array.isArray(e)){let t=e.indexOf(a);if(t===-1)break;let r=[...e];r[t]=s,i[n]=r}else if(e instanceof Map){let t=!1;let r;for(let[n,s]of e)if(s===a){r=n,t=!0;break}if(!t)break;let o=new Map(e);o.set(r,s),i[n]=o}else{let t=Object.keys(e).find(t=>e[t]===a);if(t===undefined)break;i[n]={...e,[t]:s}}}yield{...r,branch:i}}}return new e._k({...r,validator(e,t){return o(r.validator(e,t))},refiner(e,t){return o(r.refiner(e,t))},*entries(e,t){for(let a of r.entries(e,t)){let[e,t,r]=a;yield[e,t,i(r,n,s)]}}})}function o(e){let t=s(e);return Object.defineProperty(t,r,{value:!0,enumerable:!0,configurable:!0,writable:!1}),t}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},314408(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>a});var e=__webpack_require__(765698);var t=__webpack_require__(621827);var r=__webpack_require__(51450);var n=__webpack_require__(234512);let a=(a,s=-1)=>{let i=(0,n.z)();let o="navigate";return(i&&(e.j.document?.prerendering||(0,r.b)()>0?o="prerender":e.j.document?.wasDiscarded?o="restore":i.type&&(o=i.type.replace(/_/g,"-")))),{name:a,value:s,rating:"good",delta:0,entries:[],id:(0,t.W)(),navigationType:o}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},317588(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>c});var e=__webpack_require__(835060);var t=__webpack_require__(600473);var r=__webpack_require__(603476);var n=__webpack_require__(695358);var a=__webpack_require__(14631);var s=__webpack_require__(868766);var i=__webpack_require__(891728);let o="Invalid Interval";function l(e,t){return!e||!e.isValid?c.invalid("missing or invalid start"):(0,!t||!t.isValid)?c.invalid("missing or invalid end"):(0,t<e)?c.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):(0,null)}class c{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new n.Di("need to specify a reason the Interval is invalid");let s=e instanceof a.A?e:new a.A(e,t);if(!r.A.throwOnInvalid)return new c({invalid:s});throw new n.hq(s)}static fromDateTimes(t,r){let n=(0,e.R)(t),a=(0,e.R)(r);let s=l(n,a);return s==null?new c({start:n,end:a}):(0,s)}static after(r,n){let a=t.Ay.fromDurationLike(n),s=(0,e.R)(r);return c.fromDateTimes(s,s.plus(a))}static before(r,n){let a=t.Ay.fromDurationLike(n),s=(0,e.R)(r);return c.fromDateTimes(s.minus(a),s)}static fromISO(r,n){let[a,s]=(r||"").split("/",2);if(a&&s){let r,i;try{i=(r=e.A.fromISO(a,n)).isValid}catch(e){i=!1}let o,l;try{l=(o=e.A.fromISO(s,n)).isValid}catch(e){l=!1}if(i&&l)return c.fromDateTimes(r,o);if(i){let e=t.Ay.fromISO(s,n);if(e.isValid)return c.after(r,e)}else if(l){let e=t.Ay.fromISO(a,n);if(e.isValid)return c.before(o,e)}}return c.invalid("unparsable",`the input "${r}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(...[e]).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;let r=this.start.startOf(e,t);let n;return Math.floor((n=(n=t?.useLocaleWeeks?this.end.reconfigure({locale:r.locale}):this.end).startOf(e,t)).diff(r,e).get(e))+(n.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!this.isValid?!1:(0,this.s>e)}isBefore(e){return!this.isValid?!1:(0,this.e<=e)}contains(e){return!this.isValid?!1:(0,this.s<=e&&this.e>e)}set({start:e,end:t}={}){return!this.isValid?this:(0,c.fromDateTimes(e||this.s,t||this.e))}splitAt(...t){if(!this.isValid)return[];let r=t.map(e.R).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),n=[];let{s:a}=this,s=0;while(a<this.e){let e=r[s]||this.e,t=+e>+this.e?this.e:e;n.push(c.fromDateTimes(a,t)),a=t,s+=1}return n}splitBy(e){let r=t.Ay.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,a=1,s;let i=[];while(n<this.e){let e=this.start.plus(r.mapUnits(e=>e*a));s=+e>+this.e?this.e:e,i.push(c.fromDateTimes(n,s)),n=s,a+=1}return i}divideEqually(e){return!this.isValid?[]:(0,this.splitBy(this.length()/e).slice(0,e))}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!this.isValid?!1:(0,+this.e==+e.s)}abutsEnd(e){return!this.isValid?!1:(0,+e.e==+this.s)}engulfs(e){return!this.isValid?!1:(0,this.s<=e.s&&this.e>=e.e)}equals(e){return!this.isValid||!e.isValid?!1:(0,this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;let t=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return t>=r?null:(0,c.fromDateTimes(t,r))}union(e){if(!this.isValid)return this;let t=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return c.fromDateTimes(t,r)}static merge(e){let[t,r]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],r)=>{return!t?[e,r]:(0,t.overlaps(r)||t.abutsStart(r))?[e,t.union(r)]:[e.concat([t]),r]},[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0;let n=[],a=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]);for(let e of Array.prototype.concat(...a).sort((e,t)=>e.time-t.time))(r+=e.type==="s"?1:-1)===1?t=e.time:(t&&+t!==+e.time&&n.push(c.fromDateTimes(t,e.time)),t=null);return c.merge(n)}difference(...e){return c.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return!this.isValid?o:(0,`[${this.s.toISO()} – ${this.e.toISO()})`)}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:(0,`Interval { Invalid, reason: ${this.invalidReason} }`)}toLocaleString(e=i.aY,t={}){return this.isValid?s.A.create(this.s.loc.clone(t),e).formatInterval(this):o}toISO(e){return!this.isValid?o:(0,`${this.s.toISO(e)}/${this.e.toISO(e)}`)}toISODate(){return!this.isValid?o:(0,`${this.s.toISODate()}/${this.e.toISODate()}`)}toISOTime(e){return!this.isValid?o:(0,`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`)}toFormat(e,{separator:t=" – "}={}){return!this.isValid?o:(0,`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`)}toDuration(e,r){return!this.isValid?t.Ay.invalid(this.invalidReason):(0,this.e.diff(this.s,e,r))}mapEndpoints(e){return c.fromDateTimes(e(this.s),e(this.e))}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},335562(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>i});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);var a;var s;(s=a||(a={}))["Text"]="text",s["Number"]="number",s["Password"]="password";let i=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Input),value:(0,e.lq)((0,e.Yj)()),name:(0,e.Yj)(),inputType:(0,e.lq)((0,e.KC)([(0,r.$9)(a.Text),(0,r.$9)(a.Password),(0,r.$9)(a.Number)])),placeholder:(0,e.lq)((0,e.Yj)()),label:(0,e.lq)((0,e.Yj)()),error:(0,e.lq)((0,e.Yj)())}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},339535(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>e});class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0];let r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},342672(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E$:()=>m,Ik:()=>g,KC:()=>T,L5:()=>S,NW:()=>_,PV:()=>w,Pc:()=>c,YO:()=>i,Yj:()=>v,ai:()=>p,bz:()=>s,eu:()=>h,g1:()=>k,lq:()=>y,me:()=>d,nd:()=>u,vP:()=>l,yq:()=>b,zM:()=>o});var e=__webpack_require__(356583);var t=__webpack_require__(244231);var r=__webpack_require__(307059);var n=__webpack_require__(142827);function a(t,n){let a=Object.keys(n).filter(e=>n[e]!==undefined&&(0,r.OJ)(n[e]));return a.length===0?t:(0,new e._k({...t,*entries(e,n){let s=n.branch[n.branch.length-1]??e;for(let i of t.entries(e,n)){let[e,t,n]=i;yield[e,t,(0,r.bL)(n,s,a)]}}}))}function s(){return(0,n.E8)("any",()=>!0)}function i(r){return new e._k({type:"array",schema:r,*entries(e){if(r&&Array.isArray(e))for(let[t,n]of e.entries())yield[t,n,r]},coercer(e){return Array.isArray(e)?e.slice():e},validator(e){return Array.isArray(e)||`Expected an array value, but received: ${(0,t.yy)(e)}`}})}function o(){return(0,n.E8)("boolean",e=>{return typeof e=="boolean"})}function l(r){let n={};let a=r.map(e=>(0,t.yy)(e)).join();for(let e of r)n[e]=e;return new e._k({type:"enums",schema:n,validator(e){return r.includes(e)||`Expected one of \`${a}\`, but received: ${(0,t.yy)(e)}`}})}function c(){return(0,n.E8)("func",e=>{return typeof e=="function"||`Expected a function, but received: ${(0,t.yy)(e)}`})}function u(){return(0,n.E8)("integer",e=>{return typeof e=="number"&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${(0,t.yy)(e)}`})}function m(t){return new e._k({type:"intersection",schema:null,*entries(e,r){for(let{entries:n}of t)yield*n(e,r)},*validator(e,r){for(let{validator:n}of t)yield*n(e,r)},*refiner(e,r){for(let{refiner:n}of t)yield*n(e,r)}})}function h(r){let n=(0,t.yy)(r);let a=typeof r;return new e._k({type:"literal",schema:a==="string"||a==="number"||a==="boolean"?r:null,validator(e){return e===r||`Expected the literal \`${n}\`, but received: ${(0,t.yy)(e)}`}})}function f(){return(0,n.E8)("never",()=>!1)}function d(t){return new e._k({...t,validator:(e,r)=>e===null||t.validator(e,r),refiner:(e,r)=>e===null||t.refiner(e,r)})}function p(){return(0,n.E8)("number",e=>{return typeof e=="number"&&!isNaN(e)||`Expected a number, but received: ${(0,t.yy)(e)}`})}function g(r){let n=r?Object.keys(r):[];let s=f();let i=new e._k({type:"object",schema:r??null,*entries(a){if(r&&(0,t.Gv)(a)){let t=new Set(Object.keys(a));for(let s of n){t.delete(s);let n=r[s];if(e.P$.isExactOptional(n)&&!Object.prototype.hasOwnProperty.call(a,s))continue;yield[s,a[s],r[s]]}for(let e of t)yield[e,a[e],s]}},validator(e){return(0,t.Gv)(e)||`Expected an object, but received: ${(0,t.yy)(e)}`},coercer(e){return(0,t.Gv)(e)?{...e}:e}});return!r?i:(0,a(i,r))}function y(t){return new e._k({...t,validator:(e,r)=>e===undefined||t.validator(e,r),refiner:(e,r)=>e===undefined||t.refiner(e,r)})}function b(t){return new e.P$(t)}function k(r,n){return new e._k({type:"record",schema:null,*entries(e){if((0,t.Gv)(e))for(let t in e){let a=e[t];yield[t,t,r],yield[t,a,n]}},validator(e){return(0,t.Gv)(e)||`Expected an object, but received: ${(0,t.yy)(e)}`}})}function v(){return(0,n.E8)("string",e=>{return typeof e=="string"||`Expected a string, but received: ${(0,t.yy)(e)}`})}function w(r){let n=f();return new e._k({type:"tuple",schema:null,*entries(e){if(Array.isArray(e)){let t=Math.max(r.length,e.length);for(let a=0;a<t;a++)yield[a,e[a],r[a]||n]}},validator(e){return Array.isArray(e)||`Expected an array, but received: ${(0,t.yy)(e)}`}})}function _(r){let n=Object.keys(r);return a(new e._k({type:"type",schema:r,*entries(a){if((0,t.Gv)(a))for(let t of n){if(e.P$.isExactOptional(r[t])&&!Object.prototype.hasOwnProperty.call(a,t))continue;yield[t,a[t],r[t]]}},validator(e){return(0,t.Gv)(e)||`Expected an object, but received: ${(0,t.yy)(e)}`},coercer(e){return(0,t.Gv)(e)?{...e}:e}}),r)}function T(r){let n=r.map(e=>e.type).join(" | ");return new e._k({type:"union",schema:null,coercer(e){for(let t of r){let[r,n]=t.validate(e,{coerce:!0});if(!r)return n}return e},validator(e,a){let s=[];for(let n of r){let[...r]=(0,t.eF)(e,n,a);let[i]=r;if(!i?.[0])return[];for(let[e]of r)e&&s.push(e)}return[`Expected the value to satisfy a union of \`${n}\`, but received: ${(0,t.yy)(e)}`,...s]}})}function S(){return(0,n.E8)("unknown",()=>!0)}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},342741(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){"aggregates"in e?e.attrs?.["ip_address"]===undefined&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===undefined&&(e.ipAddress="{{auto}}")}__webpack_require__.d(__webpack_exports__,{N:()=>e})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},352158(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{T:()=>e});let e=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},355608(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{au:()=>t});var e=__webpack_require__(356583);function t(t,r,n){return new e._k({...t,coercer:(a,s)=>{return(0,e.is)(a,r)?t.coercer(n(a,s),s):t.coercer(a,s)}})}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},356583(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P$:()=>a,_k:()=>r,dK:()=>o,is:()=>l,tf:()=>c,vA:()=>s,vt:()=>i});var e=__webpack_require__(449070);var t=__webpack_require__(244231);class r{constructor(e){let{type:r,schema:n,validator:a,refiner:s,coercer:i=e=>e,entries:o=function*(){}}=e;for(let l of(this.type=r,this.schema=n,this.entries=o,this.coercer=i,a?this.validator=(e,r)=>{let n=a(e,r);return(0,t.RF)(n,r,this,e)}:this.validator=()=>[],s?this.refiner=(e,r)=>{let n=s(e,r);return(0,t.RF)(n,r,this,e)}:this.refiner=()=>[],Object.getOwnPropertySymbols(e)))Object.defineProperty(this,l,Object.getOwnPropertyDescriptor(e,l))}assert(e,t){return s(e,this,t)}create(e,t){return i(e,this,t)}is(e){return l(e,this)}mask(e,t){return o(e,this,t)}validate(e,t={}){return c(e,this,t)}}let n="EXACT_OPTIONAL";class a extends r{constructor(e){super({...e,type:`exact optional ${e.type}`}),this.brand=n}static isExactOptional(e){return(0,t.Gv)(e)&&"brand"in e&&e.brand===n}}function s(e,t,r){let n=c(e,t,{message:r});if(n[0])throw n[0]}function i(e,t,r){let n=c(e,t,{coerce:!0,message:r});if(!n[0])return n[1];throw n[0]}function o(e,t,r){let n=c(e,t,{coerce:!0,mask:!0,message:r});if(!n[0])return n[1];throw n[0]}function l(e,t){return!c(e,t)[0]}function c(r,n,a={}){let s=(0,t.eF)(r,n,a);let i=(0,t.jT)(s);return i[0]?[new e.C(i[0],function*(){for(let e of s)e[0]&&(yield e[0])}),undefined]:(0,[undefined,i[1]])}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},357180(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{L:()=>r,R:()=>t});var e=__webpack_require__(78463);function t(t){let{trace_id:r,parent_span_id:n,span_id:a,status:s,origin:i,data:o,op:l}=t.contexts?.trace??{};return{data:o??{},description:t.transaction,op:l,parent_span_id:n,span_id:a??"",start_timestamp:t.start_timestamp??0,status:s,timestamp:t.timestamp,trace_id:r??"",origin:i,profile_id:o?.[e.E1],exclusive_time:o?.[e.jG],measurements:t.measurements,is_segment:!0}}function r(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:{...t.data,...t.profile_id&&{[e.E1]:t.profile_id},...t.exclusive_time&&{[e.jG]:t.exclusive_time}}}},measurements:t.measurements}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},358496(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>n});var e=__webpack_require__(123532);var t=__webpack_require__(98154);var r=__webpack_require__(682631);function n(n,a){return!a?[undefined,undefined]:(0,(0,e.v4)(a,()=>{let s=(0,r.Bk)();let i=s?(0,r.kX)(s):(0,e.vn)(a);return[s?(0,t.k1)(s):(0,t.ao)(n,a),i]}))}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},361508(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>s});var e=__webpack_require__(577102);var t=__webpack_require__(563023);var r=__webpack_require__(6929);var n=__webpack_require__(994398);let a=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];let s=(0,e._C)((e={})=>{let r={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){r.setTimeout&&(0,t.GS)(n.jf,"setTimeout",i),r.setInterval&&(0,t.GS)(n.jf,"setInterval",i),r.requestAnimationFrame&&(0,t.GS)(n.jf,"requestAnimationFrame",o),r.XMLHttpRequest&&"XMLHttpRequest"in n.jf&&(0,t.GS)(XMLHttpRequest.prototype,"send",l);let e=r.eventTarget;e&&(Array.isArray(e)?e:a).forEach(e=>c(e,r))}}});function i(e){return function(...t){let a=t[0];return t[0]=(0,n.LV)(a,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,r.qQ)(e)}`}}),e.apply(this,t)}}function o(e){return function(t){return e.apply(this,[(0,n.LV)(t,{mechanism:{data:{handler:(0,r.qQ)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function l(e){return function(...a){let s=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in s&&typeof s[e]=="function"&&(0,t.GS)(s,e,function(a){let s={mechanism:{data:{handler:(0,r.qQ)(a)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}};let i=(0,t.sp)(a);return i&&(s.mechanism.data.handler=(0,r.qQ)(i)),(0,n.LV)(a,s)})}),e.apply(this,a)}}function c(e,a){let s=n.jf;let i=s[e]?.prototype;if(!i?.hasOwnProperty?.("addEventListener"))return;(0,t.GS)(i,"addEventListener",function(t){return function(s,i,o){try{u(i)&&(i.handleEvent=(0,n.LV)(i.handleEvent,{mechanism:{data:{handler:(0,r.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return a.unregisterOriginalCallbacks&&m(this,s,i),t.apply(this,[s,(0,n.LV)(i,{mechanism:{data:{handler:(0,r.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),o])}}),(0,t.GS)(i,"removeEventListener",function(e){return function(t,r,n){try{let a=r.__sentry_wrapped__;a&&e.call(this,t,a,n)}catch{}return e.call(this,t,r,n)}})}function u(e){return typeof e.handleEvent=="function"}function m(e,t,r){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,r)}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},362108(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>e});let e=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:undefined}}).call(__webpack_require__._LM_("@noble/hashes",{__webpack_exports__,__webpack_require__}))()},378326(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e=module.exports={};var t;var r;function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}try{t=typeof setTimeout=="function"?setTimeout:n}catch(e){t=n}try{r=typeof clearTimeout=="function"?clearTimeout:a}catch(e){r=a}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===n||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}function i(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}var o=[];var l=!1;var c;var u=-1;function m(){if(!l||!c)return;l=!1,c.length?o=c.concat(o):u=-1,o.length&&h()}function h(){if(l)return;var e=s(m);l=!0;var t=o.length;while(t){c=o,o=[];while(++u<t)c&&c[u].run();u=-1,t=o.length}c=null,l=!1,i(e)}function f(e,t){this.fun=e,this.array=t}function d(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];o.push(new f(e,t)),o.length===1&&!l&&s(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=d,e.addListener=d,e.once=d,e.off=d,e.removeListener=d,e.removeAllListeners=d,e.emit=d,e.prependListener=d,e.prependOnceListener=d,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}}}).call(__webpack_require__._LM_("process",{module,__webpack_require__}))()},381699(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{AD:()=>m,SB:()=>s,ul:()=>u});var e=__webpack_require__(352158);var t=__webpack_require__(396102);let r=/^o(\d+)\./;let n=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function a(e){return e==="http"||e==="https"}function s(e,t=!1){let{host:r,path:n,pass:a,port:i,projectId:o,protocol:l,publicKey:c}=e;return`${l}://${c}${t&&a?`:${a}`:""}`+`@${r}${i?`:${i}`:""}/${n?`${n}/`:n}${o}`}function i(e){let r=n.exec(e);if(!r)return(0,t.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)}),undefined;let[a,s,i="",l="",c="",u=""]=r.slice(1);let m="";let h=u;let f=h.split("/");if(f.length>1&&(m=f.slice(0,-1).join("/"),h=f.pop()),h){let e=h.match(/^\d+/);e&&(h=e[0])}return o({host:l,pass:i,path:m,projectId:h,port:c,protocol:a,publicKey:s})}function o(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(r){if(!e.T)return!0;let{port:n,projectId:s,protocol:i}=r;return["protocol","publicKey","host","projectId"].find(e=>{return!r[e]?(t.Yz.error(`Invalid Sentry Dsn: ${e} missing`),!0):(0,!1)})?!1:(0,!s.match(/^\d+$/))?(t.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${s}`),!1):(0,!a(i))?(t.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(0,n&&isNaN(parseInt(n,10)))?(t.Yz.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):(0,!0)}function c(e){let t=e.match(r);return t?.[1]}function u(e){let t=e.getOptions();let{host:r}=e.getDsn()||{};let n;return t.orgId?n=String(t.orgId):r&&(n=c(r)),n}function m(e){let t=typeof e=="string"?i(e):o(e);return!t||!l(t)?undefined:(0,t)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},382906(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s3:()=>l});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);var a;var s;var i;var o;(s=a||(a={}))["Primary"]="primary",s["Secondary"]="secondary",(o=i||(i={}))["Button"]="button",o["Submit"]="submit";let l=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Button),value:(0,e.Yj)(),variant:(0,e.lq)((0,e.KC)([(0,r.$9)(a.Primary),(0,r.$9)(a.Secondary)])),buttonType:(0,e.lq)((0,e.KC)([(0,r.$9)(i.Button),(0,r.$9)(i.Submit)])),name:(0,e.lq)((0,e.Yj)())}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},392316(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$X:()=>l,GR:()=>m,M6:()=>u,eJ:()=>i,gO:()=>c});var e=__webpack_require__(563023);var t=__webpack_require__(147687);var r=__webpack_require__(901889);function n(){let e=r.O;return e.crypto||e.msCrypto}let a;function s(){return(0,t.hY)()*16}function i(e=n()){try{if(e?.randomUUID)return(0,t.Qw)(()=>e.randomUUID()).replace(/-/g,"")}catch{}return!a&&(a=[1e7]+1e3+4e3+8e3+1e11),a.replace(/[018]/g,e=>(e^(s()&15)>>e/4).toString(16))}function o(e){return e.exception?.values?.[0]}function l(e){let{message:t,event_id:r}=e;if(t)return t;let n=o(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:(0,n.type||n.value||r||"<unknown>"):(0,r||"<unknown>")}function c(e,t,r){let n=e.exception=e.exception||{};let a=n.values=n.values||[];let s=a[0]=a[0]||{};!s.value&&(s.value=t||""),!s.type&&(s.type=r||"Error")}function u(e,t){let r=o(e);if(!r)return;let n=r.mechanism;if(r.mechanism={...{type:"generic",handled:!0},...n,...t},t&&"data"in t){let e={...n?.data,...t.data};r.mechanism.data=e}}function m(t){if(h(t))return!0;try{(0,e.my)(t,"__sentry_captured__",!0)}catch{}return!1}function h(e){try{return e.__sentry_captured__}catch{}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},396102(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ow:()=>n,Yz:()=>c,Z9:()=>a,pq:()=>s});var e=__webpack_require__(943924);var t=__webpack_require__(352158);var r=__webpack_require__(901889);let n=["debug","info","warn","error","log","assert","trace"];let a={};function s(e){if(!("console"in r.O))return e();let t=r.O.console;let n={};let s=Object.keys(a);s.forEach(e=>{let r=a[e];n[e]=t[e],t[e]=r});try{return e()}finally{s.forEach(e=>{t[e]=n[e]})}}function i(){return l().enabled}function o(e,...n){if(!t.T)return;i()&&s(()=>{r.O.console[e](`${"Sentry Logger "}[${e}]:`,...n)})}function l(){return!t.T?{enabled:!1}:(0,(0,e.BY)("loggerSettings",()=>({enabled:!1})))}let c={enable:function(){l().enabled=!0},disable:function(){l().enabled=!1},isEnabled:i,log:function(...e){o("log",...e)},warn:function(...e){o("warn",...e)},error:function(...e){o("error",...e)}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},404809(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{LO:()=>f});var e=__webpack_require__(931263);var t=__webpack_require__(123532);var r=__webpack_require__(577102);var n=__webpack_require__(18898);var a=__webpack_require__(652751);var s=__webpack_require__(625919);var i=__webpack_require__(632356);var o=__webpack_require__(396102);var l=__webpack_require__(6929);var c=__webpack_require__(925075);var u=__webpack_require__(484413);var m=__webpack_require__(691576);var h=__webpack_require__(994398);let f=(0,r._C)((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(d(e),k("onerror")),t.onunhandledrejection&&(p(e),k("onunhandledrejection"))}}});function d(r){(0,a.L)(n=>{let{stackParser:a,attachStacktrace:s}=v();if((0,t.KU)()!==r||(0,h.jN)())return;let{msg:i,url:o,line:l,column:c,error:u}=n;let f=b((0,m.H7)(a,u||i,undefined,s,!1),o,l,c);f.level="error",(0,e.r)(f,{originalException:u,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function p(r){(0,s.r)(n=>{let{stackParser:a,attachStacktrace:s}=v();if((0,t.KU)()!==r||(0,h.jN)())return;let o=g(n);let l=(0,i.sO)(o)?y(o):(0,m.H7)(a,o,undefined,s,!0);l.level="error",(0,e.r)(l,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function g(e){if((0,i.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function y(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function b(e,t,r,a){let s=e.exception=e.exception||{};let i=s.values=s.values||[];let o=i[0]=i[0]||{};let c=o.stacktrace=o.stacktrace||{};let u=c.frames=c.frames||[];let m=w(t)??(0,n.$N)();return u.length===0&&u.push({colno:a,filename:m,function:l.yF,in_app:!0,lineno:r}),e}function k(e){u.T&&o.Yz.log(`Global Handler attached: ${e}`)}function v(){let e=(0,t.KU)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function w(e){return!(0,i.Kg)(e)||e.length===0?undefined:(0,e.startsWith("data:"))?`<${(0,c.zm)(e,!1)}>`:(0,e)}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},410710(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>o});var e=__webpack_require__(352158);var t=__webpack_require__(652751);var r=__webpack_require__(625919);var n=__webpack_require__(396102);var a=__webpack_require__(682631);var s=__webpack_require__(276435);let i=!1;function o(){if(i)return;function o(){let t=(0,a.Bk)();let r=t&&(0,a.zU)(t);if(r){let t="internal_error";e.T&&n.Yz.log(`[Tracing] Root span: ${t} -> Global error occurred`),r.setStatus({code:s.TJ,message:t})}}o.tag="sentry_tracingErrorCallback",i=!0,(0,t.L)(o),(0,r.r)(o)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},413279(module,exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e,t;var r,n;r=typeof globalThis!=="undefined"&&globalThis,n=function(e){if(typeof browser=="undefined"||Object.getPrototypeOf(browser)!==Object.prototype){if(typeof chrome!="object"||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=(e=>{let t={"alarms":{"clear":{"minArgs":0,"maxArgs":1},"clearAll":{"minArgs":0,"maxArgs":0},"get":{"minArgs":0,"maxArgs":1},"getAll":{"minArgs":0,"maxArgs":0}},"bookmarks":{"create":{"minArgs":1,"maxArgs":1},"get":{"minArgs":1,"maxArgs":1},"getChildren":{"minArgs":1,"maxArgs":1},"getRecent":{"minArgs":1,"maxArgs":1},"getSubTree":{"minArgs":1,"maxArgs":1},"getTree":{"minArgs":0,"maxArgs":0},"move":{"minArgs":2,"maxArgs":2},"remove":{"minArgs":1,"maxArgs":1},"removeTree":{"minArgs":1,"maxArgs":1},"search":{"minArgs":1,"maxArgs":1},"update":{"minArgs":2,"maxArgs":2}},"browserAction":{"disable":{"minArgs":0,"maxArgs":1,"fallbackToNoCallback":!0},"enable":{"minArgs":0,"maxArgs":1,"fallbackToNoCallback":!0},"getBadgeBackgroundColor":{"minArgs":1,"maxArgs":1},"getBadgeText":{"minArgs":1,"maxArgs":1},"getPopup":{"minArgs":1,"maxArgs":1},"getTitle":{"minArgs":1,"maxArgs":1},"openPopup":{"minArgs":0,"maxArgs":0},"setBadgeBackgroundColor":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setBadgeText":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setIcon":{"minArgs":1,"maxArgs":1},"setPopup":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setTitle":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0}},"browsingData":{"remove":{"minArgs":2,"maxArgs":2},"removeCache":{"minArgs":1,"maxArgs":1},"removeCookies":{"minArgs":1,"maxArgs":1},"removeDownloads":{"minArgs":1,"maxArgs":1},"removeFormData":{"minArgs":1,"maxArgs":1},"removeHistory":{"minArgs":1,"maxArgs":1},"removeLocalStorage":{"minArgs":1,"maxArgs":1},"removePasswords":{"minArgs":1,"maxArgs":1},"removePluginData":{"minArgs":1,"maxArgs":1},"settings":{"minArgs":0,"maxArgs":0}},"commands":{"getAll":{"minArgs":0,"maxArgs":0}},"contextMenus":{"remove":{"minArgs":1,"maxArgs":1},"removeAll":{"minArgs":0,"maxArgs":0},"update":{"minArgs":2,"maxArgs":2}},"cookies":{"get":{"minArgs":1,"maxArgs":1},"getAll":{"minArgs":1,"maxArgs":1},"getAllCookieStores":{"minArgs":0,"maxArgs":0},"remove":{"minArgs":1,"maxArgs":1},"set":{"minArgs":1,"maxArgs":1}},"devtools":{"inspectedWindow":{"eval":{"minArgs":1,"maxArgs":2,"singleCallbackArg":!1}},"panels":{"create":{"minArgs":3,"maxArgs":3,"singleCallbackArg":!0},"elements":{"createSidebarPane":{"minArgs":1,"maxArgs":1}}}},"downloads":{"cancel":{"minArgs":1,"maxArgs":1},"download":{"minArgs":1,"maxArgs":1},"erase":{"minArgs":1,"maxArgs":1},"getFileIcon":{"minArgs":1,"maxArgs":2},"open":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"pause":{"minArgs":1,"maxArgs":1},"removeFile":{"minArgs":1,"maxArgs":1},"resume":{"minArgs":1,"maxArgs":1},"search":{"minArgs":1,"maxArgs":1},"show":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0}},"extension":{"isAllowedFileSchemeAccess":{"minArgs":0,"maxArgs":0},"isAllowedIncognitoAccess":{"minArgs":0,"maxArgs":0}},"history":{"addUrl":{"minArgs":1,"maxArgs":1},"deleteAll":{"minArgs":0,"maxArgs":0},"deleteRange":{"minArgs":1,"maxArgs":1},"deleteUrl":{"minArgs":1,"maxArgs":1},"getVisits":{"minArgs":1,"maxArgs":1},"search":{"minArgs":1,"maxArgs":1}},"i18n":{"detectLanguage":{"minArgs":1,"maxArgs":1},"getAcceptLanguages":{"minArgs":0,"maxArgs":0}},"identity":{"launchWebAuthFlow":{"minArgs":1,"maxArgs":1}},"idle":{"queryState":{"minArgs":1,"maxArgs":1}},"management":{"get":{"minArgs":1,"maxArgs":1},"getAll":{"minArgs":0,"maxArgs":0},"getSelf":{"minArgs":0,"maxArgs":0},"setEnabled":{"minArgs":2,"maxArgs":2},"uninstallSelf":{"minArgs":0,"maxArgs":1}},"notifications":{"clear":{"minArgs":1,"maxArgs":1},"create":{"minArgs":1,"maxArgs":2},"getAll":{"minArgs":0,"maxArgs":0},"getPermissionLevel":{"minArgs":0,"maxArgs":0},"update":{"minArgs":2,"maxArgs":2}},"pageAction":{"getPopup":{"minArgs":1,"maxArgs":1},"getTitle":{"minArgs":1,"maxArgs":1},"hide":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setIcon":{"minArgs":1,"maxArgs":1},"setPopup":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"setTitle":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0},"show":{"minArgs":1,"maxArgs":1,"fallbackToNoCallback":!0}},"permissions":{"contains":{"minArgs":1,"maxArgs":1},"getAll":{"minArgs":0,"maxArgs":0},"remove":{"minArgs":1,"maxArgs":1},"request":{"minArgs":1,"maxArgs":1}},"runtime":{"getBackgroundPage":{"minArgs":0,"maxArgs":0},"getPlatformInfo":{"minArgs":0,"maxArgs":0},"openOptionsPage":{"minArgs":0,"maxArgs":0},"requestUpdateCheck":{"minArgs":0,"maxArgs":0},"sendMessage":{"minArgs":1,"maxArgs":3},"sendNativeMessage":{"minArgs":2,"maxArgs":2},"setUninstallURL":{"minArgs":1,"maxArgs":1}},"sessions":{"getDevices":{"minArgs":0,"maxArgs":1},"getRecentlyClosed":{"minArgs":0,"maxArgs":1},"restore":{"minArgs":0,"maxArgs":1}},"storage":{"local":{"clear":{"minArgs":0,"maxArgs":0},"get":{"minArgs":0,"maxArgs":1},"getBytesInUse":{"minArgs":0,"maxArgs":1},"remove":{"minArgs":1,"maxArgs":1},"set":{"minArgs":1,"maxArgs":1}},"managed":{"get":{"minArgs":0,"maxArgs":1},"getBytesInUse":{"minArgs":0,"maxArgs":1}},"sync":{"clear":{"minArgs":0,"maxArgs":0},"get":{"minArgs":0,"maxArgs":1},"getBytesInUse":{"minArgs":0,"maxArgs":1},"remove":{"minArgs":1,"maxArgs":1},"set":{"minArgs":1,"maxArgs":1}}},"tabs":{"captureVisibleTab":{"minArgs":0,"maxArgs":2},"create":{"minArgs":1,"maxArgs":1},"detectLanguage":{"minArgs":0,"maxArgs":1},"discard":{"minArgs":0,"maxArgs":1},"duplicate":{"minArgs":1,"maxArgs":1},"executeScript":{"minArgs":1,"maxArgs":2},"get":{"minArgs":1,"maxArgs":1},"getCurrent":{"minArgs":0,"maxArgs":0},"getZoom":{"minArgs":0,"maxArgs":1},"getZoomSettings":{"minArgs":0,"maxArgs":1},"goBack":{"minArgs":0,"maxArgs":1},"goForward":{"minArgs":0,"maxArgs":1},"highlight":{"minArgs":1,"maxArgs":1},"insertCSS":{"minArgs":1,"maxArgs":2},"move":{"minArgs":2,"maxArgs":2},"query":{"minArgs":1,"maxArgs":1},"reload":{"minArgs":0,"maxArgs":2},"remove":{"minArgs":1,"maxArgs":1},"removeCSS":{"minArgs":1,"maxArgs":2},"sendMessage":{"minArgs":2,"maxArgs":3},"setZoom":{"minArgs":1,"maxArgs":2},"setZoomSettings":{"minArgs":1,"maxArgs":2},"update":{"minArgs":1,"maxArgs":2}},"topSites":{"get":{"minArgs":0,"maxArgs":0}},"webNavigation":{"getAllFrames":{"minArgs":1,"maxArgs":1},"getFrame":{"minArgs":1,"maxArgs":1}},"webRequest":{"handlerBehaviorChanged":{"minArgs":0,"maxArgs":0}},"windows":{"create":{"minArgs":0,"maxArgs":1},"get":{"minArgs":1,"maxArgs":2},"getAll":{"minArgs":0,"maxArgs":1},"getCurrent":{"minArgs":0,"maxArgs":1},"getLastFocused":{"minArgs":0,"maxArgs":1},"remove":{"minArgs":1,"maxArgs":1},"update":{"minArgs":2,"maxArgs":2}}};if(Object.keys(t).length===0)throw new Error("api-metadata.json has not been included in browser-polyfill");class r extends WeakMap{constructor(e,t=undefined){super(t),this.createItem=e}get(e){return!this.has(e)&&this.set(e,this.createItem(e)),super.get(e)}}let n=(t,r)=>{return(...n)=>{e.runtime.lastError?t.reject(new Error(e.runtime.lastError.message)):r.singleCallbackArg||n.length<=1&&r.singleCallbackArg!==!1?t.resolve(n[0]):t.resolve(n)}};let a=e=>e==1?"argument":"arguments";let s=(e,t,r)=>{return new Proxy(t,{apply(t,n,a){return r.call(n,e,...a)}})};let i=Function.call.bind(Object.prototype.hasOwnProperty);let o=(e,t={},r={})=>{let l=Object.create(null);return new Proxy(Object.create(e),{has(t,r){return r in e||r in l},get(c,u,m){if(u in l)return l[u];if(!(u in e))return undefined;let h=e[u];if(typeof h=="function")if(typeof t[u]=="function")h=s(e,e[u],t[u]);else if(i(r,u)){var f;let t=(u,f=r[u],function(e,...t){if(t.length<f.minArgs)throw new Error(`Expected at least ${f.minArgs} ${a(f.minArgs)} for ${u}(), got ${t.length}`);if(t.length>f.maxArgs)throw new Error(`Expected at most ${f.maxArgs} ${a(f.maxArgs)} for ${u}(), got ${t.length}`);return new Promise((r,a)=>{if(f.fallbackToNoCallback)try{e[u](...t,n({resolve:r,reject:a},f))}catch(n){console.warn(`${u} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",n),e[u](...t),f.fallbackToNoCallback=!1,f.noCallback=!0,r()}else f.noCallback?(e[u](...t),r()):e[u](...t,n({resolve:r,reject:a},f))})});h=s(e,e[u],t)}else h=h.bind(e);else if(typeof h=="object"&&h!==null&&(i(t,u)||i(r,u)))h=o(h,t[u],r[u]);else if(!i(r,"*"))return Object.defineProperty(l,u,{configurable:!0,enumerable:!0,get(){return e[u]},set(t){e[u]=t}}),h;else h=o(h,t[u],r["*"]);return l[u]=h,h},set(t,r,n,a){return r in l?l[r]=n:e[r]=n,!0},defineProperty(e,t,r){return Reflect.defineProperty(l,t,r)},deleteProperty(e,t){return Reflect.deleteProperty(l,t)}})};let l=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener(t,r){return t.hasListener(e.get(r))},removeListener(t,r){t.removeListener(e.get(r))}});let c=new r(e=>{return typeof e!=="function"?e:(0,function(t){e(o(t,{},{getContent:{minArgs:0,maxArgs:0}}))})});let u=!1;let m=new r(e=>{return typeof e!=="function"?e:(0,function(t,r,n){let a=!1;let s;let i=new Promise(e=>{s=function(t){!u&&(console.warn("Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",new Error().stack),u=!0),a=!0,e(t)}});let o;try{o=e(t,r,s)}catch(e){o=Promise.reject(e)}var l;let c=o!==!0&&(l=o)&&typeof l=="object"&&typeof l.then=="function";if(o!==!0&&!c&&!a)return!1;return(c?o:i).then(e=>{n(e)},e=>{let t;n({__mozWebExtensionPolyfillReject__:!0,message:t=e&&(e instanceof Error||typeof e.message=="string")?e.message:"An unexpected error occurred"})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)}),!0})});let h=({reject:t,resolve:r},n)=>{e.runtime.lastError?e.runtime.lastError.message==="The message port closed before a response was received."?r():t(new Error(e.runtime.lastError.message)):n&&n.__mozWebExtensionPolyfillReject__?t(new Error(n.message)):r(n)};let f=(e,t,r,...n)=>{if(n.length<t.minArgs)throw new Error(`Expected at least ${t.minArgs} ${a(t.minArgs)} for ${e}(), got ${n.length}`);if(n.length>t.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,t)=>{let a=h.bind(null,{resolve:e,reject:t});n.push(a),r.sendMessage(...n)})};let d={devtools:{network:{onRequestFinished:l(c)}},runtime:{onMessage:l(m),onMessageExternal:l(m),sendMessage:f.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:f.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}};let p={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return t.privacy={network:{"*":p},services:{"*":p},websites:{"*":p}},o(e,d,t)})(chrome)}else e.exports=browser},!0&&(e=[module],(t="function"=="function"?n.apply(exports,e):n)!==undefined&&(module.exports=t))}}).call(__webpack_require__._LM_("webextension-polyfill",{module,exports,__webpack_require__})).bind(exports)()},419142(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>e});let e="10.38.0"}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},443697(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Qi:()=>u,cM:()=>h,cs:()=>m});var e=__webpack_require__(342672);var t=__webpack_require__(142282);var r=__webpack_require__(908743);var n=__webpack_require__(745085);var a=__webpack_require__(647388);var s=__webpack_require__(879771);var i=__webpack_require__(937053);var o=__webpack_require__(484068);let l=(0,e.KC)([a.rI,a.Es,a.ux,(0,e.Yj)(),(0,e.zM)(),t.FX]);let c=(0,e.g1)((0,e.Yj)(),(0,e.me)(l));(0,e.g1)((0,e.Yj)(),(0,e.KC)([c,(0,e.me)(l)]));let u=(0,s.E$)(e=>{return(0,n.Gv)(e)&&!(0,n.i5)(e,"props")?o.vb:(0,i.Pm)});let m=(0,e.g1)((0,e.Yj)(),r.zC);var h;var f;(f=h||(h={}))["Insight"]="Insight",f["Dialog"]="Dialog",f["Notification"]="Notification",f["HomePage"]="HomePage"}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},444284(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>n});var e=__webpack_require__(381699);var t=__webpack_require__(260516);function r(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function n(n,a,s,i){let o={};return a?.sdk&&(o.sdk={name:a.sdk.name,version:a.sdk.version}),!!s&&!!i&&(o.dsn=(0,e.SB)(i)),(0,t.h4)(o,[r(n)])}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},449070(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>e});class e extends TypeError{constructor(e,t){let r;let{message:n,explanation:a,...s}=e;let{path:i}=e;let o=i.length===0?n:`At path: ${i.join(".")} -- ${n}`;super(a??o),a!==null&&a!==undefined&&(this.cause=o),Object.assign(this,s),this.name=this.constructor.name,this.failures=()=>{return r??(r=[e,...t()])}}}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_exports__,__webpack_require__}))()},453827(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{VZ:()=>r,jy:()=>a,rb:()=>t,tB:()=>n});var e=__webpack_require__(994398);function t(e){return e.split(",").some(e=>e.trim().startsWith("sentry-"))}function r(t){try{return new URL(t,e.jf.location.origin).href}catch{return undefined}}function n(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function a(e){try{return new Headers(e)}catch{return undefined}}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},453945(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>a});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let a=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Copyable),value:(0,e.Yj)(),sensitive:(0,e.lq)((0,e.zM)())}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},456247(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>o});var e=__webpack_require__(827284);var t=__webpack_require__(78463);var r=__webpack_require__(123532);var n=__webpack_require__(682631);var a=__webpack_require__(306981);var s=__webpack_require__(821396);var i=__webpack_require__(33040);function o(){return(0,i.D)()&&(0,a.k3)()?(0,s.wv)("element",l):(0,()=>undefined)}let l=({entries:s})=>{let o=(0,n.Bk)();let l=o?(0,n.zU)(o):undefined;let c=l?(0,n.et)(l).description:(0,r.o5)().getScopeData().transactionName;s.forEach(r=>{if(!r.identifier)return;let n=r.name;let s=r.renderTime;let o=r.loadTime;let[l,u]=o?[(0,i.rv)(o),"load-time"]:s?[(0,i.rv)(s),"render-time"]:[(0,a.zf)(),"entry-emission"];let m=n==="image-paint"?(0,i.rv)(Math.max(0,(s??0)-(o??0))):0;let h={[t.JD]:"auto.ui.browser.elementtiming",[t.uT]:"ui.elementtiming",[t.i_]:"component","sentry.span_start_time_source":u,"sentry.transaction_name":c,"element.id":r.id,"element.type":r.element?.tagName?.toLowerCase()||"unknown","element.size":r.naturalWidth&&r.naturalHeight?`${r.naturalWidth}x${r.naturalHeight}`:undefined,"element.render_time":s,"element.load_time":o,"element.url":r.url||undefined,"element.identifier":r.identifier,"element.paint_type":n};(0,e.Lk)({name:`element[${r.identifier}]`,attributes:h,startTime:l,onlyIfParent:!0},e=>{e.end(l+m)})})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},456895(module,exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e;module=__webpack_require__.nmd(module),(function(){var t;var r="Expected a function";var n="__lodash_hash_undefined__";var a="__lodash_placeholder__";var s=1/0,i=0/0;var o=0xffffffff-1,l=0xffffffff>>>1;var c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];var u="[object Arguments]",m="[object Array]",h="[object Boolean]",f="[object Date]",d="[object Error]",p="[object Function]",g="[object GeneratorFunction]",y="[object Map]",b="[object Number]",k="[object Object]",v="[object Promise]",w="[object RegExp]",_="[object Set]",T="[object String]",S="[object Symbol]",j="[object WeakMap]";var x="[object ArrayBuffer]",E="[object DataView]",A="[object Float32Array]",O="[object Float64Array]",L="[object Int8Array]",R="[object Int16Array]",C="[object Int32Array]",M="[object Uint8Array]",I="[object Uint8ClampedArray]",D="[object Uint16Array]",N="[object Uint32Array]";var q=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var P=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,F=RegExp(P.source),G=RegExp(H.source);var U=/<%-([\s\S]+?)%>/g,B=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g;var W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/,J=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Z=/[\\^$.*+?()[\]{}|]/g,K=RegExp(Z.source);var X=/^\s+/;var Q=/\s/;var ee=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,et=/\{\n\/\* \[wrapped with (.+)\] \*/,er=/,? & /;var en=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ea=/[()=,{}\[\]\/\s]/;var es=/\\(\\)?/g;var ei=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var eo=/\w*$/;var el=/^[-+]0x[0-9a-f]+$/i;var ec=/^0b[01]+$/i;var eu=/^\[object .+?Constructor\]$/;var em=/^0o[0-7]+$/i;var eh=/^(?:0|[1-9]\d*)$/;var ef=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var ed=/($^)/;var ep=/['\n\r\u2028\u2029\\]/g;var eg="\ud800-\udfff",ey="\\u0300-\\u036f"+"\\ufe20-\\ufe2f"+"\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",ek="a-z\\xdf-\\xf6\\xf8-\\xff",ev="A-Z\\xc0-\\xd6\\xd8-\\xde",ew="\\ufe0e\\ufe0f",e_="\\xac\\xb1\\xd7\\xf7"+"\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf"+"\\u2000-\\u206f"+" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";var eT="['’]",eS="["+e_+"]",ej="["+ey+"]",ex="["+ek+"]",eE="[^"+eg+e_+"\\d+"+eb+ek+ev+"]",eA="\ud83c[\udffb-\udfff]",eO="[^"+eg+"]",eL="(?:\ud83c[\udde6-\uddff]){2}",eR="[\ud800-\udbff][\udc00-\udfff]",eC="["+ev+"]",eM="\\u200d";var eI="(?:"+ex+"|"+eE+")",eD="(?:"+eC+"|"+eE+")",eN="(?:"+eT+"(?:d|ll|m|re|s|t|ve))?",eq="(?:"+eT+"(?:D|LL|M|RE|S|T|VE))?",ez="(?:"+ej+"|"+eA+")"+"?",e$="["+ew+"]?",eP="(?:"+eM+"(?:"+[eO,eL,eR].join("|")+")"+e$+ez+")*",eH=e$+ez+eP,eF="(?:"+["["+eb+"]",eL,eR].join("|")+")"+eH,eG="(?:"+[eO+ej+"?",ej,eL,eR,"["+eg+"]"].join("|")+")";var eU=RegExp(eT,"g");var eB=RegExp(ej,"g");var eY=RegExp(eA+"(?="+eA+")|"+eG+eH,"g");var eW=RegExp([eC+"?"+ex+"+"+eN+"(?="+[eS,eC,"$"].join("|")+")",eD+"+"+eq+"(?="+[eS,eC+eI,"$"].join("|")+")",eC+"?"+eI+"+"+eN,eC+"+"+eq,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",eF].join("|"),"g");var eV=RegExp("["+eM+eg+ey+ew+"]");var eJ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var eZ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var eK=-1;var eX={};eX[A]=eX[O]=eX[L]=eX[R]=eX[C]=eX[M]=eX[I]=eX[D]=eX[N]=!0,eX[u]=eX[m]=eX[x]=eX[h]=eX[E]=eX[f]=eX[d]=eX[p]=eX[y]=eX[b]=eX[k]=eX[w]=eX[_]=eX[T]=eX[j]=!1;var eQ={};eQ[u]=eQ[m]=eQ[x]=eQ[E]=eQ[h]=eQ[f]=eQ[A]=eQ[O]=eQ[L]=eQ[R]=eQ[C]=eQ[y]=eQ[b]=eQ[k]=eQ[w]=eQ[_]=eQ[T]=eQ[S]=eQ[M]=eQ[I]=eQ[D]=eQ[N]=!0,eQ[d]=eQ[p]=eQ[j]=!1;var e0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var e1=parseFloat,e3=parseInt;var e6=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;var e2=typeof self=="object"&&self&&self.Object===Object&&self;var e5=e6||e2||Function("return this")();var e8=!0&&exports&&!exports.nodeType&&exports;var e7=e8&&"object"=="object"&&module&&!module.nodeType&&module;var e4=e7&&e7.exports===e8;var e9=e4&&e6.process;var te=function(){try{var e=e7&&e7.require&&e7.require("util").types;if(e)return e;return e9&&e9.binding&&e9.binding("util")}catch(e){}}();var tt=te&&te.isArrayBuffer,tr=te&&te.isDate,tn=te&&te.isMap,ta=te&&te.isRegExp,ts=te&&te.isSet,ti=te&&te.isTypedArray;function to(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function tl(e,t,r,n){var a=-1,s=e==null?0:e.length;while(++a<s){var i=e[a];t(n,i,r(i),e)}return n}function tc(e,t){var r=-1,n=e==null?0:e.length;while(++r<n)if(t(e[r],r,e)===!1)break;return e}function tu(e,t){var r=e==null?0:e.length;while(r--)if(t(e[r],r,e)===!1)break;return e}function tm(e,t){var r=-1,n=e==null?0:e.length;while(++r<n)if(!t(e[r],r,e))return!1;return!0}function th(e,t){var r=-1,n=e==null?0:e.length,a=0,s=[];while(++r<n){var i=e[r];t(i,r,e)&&(s[a++]=i)}return s}function tf(e,t){return!!(e==null?0:e.length)&&tj(e,t,0)>-1}function td(e,t,r){var n=-1,a=e==null?0:e.length;while(++n<a)if(r(t,e[n]))return!0;return!1}function tp(e,t){var r=-1,n=e==null?0:e.length,a=Array(n);while(++r<n)a[r]=t(e[r],r,e);return a}function tg(e,t){var r=-1,n=t.length,a=e.length;while(++r<n)e[a+r]=t[r];return e}function ty(e,t,r,n){var a=-1,s=e==null?0:e.length;n&&s&&(r=e[++a]);while(++a<s)r=t(r,e[a],a,e);return r}function tb(e,t,r,n){var a=e==null?0:e.length;n&&a&&(r=e[--a]);while(a--)r=t(r,e[a],a,e);return r}function tk(e,t){var r=-1,n=e==null?0:e.length;while(++r<n)if(t(e[r],r,e))return!0;return!1}var tv=tO("length");function tw(e){return e.split("")}function t_(e){return e.match(en)||[]}function tT(e,t,r){var n;return r(e,function(e,r,a){if(t(e,r,a))return n=r,!1}),n}function tS(e,t,r,n){var a=e.length,s=r+(n?1:-1);while(n?s--:++s<a)if(t(e[s],s,e))return s;return-1}function tj(e,t,r){return t==t?t1(e,t,r):tS(e,tE,r)}function tx(e,t,r,n){var a=r-1,s=e.length;while(++a<s)if(n(e[a],t))return a;return-1}function tE(e){return e!=e}function tA(e,t){var r=e==null?0:e.length;return r?tM(e,t)/r:i}function tO(e){return function(r){return r==null?t:r[e]}}function tL(e){return function(r){return e==null?t:e[r]}}function tR(e,t,r,n,a){return a(e,function(e,a,s){r=n?(n=!1,e):t(r,e,a,s)}),r}function tC(e,t){var r=e.length;e.sort(t);while(r--)e[r]=e[r].value;return e}function tM(e,r){var n,a=-1,s=e.length;while(++a<s){var i=r(e[a]);i!==t&&(n=n===t?i:n+i)}return n}function tI(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function tD(e,t){return tp(t,function(t){return[t,e[t]]})}function tN(e){return e?e.slice(0,t5(e)+1).replace(X,""):e}function tq(e){return function(t){return e(t)}}function tz(e,t){return tp(t,function(t){return e[t]})}function t$(e,t){return e.has(t)}function tP(e,t){var r=-1,n=e.length;while(++r<n&&tj(t,e[r],0)>-1);return r}function tH(e,t){var r=e.length;while(r--&&tj(t,e[r],0)>-1);return r}function tF(e,t){var r=e.length,n=0;while(r--)e[r]===t&&++n;return n}var tG=tL({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"});var tU=tL({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function tB(e){return"\\"+e0[e]}function tY(e,r){return e==null?t:e[r]}function tW(e){return eV.test(e)}function tV(e){return eJ.test(e)}function tJ(e){var t,r=[];while(!(t=e.next()).done)r.push(t.value);return r}function tZ(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function tK(e,t){return function(r){return e(t(r))}}function tX(e,t){var r=-1,n=e.length,s=0,i=[];while(++r<n){var o=e[r];(o===t||o===a)&&(e[r]=a,i[s++]=r)}return i}function tQ(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function t0(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}function t1(e,t,r){var n=r-1,a=e.length;while(++n<a)if(e[n]===t)return n;return-1}function t3(e,t,r){var n=r+1;while(n--)if(e[n]===t)return n;return n}function t6(e){return tW(e)?t7(e):tv(e)}function t2(e){return tW(e)?t4(e):tw(e)}function t5(e){var t=e.length;while(t--&&Q.test(e.charAt(t)));return t}var t8=tL({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});function t7(e){var t=eY.lastIndex=0;while(eY.test(e))++t;return t}function t4(e){return e.match(eY)||[]}function t9(e){return e.match(eW)||[]}var re=function e(Q){var en=(Q=Q==null?e5:re.defaults(e5.Object(),Q,re.pick(e5,eZ))).Array,eg=Q.Date,ey=Q.Error,eb=Q.Function,ek=Q.Math,ev=Q.Object,ew=Q.RegExp,e_=Q.String,eT=Q.TypeError;var eS=en.prototype,ej=eb.prototype,ex=ev.prototype;var eE=Q["__core-js_shared__"];var eA=ej.toString;var eO=ex.hasOwnProperty;var eL=0;var eR;var eC=(eR=/[^.]+$/.exec(eE&&eE.keys&&eE.keys.IE_PROTO||""))?"Symbol(src)_1."+eR:"";var eM=ex.toString;var eI=eA.call(ev);var eD=e5._;var eN=ew("^"+eA.call(eO).replace(Z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var eq=e4?Q.Buffer:t,ez=Q.Symbol,e$=Q.Uint8Array,eP=eq?eq.allocUnsafe:t,eH=tK(ev.getPrototypeOf,ev),eF=ev.create,eG=ex.propertyIsEnumerable,eY=eS.splice,eW=ez?ez.isConcatSpreadable:t,eV=ez?ez.iterator:t,eJ=ez?ez.toStringTag:t;var e0=function(){try{var e=sf(ev,"defineProperty");return e({},"",{}),e}catch(e){}}();var e6=Q.clearTimeout!==e5.clearTimeout&&Q.clearTimeout,e2=eg&&eg.now!==e5.Date.now&&eg.now,e8=Q.setTimeout!==e5.setTimeout&&Q.setTimeout;var e7=ek.ceil,e9=ek.floor,te=ev.getOwnPropertySymbols,tv=eq?eq.isBuffer:t,tw=Q.isFinite,tL=eS.join,t1=tK(ev.keys,ev),t7=ek.max,t4=ek.min,rt=eg.now,rr=Q.parseInt,rn=ek.random,ra=eS.reverse;var rs=sf(Q,"DataView"),ri=sf(Q,"Map"),ro=sf(Q,"Promise"),rl=sf(Q,"Set"),rc=sf(Q,"WeakMap"),ru=sf(ev,"create");var rm=rc&&new rc;var rh={};var rf=sX(rs),rd=sX(ri),rp=sX(ro),rg=sX(rl),ry=sX(rc);var rb=ez?ez.prototype:t,rk=rb?rb.valueOf:t,rv=rb?rb.toString:t;function rw(e){if(ly(e)&&!le(e)&&!(e instanceof rj)){if(e instanceof rS)return e;if(eO.call(e,"__wrapped__"))return s0(e)}return new rS(e)}var r_=function(){function e(){}return function(r){if(!lg(r))return{};if(eF)return eF(r);e.prototype=r;var n=new e;return e.prototype=t,n}}();function rT(){}function rS(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=t}function rj(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}function rx(){var e=new rj(this.__wrapped__);return e.__actions__=aI(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=aI(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=aI(this.__views__),e}function rE(){if(this.__filtered__){var e=new rj(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function rA(){var e=this.__wrapped__.value(),t=this.__dir__,r=le(e),n=t<0,a=r?e.length:0,s=sb(0,a,this.__views__),i=s.start,o=s.end,l=o-i,c=n?o:i-1,u=this.__iteratees__,m=u.length,h=0,f=t4(l,this.__takeCount__);if(!r||!n&&a==l&&f==l)return ag(e,this.__actions__);var d=[];e:while(l--&&h<f){var p=-1,g=e[c+=t];while(++p<m){var y=u[p],b=y.iteratee,k=y.type,v=b(g);if(k==2)g=v;else if(!v){if(k==1)continue e;break e}}d[h++]=g}return d}function rO(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function rL(){this.__data__=ru?ru(null):{},this.size=0}function rR(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function rC(e){var r=this.__data__;if(ru){var a=r[e];return a===n?t:a}return eO.call(r,e)?r[e]:t}function rM(e){var r=this.__data__;return ru?r[e]!==t:eO.call(r,e)}function rI(e,r){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=ru&&r===t?n:r,this}function rD(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function rN(){this.__data__=[],this.size=0}function rq(e){var t=this.__data__,r=r4(t,e);return r<0?!1:(r==t.length-1?t.pop():eY.call(t,r,1),--this.size,!0)}function rz(e){var r=this.__data__,n=r4(r,e);return n<0?t:r[n][1]}function r$(e){return r4(this.__data__,e)>-1}function rP(e,t){var r=this.__data__,n=r4(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function rH(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function rF(){this.size=0,this.__data__={"hash":new rO,"map":new(ri||rD),"string":new rO}}function rG(e){var t=sm(this,e)["delete"](e);return this.size-=t?1:0,t}function rU(e){return sm(this,e).get(e)}function rB(e){return sm(this,e).has(e)}function rY(e,t){var r=sm(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function rW(e){var t=-1,r=e==null?0:e.length;this.__data__=new rH;while(++t<r)this.add(e[t])}function rV(e){return this.__data__.set(e,n),this}function rJ(e){return this.__data__.has(e)}function rZ(e){var t=this.__data__=new rD(e);this.size=t.size}function rK(){this.__data__=new rD,this.size=0}function rX(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}function rQ(e){return this.__data__.get(e)}function r0(e){return this.__data__.has(e)}function r1(e,t){var r=this.__data__;if(r instanceof rD){var n=r.__data__;if(!ri||n.length<200-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new rH(n)}return r.set(e,t),this.size=r.size,this}function r3(e,t){var r=le(e),n=!r&&o9(e),a=!r&&!n&&ls(e),s=!r&&!n&&!a&&lC(e),i=r||n||a||s,o=i?tI(e.length,e_):[],l=o.length;for(var c in e)(t||eO.call(e,c))&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||sx(c,l)))&&o.push(c);return o}function r6(e){var r=e.length;return r?e[n5(0,r-1)]:t}function r2(e,t){return sJ(aI(e),na(t,0,e.length))}function r5(e){return sJ(aI(e))}function r8(e,r,n){(n!==t&&!o8(e[r],n)||n===t&&!(r in e))&&nr(e,r,n)}function r7(e,r,n){var a=e[r];(!(eO.call(e,r)&&o8(a,n))||n===t&&!(r in e))&&nr(e,r,n)}function r4(e,t){var r=e.length;while(r--)if(o8(e[r][0],t))return r;return-1}function r9(e,t,r,n){return nu(e,function(e,a,s){t(n,e,r(e),s)}),n}function ne(e,t){return e&&aD(t,ca(t),e)}function nt(e,t){return e&&aD(t,cs(t),e)}function nr(e,t,r){t=="__proto__"&&e0?e0(e,t,{"configurable":!0,"enumerable":!0,"value":r,"writable":!0}):e[t]=r}function nn(e,r){var n=-1,a=r.length,s=en(a),i=e==null;while(++n<a)s[n]=i?t:l4(e,r[n]);return s}function na(e,r,n){return e==e&&(n!==t&&(e=e<=n?e:n),r!==t&&(e=e>=r?e:r)),e}function ns(e,r,n,a,s,i){var o,l=r&1,c=r&2,m=r&4;if(n&&(o=s?n(e,a,s,i):n(e)),o!==t)return o;if(!lg(e))return e;var h=le(e);if(h){if(o=sw(e),!l)return aI(e,o)}else{var f=sy(e),d=f==p||f==g;if(ls(e))return aS(e,l);if(f==k||f==u||d&&!s){if(o=c||d?{}:s_(e),!l)return c?aq(e,nt(o,e)):aN(e,ne(o,e))}else{if(!eQ[f])return s?e:{};o=sT(e,f,l)}}i||(i=new rZ);var y=i.get(e);if(y)return y;i.set(e,o),lO(e)?e.forEach(function(t){o.add(ns(t,r,n,t,e,i))}):lb(e)&&e.forEach(function(t,a){o.set(a,ns(t,r,n,a,e,i))});var b=m?c?si:ss:c?cs:ca;var v=h?t:b(e);return tc(v||e,function(t,a){v&&(t=e[a=t]),r7(o,a,ns(t,r,n,a,e,i))}),o}function ni(e){var t=ca(e);return function(r){return no(r,e,t)}}function no(e,r,n){var a=n.length;if(e==null)return!a;e=ev(e);while(a--){var s=n[a],i=r[s],o=e[s];if(o===t&&!(s in e)||!i(o))return!1}return!0}function nl(e,n,a){if(typeof e!="function")throw new eT(r);return sB(function(){e.apply(t,a)},n)}function nc(e,t,r,n){var a=-1,s=tf,i=!0,o=e.length,l=[],c=t.length;if(!o)return l;r&&(t=tp(t,tq(r))),n?(s=td,i=!1):t.length>=200&&(s=t$,i=!1,t=new rW(t));e:while(++a<o){var u=e[a],m=r==null?u:r(u);if(u=n||u!==0?u:0,i&&m==m){var h=c;while(h--)if(t[h]===m)continue e;l.push(u)}else!s(t,m,n)&&l.push(u)}return l}rw.templateSettings={"escape":U,"evaluate":B,"interpolate":Y,"variable":"","imports":{"_":rw}},rw.prototype=rT.prototype,rw.prototype.constructor=rw,rS.prototype=r_(rT.prototype),rS.prototype.constructor=rS,rj.prototype=r_(rT.prototype),rj.prototype.constructor=rj,rO.prototype.clear=rL,rO.prototype["delete"]=rR,rO.prototype.get=rC,rO.prototype.has=rM,rO.prototype.set=rI,rD.prototype.clear=rN,rD.prototype["delete"]=rq,rD.prototype.get=rz,rD.prototype.has=r$,rD.prototype.set=rP,rH.prototype.clear=rF,rH.prototype["delete"]=rG,rH.prototype.get=rU,rH.prototype.has=rB,rH.prototype.set=rY,rW.prototype.add=rW.prototype.push=rV,rW.prototype.has=rJ,rZ.prototype.clear=rK,rZ.prototype["delete"]=rX,rZ.prototype.get=rQ,rZ.prototype.has=r0,rZ.prototype.set=r1;var nu=aP(nk);var nm=aP(nv,!0);function nh(e,t){var r=!0;return nu(e,function(e,n,a){return r=!!t(e,n,a)}),r}function nf(e,r,n){var a=-1,s=e.length;while(++a<s){var i=e[a],o=r(i);if(o!=null&&(l===t?o==o&&!lR(o):n(o,l)))var l=o,c=i}return c}function nd(e,r,n,a){var s=e.length;(n=lP(n))<0&&(n=-n>s?0:s+n),(a=a===t||a>s?s:lP(a))<0&&(a+=s),a=n>a?0:lH(a);while(n<a)e[n++]=r;return e}function np(e,t){var r=[];return nu(e,function(e,n,a){t(e,n,a)&&r.push(e)}),r}function ng(e,t,r,n,a){var s=-1,i=e.length;r||(r=sj),a||(a=[]);while(++s<i){var o=e[s];t>0&&r(o)?t>1?ng(o,t-1,r,n,a):tg(a,o):!n&&(a[a.length]=o)}return a}var ny=aH();var nb=aH(!0);function nk(e,t){return e&&ny(e,t,ca)}function nv(e,t){return e&&nb(e,t,ca)}function nw(e,t){return th(t,function(t){return lf(e[t])})}function n_(e,r){r=aw(r,e);var n=0,a=r.length;while(e!=null&&n<a)e=e[sK(r[n++])];return n&&n==a?e:t}function nT(e,t,r){var n=t(e);return le(e)?n:tg(n,r(e))}function nS(e){return e==null?e===t?"[object Undefined]":"[object Null]":(0,eJ&&eJ in ev(e)?sd(e):s$(e))}function nj(e,t){return e>t}function nx(e,t){return e!=null&&eO.call(e,t)}function nE(e,t){return e!=null&&t in ev(e)}function nA(e,t,r){return e>=t4(t,r)&&e<t7(t,r)}function nO(e,r,n){var a=n?td:tf,s=e[0].length,i=e.length,o=i,l=en(i),c=Infinity,u=[];while(o--){var m=e[o];o&&r&&(m=tp(m,tq(r))),c=t4(m.length,c),l[o]=!n&&(r||s>=120&&m.length>=120)?new rW(o&&m):t}m=e[0];var h=-1,f=l[0];e:while(++h<s&&u.length<c){var d=m[h],p=r?r(d):d;if(d=n||d!==0?d:0,!(f?t$(f,p):a(u,p,n))){o=i;while(--o){var g=l[o];if(!(g?t$(g,p):a(e[o],p,n)))continue e}f&&f.push(p),u.push(d)}}return u}function nL(e,t,r,n){return nk(e,function(e,a,s){t(n,r(e),a,s)}),n}function nR(e,r,n){r=aw(r,e);var a=(e=sH(e,r))==null?e:e[sK(iy(r))];return a==null?t:to(a,e,n)}function nC(e){return ly(e)&&nS(e)==u}function nM(e){return ly(e)&&nS(e)==x}function nI(e){return ly(e)&&nS(e)==f}function nD(e,t,r,n,a){return e===t?!0:(0,e==null||t==null||!ly(e)&&!ly(t))?e!=e&&t!=t:(0,nN(e,t,r,n,nD,a))}function nN(e,t,r,n,a,s){var i=le(e),o=le(t),l=i?m:sy(e),c=o?m:sy(t);l=l==u?k:l,c=c==u?k:c;var h=l==k,f=c==k,d=l==c;if(d&&ls(e)){if(!ls(t))return!1;i=!0,h=!1}if(d&&!h)return s||(s=new rZ),i||lC(e)?st(e,t,r,n,a,s):sr(e,t,l,r,n,a,s);if(!(r&1)){var p=h&&eO.call(e,"__wrapped__"),g=f&&eO.call(t,"__wrapped__");if(p||g){var y=p?e.value():e,b=g?t.value():t;return s||(s=new rZ),a(y,b,r,n,s)}}return!d?!1:(s||(s=new rZ),sn(e,t,r,n,a,s))}function nq(e){return ly(e)&&sy(e)==y}function nz(e,r,n,a){var s=n.length,i=s,o=!a;if(e==null)return!i;e=ev(e);while(s--){var l=n[s];if(o&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++s<i){var c=(l=n[s])[0],u=e[c],m=l[1];if(o&&l[2]){if(u===t&&!(c in e))return!1}else{var h=new rZ;if(a)var f=a(u,m,c,e,r,h);if(!(f===t?nD(m,u,1|2,a,h):f))return!1}}return!0}function n$(e){return!lg(e)||sR(e)?!1:(0,(lf(e)?eN:eu).test(sX(e)))}function nP(e){return ly(e)&&nS(e)==w}function nH(e){return ly(e)&&sy(e)==_}function nF(e){return ly(e)&&lp(e.length)&&!!eX[nS(e)]}function nG(e){return typeof e=="function"?e:(0,e==null)?ur:(0,typeof e=="object")?le(e)?nJ(e[0],e[1]):nV(e):(0,up(e))}function nU(e){if(!sM(e))return t1(e);var t=[];for(var r in ev(e))eO.call(e,r)&&r!="constructor"&&t.push(r);return t}function nB(e){if(!lg(e))return sz(e);var t=sM(e),r=[];for(var n in e)!(n=="constructor"&&(t||!eO.call(e,n)))&&r.push(n);return r}function nY(e,t){return e<t}function nW(e,t){var r=-1,n=lr(e)?en(e.length):[];return nu(e,function(e,a,s){n[++r]=t(e,a,s)}),n}function nV(e){var t=sh(e);return t.length==1&&t[0][2]?sD(t[0][0],t[0][1]):(0,function(r){return r===e||nz(r,e,t)})}function nJ(e,r){return sA(e)&&sI(r)?sD(sK(e),r):(0,function(n){var a=l4(n,e);return a===t&&a===r?ce(n,e):nD(r,a,1|2)})}function nZ(e,r,n,a,s){if(e===r)return;ny(r,function(i,o){if(s||(s=new rZ),lg(i))nK(e,r,o,n,nZ,a,s);else{var l=a?a(sG(e,o),i,o+"",e,r,s):t;l===t&&(l=i),r8(e,o,l)}},cs)}function nK(e,r,n,a,s,i,o){var l=sG(e,n),c=sG(r,n),u=o.get(c);if(u){r8(e,n,u);return}var m=i?i(l,c,n+"",e,r,o):t;var h=m===t;if(h){var f=le(c),d=!f&&ls(c),p=!f&&!d&&lC(c);m=c,f||d||p?le(l)?m=l:ln(l)?m=aI(l):d?(h=!1,m=aS(c,!0)):p?(h=!1,m=aO(c,!0)):m=[]:lx(c)||o9(c)?(m=l,o9(l)?m=lG(l):(!lg(l)||lf(l))&&(m=s_(c))):h=!1}h&&(o.set(c,m),s(m,c,a,i,o),o["delete"](c)),r8(e,n,m)}function nX(e,r){var n=e.length;if(!n)return;return sx(r+=r<0?n:0,n)?e[r]:t}function nQ(e,t,r){t=t.length?tp(t,function(e){return le(e)?function(t){return n_(t,e.length===1?e[0]:e)}:(0,e)}):[ur];var n=-1;return t=tp(t,tq(su())),tC(nW(e,function(e,r,a){return{"criteria":tp(t,function(t){return t(e)}),"index":++n,"value":e}}),function(e,t){return aR(e,t,r)})}function n0(e,t){return n1(e,t,function(t,r){return ce(e,r)})}function n1(e,t,r){var n=-1,a=t.length,s={};while(++n<a){var i=t[n],o=n_(e,i);r(o,i)&&at(s,aw(i,e),o)}return s}function n3(e){return function(t){return n_(t,e)}}function n6(e,t,r,n){var a=n?tx:tj,s=-1,i=t.length,o=e;e===t&&(t=aI(t)),r&&(o=tp(e,tq(r)));while(++s<i){var l=0,c=t[s],u=r?r(c):c;while((l=a(o,u,l,n))>-1)o!==e&&eY.call(o,l,1),eY.call(e,l,1)}return e}function n2(e,t){var r=e?t.length:0,n=r-1;while(r--){var a=t[r];if(r==n||a!==s){var s=a;sx(a)?eY.call(e,a,1):af(e,a)}}return e}function n5(e,t){return e+e9(rn()*(t-e+1))}function n8(e,t,r,n){var a=-1,s=t7(e7((t-e)/(r||1)),0),i=en(s);while(s--)i[n?s:++a]=e,e+=r;return i}function n7(e,t){var r="";if(!e||t<1||t>0x1fffffffffffff)return r;do t%2&&(r+=e),(t=e9(t/2))&&(e+=e);while(t)return r}function n4(e,t){return sY(sP(e,t,ur),e+"")}function n9(e){return r6(cT(e))}function ae(e,t){var r=cT(e);return sJ(r,na(t,0,r.length))}function at(e,r,n,a){if(!lg(e))return e;r=aw(r,e);var s=-1,i=r.length,o=i-1,l=e;while(l!=null&&++s<i){var c=sK(r[s]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(s!=o){var m=l[c];(u=a?a(m,c,l):t)===t&&(u=lg(m)?m:sx(r[s+1])?[]:{})}r7(l,c,u),l=l[c]}return e}var ar=!rm?ur:function(e,t){return rm.set(e,t),e};var an=!e0?ur:function(e,t){return e0(e,"toString",{"configurable":!0,"enumerable":!1,"value":c4(t),"writable":!0})};function aa(e){return sJ(cT(e))}function as(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;var s=en(a);while(++n<a)s[n]=e[n+t];return s}function ai(e,t){var r;return nu(e,function(e,n,a){return!(r=t(e,n,a))}),!!r}function ao(e,t,r){var n=0,a=e==null?n:e.length;if(typeof t=="number"&&t==t&&a<=l){while(n<a){var s=n+a>>>1,i=e[s];i!==null&&!lR(i)&&(r?i<=t:i<t)?n=s+1:a=s}return a}return al(e,t,ur,r)}function al(e,r,n,a){var s=0,i=e==null?0:e.length;if(i===0)return 0;var l=(r=n(r))!=r,c=r===null,u=lR(r),m=r===t;while(s<i){var h=e9((s+i)/2),f=n(e[h]),d=f!==t,p=f===null,g=f==f,y=lR(f);if(l)var b=a||g;else b=m?g&&(a||d):c?g&&d&&(a||!p):u?g&&d&&!p&&(a||!y):p||y?!1:a?f<=r:f<r;b?s=h+1:i=h}return t4(i,o)}function ac(e,t){var r=-1,n=e.length,a=0,s=[];while(++r<n){var i=e[r],o=t?t(i):i;if(!r||!o8(o,l)){var l=o;s[a++]=i===0?0:i}}return s}function au(e){return typeof e=="number"?e:(0,lR(e))?i:(0,+e)}function am(e){if(typeof e=="string")return e;if(le(e))return tp(e,am)+"";if(lR(e))return rv?rv.call(e):"";var t=e+"";return t=="0"&&1/e==-s?"-0":t}function ah(e,t,r){var n=-1,a=tf,s=e.length,i=!0,o=[],l=o;if(r)i=!1,a=td;else if(s>=200){var c=t?null:a5(e);if(c)return tQ(c);i=!1,a=t$,l=new rW}else l=t?[]:o;e:while(++n<s){var u=e[n],m=t?t(u):u;if(u=r||u!==0?u:0,i&&m==m){var h=l.length;while(h--)if(l[h]===m)continue e;t&&l.push(m),o.push(u)}else!a(l,m,r)&&(l!==o&&l.push(m),o.push(u))}return o}function af(e,t){t=aw(t,e);var r=-1,n=t.length;if(!n)return!0;while(++r<n){var a=sK(t[r]);if(a==="__proto__"&&!eO.call(e,"__proto__")||(a==="constructor"||a==="prototype")&&r<n-1)return!1}var s=sH(e,t);return s==null||delete s[sK(iy(t))]}function ad(e,t,r,n){return at(e,t,r(n_(e,t)),n)}function ap(e,t,r,n){var a=e.length,s=n?a:-1;while((n?s--:++s<a)&&t(e[s],s,e));return r?as(e,n?0:s,n?s+1:a):as(e,n?s+1:0,n?a:s)}function ag(e,t){var r=e;return r instanceof rj&&(r=r.value()),ty(t,function(e,t){return t.func.apply(t.thisArg,tg([e],t.args))},r)}function ay(e,t,r){var n=e.length;if(n<2)return n?ah(e[0]):[];var a=-1,s=en(n);while(++a<n){var i=e[a],o=-1;while(++o<n)o!=a&&(s[a]=nc(s[a]||i,e[o],t,r))}return ah(ng(s,1),t,r)}function ab(e,r,n){var a=-1,s=e.length,i=r.length,o={};while(++a<s){var l=a<i?r[a]:t;n(o,e[a],l)}return o}function ak(e){return ln(e)?e:[]}function av(e){return typeof e=="function"?e:ur}function aw(e,t){return le(e)?e:(0,sA(e,t)?[e]:sZ(lB(e)))}function a_(e,r,n){var a=e.length;return n=n===t?a:n,!r&&n>=a?e:as(e,r,n)}var aT=e6||function(e){return e5.clearTimeout(e)};function aS(e,t){if(t)return e.slice();var r=e.length,n=eP?eP(r):new e.constructor(r);return e.copy(n),n}function aj(e){var t=new e.constructor(e.byteLength);return new e$(t).set(new e$(e)),t}function ax(e,t){var r=t?aj(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function aE(e){var t=new e.constructor(e.source,eo.exec(e));return t.lastIndex=e.lastIndex,t}function aA(e){return rk?ev(rk.call(e)):{}}function aO(e,t){var r=t?aj(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function aL(e,r){if(e!==r){var n=e!==t,a=e===null,s=e==e,i=lR(e);var o=r!==t,l=r===null,c=r==r,u=lR(r);if(!l&&!u&&!i&&e>r||i&&o&&c&&!l&&!u||a&&o&&c||!n&&c||!s)return 1;if(!a&&!i&&!u&&e<r||u&&n&&s&&!a&&!i||l&&n&&s||!o&&s||!c)return-1}return 0}function aR(e,t,r){var n=-1,a=e.criteria,s=t.criteria,i=a.length,o=r.length;while(++n<i){var l=aL(a[n],s[n]);if(l){if(n>=o)return l;return l*(r[n]=="desc"?-1:1)}}return e.index-t.index}function aC(e,t,r,n){var a=-1,s=e.length,i=r.length,o=-1,l=t.length,c=t7(s-i,0),u=en(l+c),m=!n;while(++o<l)u[o]=t[o];while(++a<i)(m||a<s)&&(u[r[a]]=e[a]);while(c--)u[o++]=e[a++];return u}function aM(e,t,r,n){var a=-1,s=e.length,i=-1,o=r.length,l=-1,c=t.length,u=t7(s-o,0),m=en(u+c),h=!n;while(++a<u)m[a]=e[a];var f=a;while(++l<c)m[f+l]=t[l];while(++i<o)(h||a<s)&&(m[f+r[i]]=e[a++]);return m}function aI(e,t){var r=-1,n=e.length;t||(t=en(n));while(++r<n)t[r]=e[r];return t}function aD(e,r,n,a){var s=!n;n||(n={});var i=-1,o=r.length;while(++i<o){var l=r[i];var c=a?a(n[l],e[l],l,n,e):t;c===t&&(c=e[l]),s?nr(n,l,c):r7(n,l,c)}return n}function aN(e,t){return aD(e,sp(e),t)}function aq(e,t){return aD(e,sg(e),t)}function az(e,t){return function(r,n){var a=le(r)?tl:r9,s=t?t():{};return a(r,e,su(n,2),s)}}function a$(e){return n4(function(r,n){var a=-1,s=n.length,i=s>1?n[s-1]:t,o=s>2?n[2]:t;i=e.length>3&&typeof i=="function"?(s--,i):t,o&&sE(n[0],n[1],o)&&(i=s<3?t:i,s=1),r=ev(r);while(++a<s){var l=n[a];l&&e(r,l,a,i)}return r})}function aP(e,t){return function(r,n){if(r==null)return r;if(!lr(r))return e(r,n);var a=r.length,s=t?a:-1,i=ev(r);while(t?s--:++s<a)if(n(i[s],s,i)===!1)break;return r}}function aH(e){return function(t,r,n){var a=-1,s=ev(t),i=n(t),o=i.length;while(o--){var l=i[e?o:++a];if(r(s[l],l,s)===!1)break}return t}}function aF(e,t,r){var n=t&1,a=aB(e);function s(){return(this&&this!==e5&&this instanceof s?a:e).apply(n?r:this,arguments)}return s}function aG(e){return function(r){var n=tW(r=lB(r))?t2(r):t;var a=n?n[0]:r.charAt(0);var s=n?a_(n,1).join(""):r.slice(1);return a[e]()+s}}function aU(e){return function(t){return ty(c6(cL(t).replace(eU,"")),e,"")}}function aB(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=r_(e.prototype),n=e.apply(r,t);return lg(n)?n:r}}function aY(e,r,n){var a=aB(e);function s(){var i=arguments.length,o=en(i),l=i,c=sc(s);while(l--)o[l]=arguments[l];var u=i<3&&o[0]!==c&&o[i-1]!==c?[]:tX(o,c);return(i-=u.length)<n?a6(e,r,aJ,s.placeholder,t,o,u,t,t,n-i):(0,to(this&&this!==e5&&this instanceof s?a:e,this,o))}return s}function aW(e){return function(r,n,a){var s=ev(r);if(!lr(r)){var i=su(n,3);r=ca(r),n=function(e){return i(s[e],e,s)}}var o=e(r,n,a);return o>-1?s[i?r[o]:o]:t}}function aV(e){return sa(function(n){var a=n.length,s=a,i=rS.prototype.thru;e&&n.reverse();while(s--){var o=n[s];if(typeof o!="function")throw new eT(r);if(i&&!l&&sl(o)=="wrapper")var l=new rS([],!0)}s=l?s:a;while(++s<a){var c=sl(o=n[s]),u=c=="wrapper"?so(o):t;l=u&&sL(u[0])&&u[1]==(128|8|32|256)&&!u[4].length&&u[9]==1?l[sl(u[0])].apply(l,u[3]):o.length==1&&sL(o)?l[c]():l.thru(o)}return function(){var e=arguments,t=e[0];if(l&&e.length==1&&le(t))return l.plant(t).value();var r=0,s=a?n[r].apply(this,e):t;while(++r<a)s=n[r].call(this,s);return s}})}function aJ(e,r,n,a,s,i,o,l,c,u){var m=r&128,h=r&1,f=r&2,d=r&(8|16),p=r&512,g=f?t:aB(e);function y(){var t=arguments.length,b=en(t),k=t;while(k--)b[k]=arguments[k];if(d)var v=sc(y),w=tF(b,v);if(a&&(b=aC(b,a,s,d)),i&&(b=aM(b,i,o,d)),t-=w,d&&t<u){var _=tX(b,v);return a6(e,r,aJ,y.placeholder,n,b,_,l,c,u-t)}var T=h?n:this,S=f?T[e]:e;return t=b.length,l?b=sF(b,l):p&&t>1&&b.reverse(),m&&c<t&&(b.length=c),this&&this!==e5&&this instanceof y&&(S=g||aB(S)),S.apply(T,b)}return y}function aZ(e,t){return function(r,n){return nL(r,e,t(n),{})}}function aK(e,r){return function(n,a){var s;if(n===t&&a===t)return r;if(n!==t&&(s=n),a!==t){if(s===t)return a;typeof n=="string"||typeof a=="string"?(n=am(n),a=am(a)):(n=au(n),a=au(a)),s=e(n,a)}return s}}function aX(e){return sa(function(t){return t=tp(t,tq(su())),n4(function(r){var n=this;return e(t,function(e){return to(e,n,r)})})})}function aQ(e,r){var n=(r=r===t?" ":am(r)).length;if(n<2)return n?n7(r,e):r;var a=n7(r,e7(e/t6(r)));return tW(r)?a_(t2(a),0,e).join(""):a.slice(0,e)}function a0(e,t,r,n){var a=t&1,s=aB(e);function i(){var t=-1,o=arguments.length,l=-1,c=n.length,u=en(c+o),m=this&&this!==e5&&this instanceof i?s:e;while(++l<c)u[l]=n[l];while(o--)u[l++]=arguments[++t];return to(m,a?r:this,u)}return i}function a1(e){return function(r,n,a){return a&&typeof a!="number"&&sE(r,n,a)&&(n=a=t),r=l$(r),n===t?(n=r,r=0):n=l$(n),a=a===t?r<n?1:-1:l$(a),n8(r,n,a,e)}}function a3(e){return function(t,r){return!(typeof t=="string"&&typeof r=="string")&&(t=lF(t),r=lF(r)),e(t,r)}}function a6(e,r,n,a,s,i,o,l,c,u){var m=r&8,h=m?o:t,f=m?t:o,d=m?i:t,p=m?t:i;r|=m?32:64,!((r&=~(m?64:32))&4)&&(r&=~(1|2));var g=[e,r,s,d,h,p,f,l,c,u];var y=n.apply(t,g);return sL(e)&&sU(y,g),y.placeholder=a,sW(y,e,r)}function a2(e){var t=ek[e];return function(e,r){if(e=lF(e),(r=r==null?0:t4(lP(r),292))&&tw(e)){var n=(lB(e)+"e").split("e");return+((n=(lB(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var a5=!(rl&&1/tQ(new rl([,-0]))[1]==s)?uu:function(e){return new rl(e)};function a8(e){return function(t){var r=sy(t);return r==y?tZ(t):(0,r==_)?t0(t):(0,tD(t,e(t)))}}function a7(e,n,a,s,i,o,l,c){var u=n&2;if(!u&&typeof e!="function")throw new eT(r);var m=s?s.length:0;if(!m&&(n&=~(32|64),s=i=t),l=l===t?l:t7(lP(l),0),c=c===t?c:lP(c),m-=i?i.length:0,n&64){var h=s,f=i;s=i=t}var d=u?t:so(e);var p=[e,n,a,s,i,h,f,o,l,c];if(d&&sq(p,d),e=p[0],n=p[1],a=p[2],s=p[3],i=p[4],!(c=p[9]=p[9]===t?u?0:e.length:t7(p[9]-m,0))&&n&(8|16)&&(n&=~(8|16)),n&&n!=1)g=n==8||n==16?aY(e,n,c):n!=32&&n!=(1|32)||i.length?aJ.apply(t,p):a0(e,n,a,s);else var g=aF(e,n,a);return sW((d?ar:sU)(g,p),e,n)}function a4(e,r,n,a){return e===t||o8(e,ex[n])&&!eO.call(a,n)?r:(0,e)}function a9(e,r,n,a,s,i){return lg(e)&&lg(r)&&(i.set(r,e),nZ(e,r,t,a9,i),i["delete"](r)),e}function se(e){return lx(e)?t:e}function st(e,r,n,a,s,i){var o=n&1,l=e.length,c=r.length;if(l!=c&&!(o&&c>l))return!1;var u=i.get(e);var m=i.get(r);if(u&&m)return u==r&&m==e;var h=-1,f=!0,d=n&2?new rW:t;i.set(e,r),i.set(r,e);while(++h<l){var p=e[h],g=r[h];if(a)var y=o?a(g,p,h,r,e,i):a(p,g,h,e,r,i);if(y!==t){if(y)continue;f=!1;break}if(d){if(!tk(r,function(e,t){if(!t$(d,t)&&(p===e||s(p,e,n,a,i)))return d.push(t)})){f=!1;break}}else if(!(p===g||s(p,g,n,a,i))){f=!1;break}}return i["delete"](e),i["delete"](r),f}function sr(e,t,r,n,a,s,i){switch(r){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:if(e.byteLength!=t.byteLength||!s(new e$(e),new e$(t)))return!1;return!0;case h:case f:case b:return o8(+e,+t);case d:return e.name==t.name&&e.message==t.message;case w:case T:return e==t+"";case y:var o=tZ;case _:var l=n&1;if(o||(o=tQ),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;n|=2,i.set(e,t);var u=st(o(e),o(t),n,a,s,i);return i["delete"](e),u;case S:if(rk)return rk.call(e)==rk.call(t)}return!1}function sn(e,r,n,a,s,i){var o=n&1,l=ss(e),c=l.length;if(c!=ss(r).length&&!o)return!1;var u=c;while(u--){var m=l[u];if(!(o?m in r:eO.call(r,m)))return!1}var h=i.get(e);var f=i.get(r);if(h&&f)return h==r&&f==e;var d=!0;i.set(e,r),i.set(r,e);var p=o;while(++u<c){var g=e[m=l[u]],y=r[m];if(a)var b=o?a(y,g,m,r,e,i):a(g,y,m,e,r,i);if(!(b===t?g===y||s(g,y,n,a,i):b)){d=!1;break}p||(p=m=="constructor")}if(d&&!p){var k=e.constructor,v=r.constructor;k!=v&&"constructor"in e&&"constructor"in r&&!(typeof k=="function"&&k instanceof k&&typeof v=="function"&&v instanceof v)&&(d=!1)}return i["delete"](e),i["delete"](r),d}function sa(e){return sY(sP(e,t,is),e+"")}function ss(e){return nT(e,ca,sp)}function si(e){return nT(e,cs,sg)}var so=!rm?uu:function(e){return rm.get(e)};function sl(e){var t=e.name+"",r=rh[t],n=eO.call(rh,t)?r.length:0;while(n--){var a=r[n],s=a.func;if(s==null||s==e)return a.name}return t}function sc(e){return(eO.call(rw,"placeholder")?rw:e).placeholder}function su(){var e=rw.iteratee||un;return e=e===un?nG:e,arguments.length?e(arguments[0],arguments[1]):e}function sm(e,t){var r=e.__data__;return sO(t)?r[typeof t=="string"?"string":"hash"]:r.map}function sh(e){var t=ca(e),r=t.length;while(r--){var n=t[r],a=e[n];t[r]=[n,a,sI(a)]}return t}function sf(e,r){var n=tY(e,r);return n$(n)?n:t}function sd(e){var r=eO.call(e,eJ),n=e[eJ];try{e[eJ]=t;var a=!0}catch(e){}var s=eM.call(e);return a&&(r?e[eJ]=n:delete e[eJ]),s}var sp=!te?uk:function(e){return e==null?[]:(0,th(te(e=ev(e)),function(t){return eG.call(e,t)}))};var sg=!te?uk:function(e){var t=[];while(e)tg(t,sp(e)),e=eH(e);return t};var sy=nS;function sb(e,t,r){var n=-1,a=r.length;while(++n<a){var s=r[n],i=s.size;switch(s.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=t4(t,e+i);break;case"takeRight":e=t7(e,t-i);break}}return{"start":e,"end":t}}function sk(e){var t=e.match(et);return t?t[1].split(er):[]}function sv(e,t,r){t=aw(t,e);var n=-1,a=t.length,s=!1;while(++n<a){var i=sK(t[n]);if(!(s=e!=null&&r(e,i)))break;e=e[i]}return s||++n!=a?s:(0,!!(a=e==null?0:e.length)&&lp(a)&&sx(i,a)&&(le(e)||o9(e)))}function sw(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&eO.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function s_(e){return typeof e.constructor=="function"&&!sM(e)?r_(eH(e)):{}}function sT(e,t,r){var n=e.constructor;switch(t){case x:return aj(e);case h:case f:return new n(+e);case E:return ax(e,r);case A:case O:case L:case R:case C:case M:case I:case D:case N:return aO(e,r);case y:return new n;case b:case T:return new n(e);case w:return aE(e);case _:return new n;case S:return aA(e)}}function sS(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(ee,`{
/* [wrapped with `+t+`] */
`)}function sj(e){return le(e)||o9(e)||!!(eW&&e&&e[eW])}function sx(e,t){var r=typeof e;return!!(t=t==null?0x1fffffffffffff:t)&&(r=="number"||r!="symbol"&&eh.test(e))&&e>-1&&e%1==0&&e<t}function sE(e,t,r){if(!lg(r))return!1;var n=typeof t;return(n=="number"?lr(r)&&sx(t,r.length):n=="string"&&t in r)?o8(r[t],e):(0,!1)}function sA(e,t){if(le(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||lR(e)?!0:(0,V.test(e)||!W.test(e)||t!=null&&e in ev(t))}function sO(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function sL(e){var t=sl(e),r=rw[t];if(typeof r!="function"||!(t in rj.prototype))return!1;if(e===r)return!0;var n=so(r);return!!n&&e===n[0]}function sR(e){return!!eC&&eC in e}(rs&&sy(new rs(new ArrayBuffer(1)))!=E||ri&&sy(new ri)!=y||ro&&sy(ro.resolve())!=v||rl&&sy(new rl)!=_||rc&&sy(new rc)!=j)&&(sy=function(e){var r=nS(e),n=r==k?e.constructor:t,a=n?sX(n):"";if(a)switch(a){case rf:return E;case rd:return y;case rp:return v;case rg:return _;case ry:return j}return r});var sC=eE?lf:uv;function sM(e){var t=e&&e.constructor;return e===(typeof t=="function"&&t.prototype||ex)}function sI(e){return e==e&&!lg(e)}function sD(e,r){return function(n){return n==null?!1:(0,n[e]===r&&(r!==t||e in ev(n)))}}function sN(e){var t=oF(e,function(e){return r.size===500&&r.clear(),e});var r=t.cache;return t}function sq(e,t){var r=e[1],n=t[1],s=r|n,i=s<(1|2|128);var o=n==128&&r==8||n==128&&r==256&&e[7].length<=t[8]||n==(128|256)&&t[7].length<=t[8]&&r==8;if(!(i||o))return e;n&1&&(e[2]=t[2],s|=r&1?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?aC(c,l,t[4]):l,e[4]=c?tX(e[3],a):t[4]}return(l=t[5])&&(c=e[5],e[5]=c?aM(c,l,t[6]):l,e[6]=c?tX(e[5],a):t[6]),(l=t[7])&&(e[7]=l),n&128&&(e[8]=e[8]==null?t[8]:t4(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=s,e}function sz(e){var t=[];if(e!=null)for(var r in ev(e))t.push(r);return t}function s$(e){return eM.call(e)}function sP(e,r,n){return r=t7(r===t?e.length-1:r,0),function(){var t=arguments,a=-1,s=t7(t.length-r,0),i=en(s);while(++a<s)i[a]=t[r+a];a=-1;var o=en(r+1);while(++a<r)o[a]=t[a];return o[r]=n(i),to(e,this,o)}}function sH(e,t){return t.length<2?e:n_(e,as(t,0,-1))}function sF(e,r){var n=e.length,a=t4(r.length,n),s=aI(e);while(a--){var i=r[a];e[a]=sx(i,n)?s[i]:t}return e}function sG(e,t){if(t==="constructor"&&typeof e[t]=="function"||t=="__proto__")return;return e[t]}var sU=sV(ar);var sB=e8||function(e,t){return e5.setTimeout(e,t)};var sY=sV(an);function sW(e,t,r){var n=t+"";return sY(e,sS(n,sQ(sk(n),r)))}function sV(e){var r=0,n=0;return function(){var a=rt(),s=16-(a-n);if(n=a,s>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(t,arguments)}}function sJ(e,r){var n=-1,a=e.length,s=a-1;r=r===t?a:r;while(++n<r){var i=n5(n,s),o=e[i];e[i]=e[n],e[n]=o}return e.length=r,e}var sZ=sN(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(J,function(e,r,n,a){t.push(n?a.replace(es,"$1"):r||e)}),t});function sK(e){if(typeof e=="string"||lR(e))return e;var t=e+"";return t=="0"&&1/e==-s?"-0":t}function sX(e){if(e!=null){try{return eA.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function sQ(e,t){return tc(c,function(r){var n="_."+r[0];t&r[1]&&!tf(e,n)&&e.push(n)}),e.sort()}function s0(e){if(e instanceof rj)return e.clone();var t=new rS(e.__wrapped__,e.__chain__);return t.__actions__=aI(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function s1(e,r,n){r=(n?sE(e,r,n):r===t)?1:t7(lP(r),0);var a=e==null?0:e.length;if(!a||r<1)return[];var s=0,i=0,o=en(e7(a/r));while(s<a)o[i++]=as(e,s,s+=r);return o}function s3(e){var t=-1,r=e==null?0:e.length,n=0,a=[];while(++t<r){var s=e[t];s&&(a[n++]=s)}return a}function s6(){var e=arguments.length;if(!e)return[];var t=en(e-1),r=arguments[0],n=e;while(n--)t[n-1]=arguments[n];return tg(le(r)?aI(r):[r],ng(t,1))}var s2=n4(function(e,t){return ln(e)?nc(e,ng(t,1,ln,!0)):[]});var s5=n4(function(e,r){var n=iy(r);return ln(n)&&(n=t),ln(e)?nc(e,ng(r,1,ln,!0),su(n,2)):[]});var s8=n4(function(e,r){var n=iy(r);return ln(n)&&(n=t),ln(e)?nc(e,ng(r,1,ln,!0),t,n):[]});function s7(e,r,n){var a=e==null?0:e.length;return!a?[]:(0,as(e,(r=n||r===t?1:lP(r))<0?0:r,a))}function s4(e,r,n){var a=e==null?0:e.length;return!a?[]:(0,as(e,0,(r=a-(r=n||r===t?1:lP(r)))<0?0:r))}function s9(e,t){return e&&e.length?ap(e,su(t,3),!0,!0):[]}function ie(e,t){return e&&e.length?ap(e,su(t,3),!0):[]}function it(e,t,r,n){var a=e==null?0:e.length;return!a?[]:(r&&typeof r!="number"&&sE(e,t,r)&&(r=0,n=a),nd(e,t,r,n))}function ir(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var a=r==null?0:lP(r);return a<0&&(a=t7(n+a,0)),tS(e,su(t,3),a)}function ia(e,r,n){var a=e==null?0:e.length;if(!a)return-1;var s=a-1;return n!==t&&(s=lP(n),s=n<0?t7(a+s,0):t4(s,a-1)),tS(e,su(r,3),s,!0)}function is(e){return(e==null?0:e.length)?ng(e,1):[]}function ii(e){return(e==null?0:e.length)?ng(e,s):[]}function io(e,r){return!(e==null?0:e.length)?[]:(0,ng(e,r=r===t?1:lP(r)))}function il(e){var t=-1,r=e==null?0:e.length,n={};while(++t<r){var a=e[t];nr(n,a[0],a[1])}return n}function ic(e){return e&&e.length?e[0]:t}function iu(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var a=r==null?0:lP(r);return a<0&&(a=t7(n+a,0)),tj(e,t,a)}function im(e){return(e==null?0:e.length)?as(e,0,-1):[]}var ih=n4(function(e){var t=tp(e,ak);return t.length&&t[0]===e[0]?nO(t):[]});var id=n4(function(e){var r=iy(e),n=tp(e,ak);return r===iy(n)?r=t:n.pop(),n.length&&n[0]===e[0]?nO(n,su(r,2)):[]});var ip=n4(function(e){var r=iy(e),n=tp(e,ak);return(r=typeof r=="function"?r:t)&&n.pop(),n.length&&n[0]===e[0]?nO(n,t,r):[]});function ig(e,t){return e==null?"":tL.call(e,t)}function iy(e){var r=e==null?0:e.length;return r?e[r-1]:t}function ib(e,r,n){var a=e==null?0:e.length;if(!a)return-1;var s=a;return n!==t&&(s=(s=lP(n))<0?t7(a+s,0):t4(s,a-1)),r==r?t3(e,r,s):tS(e,tE,s,!0)}function ik(e,r){return e&&e.length?nX(e,lP(r)):t}var iv=n4(iw);function iw(e,t){return e&&e.length&&t&&t.length?n6(e,t):e}function i_(e,t,r){return e&&e.length&&t&&t.length?n6(e,t,su(r,2)):e}function iT(e,r,n){return e&&e.length&&r&&r.length?n6(e,r,t,n):e}var iS=sa(function(e,t){var r=e==null?0:e.length,n=nn(e,t);return n2(e,tp(t,function(e){return sx(e,r)?+e:e}).sort(aL)),n});function ij(e,t){var r=[];if(!(e&&e.length))return r;var n=-1,a=[],s=e.length;t=su(t,3);while(++n<s){var i=e[n];t(i,n,e)&&(r.push(i),a.push(n))}return n2(e,a),r}function ix(e){return e==null?e:ra.call(e)}function iE(e,r,n){var a=e==null?0:e.length;return!a?[]:(n&&typeof n!="number"&&sE(e,r,n)?(r=0,n=a):(r=r==null?0:lP(r),n=n===t?a:lP(n)),as(e,r,n))}function iA(e,t){return ao(e,t)}function iO(e,t,r){return al(e,t,su(r,2))}function iL(e,t){var r=e==null?0:e.length;if(r){var n=ao(e,t);if(n<r&&o8(e[n],t))return n}return-1}function iR(e,t){return ao(e,t,!0)}function iC(e,t,r){return al(e,t,su(r,2),!0)}function iM(e,t){if(e==null?0:e.length){var r=ao(e,t,!0)-1;if(o8(e[r],t))return r}return-1}function iI(e){return e&&e.length?ac(e):[]}function iD(e,t){return e&&e.length?ac(e,su(t,2)):[]}function iN(e){var t=e==null?0:e.length;return t?as(e,1,t):[]}function iq(e,r,n){return!(e&&e.length)?[]:(0,as(e,0,(r=n||r===t?1:lP(r))<0?0:r))}function iz(e,r,n){var a=e==null?0:e.length;return!a?[]:(0,as(e,(r=a-(r=n||r===t?1:lP(r)))<0?0:r,a))}function i$(e,t){return e&&e.length?ap(e,su(t,3),!1,!0):[]}function iP(e,t){return e&&e.length?ap(e,su(t,3)):[]}var iH=n4(function(e){return ah(ng(e,1,ln,!0))});var iF=n4(function(e){var r=iy(e);return ln(r)&&(r=t),ah(ng(e,1,ln,!0),su(r,2))});var iG=n4(function(e){var r=iy(e);return r=typeof r=="function"?r:t,ah(ng(e,1,ln,!0),t,r)});function iU(e){return e&&e.length?ah(e):[]}function iB(e,t){return e&&e.length?ah(e,su(t,2)):[]}function iY(e,r){return r=typeof r=="function"?r:t,e&&e.length?ah(e,t,r):[]}function iW(e){if(!(e&&e.length))return[];var t=0;return e=th(e,function(e){if(ln(e))return t=t7(e.length,t),!0}),tI(t,function(t){return tp(e,tO(t))})}function iV(e,r){if(!(e&&e.length))return[];var n=iW(e);return r==null?n:(0,tp(n,function(e){return to(r,t,e)}))}var iJ=n4(function(e,t){return ln(e)?nc(e,t):[]});var iZ=n4(function(e){return ay(th(e,ln))});var iK=n4(function(e){var r=iy(e);return ln(r)&&(r=t),ay(th(e,ln),su(r,2))});var iX=n4(function(e){var r=iy(e);return r=typeof r=="function"?r:t,ay(th(e,ln),t,r)});var iQ=n4(iW);function i0(e,t){return ab(e||[],t||[],r7)}function i1(e,t){return ab(e||[],t||[],at)}var i3=n4(function(e){var r=e.length,n=r>1?e[r-1]:t;return n=typeof n=="function"?(e.pop(),n):t,iV(e,n)});function i6(e){var t=rw(e);return t.__chain__=!0,t}function i2(e,t){return t(e),e}function i5(e,t){return t(e)}var i8=sa(function(e){var r=e.length,n=r?e[0]:0,a=this.__wrapped__,s=function(t){return nn(t,e)};return r>1||this.__actions__.length||!(a instanceof rj)||!sx(n)?this.thru(s):((a=a.slice(n,+n+(r?1:0))).__actions__.push({"func":i5,"args":[s],"thisArg":t}),new rS(a,this.__chain__).thru(function(e){return r&&!e.length&&e.push(t),e}))});function i7(){return i6(this)}function i4(){return new rS(this.value(),this.__chain__)}function i9(){this.__values__===t&&(this.__values__=lz(this.value()));var e=this.__index__>=this.__values__.length,r=e?t:this.__values__[this.__index__++];return{"done":e,"value":r}}function oe(){return this}function ot(e){var r,n=this;while(n instanceof rT){var a=s0(n);a.__index__=0,a.__values__=t,r?s.__wrapped__=a:r=a;var s=a;n=n.__wrapped__}return s.__wrapped__=e,r}function or(){var e=this.__wrapped__;if(e instanceof rj){var r=e;return this.__actions__.length&&(r=new rj(this)),(r=r.reverse()).__actions__.push({"func":i5,"args":[ix],"thisArg":t}),new rS(r,this.__chain__)}return this.thru(ix)}function on(){return ag(this.__wrapped__,this.__actions__)}var oa=az(function(e,t,r){eO.call(e,r)?++e[r]:nr(e,r,1)});function os(e,r,n){var a=le(e)?tm:nh;return n&&sE(e,r,n)&&(r=t),a(e,su(r,3))}function oi(e,t){return(le(e)?th:np)(e,su(t,3))}var oo=aW(ir);var ol=aW(ia);function oc(e,t){return ng(ob(e,t),1)}function ou(e,t){return ng(ob(e,t),s)}function om(e,r,n){return n=n===t?1:lP(n),ng(ob(e,r),n)}function oh(e,t){return(le(e)?tc:nu)(e,su(t,3))}function of(e,t){return(le(e)?tu:nm)(e,su(t,3))}var od=az(function(e,t,r){eO.call(e,r)?e[r].push(t):nr(e,r,[t])});function op(e,t,r,n){e=lr(e)?e:cT(e),r=r&&!n?lP(r):0;var a=e.length;return r<0&&(r=t7(a+r,0)),lL(e)?r<=a&&e.indexOf(t,r)>-1:!!a&&tj(e,t,r)>-1}var og=n4(function(e,t,r){var n=-1,a=typeof t=="function",s=lr(e)?en(e.length):[];return nu(e,function(e){s[++n]=a?to(t,e,r):nR(e,t,r)}),s});var oy=az(function(e,t,r){nr(e,r,t)});function ob(e,t){return(le(e)?tp:nW)(e,su(t,3))}function ok(e,r,n,a){return e==null?[]:(!le(r)&&(r=r==null?[]:[r]),!le(n=a?t:n)&&(n=n==null?[]:[n]),nQ(e,r,n))}var ov=az(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});function ow(e,t,r){var n=le(e)?ty:tR,a=arguments.length<3;return n(e,su(t,4),r,a,nu)}function o_(e,t,r){var n=le(e)?tb:tR,a=arguments.length<3;return n(e,su(t,4),r,a,nm)}function oT(e,t){return(le(e)?th:np)(e,oG(su(t,3)))}function oS(e){return(le(e)?r6:n9)(e)}function oj(e,r,n){return r=(n?sE(e,r,n):r===t)?1:lP(r),(le(e)?r2:ae)(e,r)}function ox(e){return(le(e)?r5:aa)(e)}function oE(e){if(e==null)return 0;if(lr(e))return lL(e)?t6(e):e.length;var t=sy(e);return t==y||t==_?e.size:(0,nU(e).length)}function oA(e,r,n){var a=le(e)?tk:ai;return n&&sE(e,r,n)&&(r=t),a(e,su(r,3))}var oO=n4(function(e,t){if(e==null)return[];var r=t.length;return r>1&&sE(e,t[0],t[1])?t=[]:r>2&&sE(t[0],t[1],t[2])&&(t=[t[0]]),nQ(e,ng(t,1),[])});var oL=e2||function(){return e5.Date.now()};function oR(e,t){if(typeof t!="function")throw new eT(r);return e=lP(e),function(){if(--e<1)return t.apply(this,arguments)}}function oC(e,r,n){return r=n?t:r,r=e&&r==null?e.length:r,a7(e,128,t,t,t,t,r)}function oM(e,n){var a;if(typeof n!="function")throw new eT(r);return e=lP(e),function(){return--e>0&&(a=n.apply(this,arguments)),e<=1&&(n=t),a}}var oI=n4(function(e,t,r){var n=1;if(r.length){var a=tX(r,sc(oI));n|=32}return a7(e,n,t,r,a)});var oD=n4(function(e,t,r){var n=1|2;if(r.length){var a=tX(r,sc(oD));n|=32}return a7(t,n,e,r,a)});function oN(e,r,n){r=n?t:r;var a=a7(e,8,t,t,t,t,t,r);return a.placeholder=oN.placeholder,a}function oq(e,r,n){r=n?t:r;var a=a7(e,16,t,t,t,t,t,r);return a.placeholder=oq.placeholder,a}function oz(e,n,a){var s,i,o,l,c,u,m=0,h=!1,f=!1,d=!0;if(typeof e!="function")throw new eT(r);function p(r){var n=s,a=i;return s=i=t,m=r,l=e.apply(a,n)}function g(e){return m=e,c=sB(k,n),h?p(e):l}function y(e){var t=e-u,r=e-m,a=n-t;return f?t4(a,o-r):a}function b(e){var r=e-u,a=e-m;return u===t||r>=n||r<0||f&&a>=o}function k(){var e=oL();if(b(e))return v(e);c=sB(k,y(e))}function v(e){return(c=t,d&&s)?p(e):(s=i=t,l)}function w(){return c===t?l:v(oL())}function _(){var e=oL(),r=b(e);if(s=arguments,i=this,u=e,r){if(c===t)return g(u);if(f)return aT(c),c=sB(k,n),p(u)}return c===t&&(c=sB(k,n)),l}return n=lF(n)||0,lg(a)&&(h=!!a.leading,o=(f="maxWait"in a)?t7(lF(a.maxWait)||0,n):o,d="trailing"in a?!!a.trailing:d),_.cancel=function(){c!==t&&aT(c),m=0,s=u=i=c=t},_.flush=w,_}var o$=n4(function(e,t){return nl(e,1,t)});var oP=n4(function(e,t,r){return nl(e,lF(t)||0,r)});function oH(e){return a7(e,512)}function oF(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new eT(r);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],s=n.cache;if(s.has(a))return s.get(a);var i=e.apply(this,r);return n.cache=s.set(a,i)||s,i};return n.cache=new(oF.Cache||rH),n}function oG(e){if(typeof e!="function")throw new eT(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function oU(e){return oM(2,e)}oF.Cache=rH;var oB=n4(function(e,t){var r=(t=t.length==1&&le(t[0])?tp(t[0],tq(su())):tp(ng(t,1),tq(su()))).length;return n4(function(n){var a=-1,s=t4(n.length,r);while(++a<s)n[a]=t[a].call(this,n[a]);return to(e,this,n)})});var oY=n4(function(e,r){var n=tX(r,sc(oY));return a7(e,32,t,r,n)});var oW=n4(function(e,r){var n=tX(r,sc(oW));return a7(e,64,t,r,n)});var oV=sa(function(e,r){return a7(e,256,t,t,t,r)});function oJ(e,n){if(typeof e!="function")throw new eT(r);return n4(e,n=n===t?n:lP(n))}function oZ(e,t){if(typeof e!="function")throw new eT(r);return t=t==null?0:t7(lP(t),0),n4(function(r){var n=r[t],a=a_(r,0,t);return n&&tg(a,n),to(e,this,a)})}function oK(e,t,n){var a=!0,s=!0;if(typeof e!="function")throw new eT(r);return lg(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),oz(e,t,{"leading":a,"maxWait":t,"trailing":s})}function oX(e){return oC(e,1)}function oQ(e,t){return oY(av(t),e)}function o0(){if(!arguments.length)return[];var e=arguments[0];return le(e)?e:[e]}function o1(e){return ns(e,4)}function o3(e,r){return ns(e,4,r=typeof r=="function"?r:t)}function o6(e){return ns(e,1|4)}function o2(e,r){return ns(e,1|4,r=typeof r=="function"?r:t)}function o5(e,t){return t==null||no(e,t,ca(t))}function o8(e,t){return e===t||e!=e&&t!=t}var o7=a3(nj);var o4=a3(function(e,t){return e>=t});var o9=nC(function(){return arguments}())?nC:function(e){return ly(e)&&eO.call(e,"callee")&&!eG.call(e,"callee")};var le=en.isArray;var lt=tt?tq(tt):nM;function lr(e){return e!=null&&lp(e.length)&&!lf(e)}function ln(e){return ly(e)&&lr(e)}function la(e){return e===!0||e===!1||ly(e)&&nS(e)==h}var ls=tv||uv;var li=tr?tq(tr):nI;function lo(e){return ly(e)&&e.nodeType===1&&!lx(e)}function ll(e){if(e==null)return!0;if(lr(e)&&(le(e)||typeof e=="string"||typeof e.splice=="function"||ls(e)||lC(e)||o9(e)))return!e.length;var t=sy(e);if(t==y||t==_)return!e.size;if(sM(e))return!nU(e).length;for(var r in e)if(eO.call(e,r))return!1;return!0}function lc(e,t){return nD(e,t)}function lu(e,r,n){var a=(n=typeof n=="function"?n:t)?n(e,r):t;return a===t?nD(e,r,t,n):!!a}function lm(e){if(!ly(e))return!1;var t=nS(e);return t==d||t=="[object DOMException]"||typeof e.message=="string"&&typeof e.name=="string"&&!lx(e)}function lh(e){return typeof e=="number"&&tw(e)}function lf(e){if(!lg(e))return!1;var t=nS(e);return t==p||t==g||t=="[object AsyncFunction]"||t=="[object Proxy]"}function ld(e){return typeof e=="number"&&e==lP(e)}function lp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function lg(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function ly(e){return e!=null&&typeof e=="object"}var lb=tn?tq(tn):nq;function lk(e,t){return e===t||nz(e,t,sh(t))}function lv(e,r,n){return n=typeof n=="function"?n:t,nz(e,r,sh(r),n)}function lw(e){return lj(e)&&e!=+e}function l_(e){if(sC(e))throw new ey("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return n$(e)}function lT(e){return e===null}function lS(e){return e==null}function lj(e){return typeof e=="number"||ly(e)&&nS(e)==b}function lx(e){if(!ly(e)||nS(e)!=k)return!1;var t=eH(e);if(t===null)return!0;var r=eO.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&eA.call(r)==eI}var lE=ta?tq(ta):nP;function lA(e){return ld(e)&&e>=-0x1fffffffffffff&&e<=0x1fffffffffffff}var lO=ts?tq(ts):nH;function lL(e){return typeof e=="string"||!le(e)&&ly(e)&&nS(e)==T}function lR(e){return typeof e=="symbol"||ly(e)&&nS(e)==S}var lC=ti?tq(ti):nF;function lM(e){return e===t}function lI(e){return ly(e)&&sy(e)==j}function lD(e){return ly(e)&&nS(e)=="[object WeakSet]"}var lN=a3(nY);var lq=a3(function(e,t){return e<=t});function lz(e){if(!e)return[];if(lr(e))return lL(e)?t2(e):aI(e);if(eV&&e[eV])return tJ(e[eV]());var t=sy(e);return(t==y?tZ:t==_?tQ:cT)(e)}function l$(e){return!e?e===0?e:0:(0,(e=lF(e))===s||e===-s)?(e<0?-1:1)*17976931348623157e292:(0,e==e?e:0)}function lP(e){var t=l$(e),r=t%1;return t==t?r?t-r:t:0}function lH(e){return e?na(lP(e),0,0xffffffff):0}function lF(e){if(typeof e=="number")return e;if(lR(e))return i;if(lg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=lg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=tN(e);var r=ec.test(e);return r||em.test(e)?e3(e.slice(2),r?2:8):el.test(e)?i:+e}function lG(e){return aD(e,cs(e))}function lU(e){return e?na(lP(e),-0x1fffffffffffff,0x1fffffffffffff):e===0?e:0}function lB(e){return e==null?"":am(e)}var lY=a$(function(e,t){if(sM(t)||lr(t)){aD(t,ca(t),e);return}for(var r in t)eO.call(t,r)&&r7(e,r,t[r])});var lW=a$(function(e,t){aD(t,cs(t),e)});var lV=a$(function(e,t,r,n){aD(t,cs(t),e,n)});var lJ=a$(function(e,t,r,n){aD(t,ca(t),e,n)});var lZ=sa(nn);function lK(e,t){var r=r_(e);return t==null?r:ne(r,t)}var lX=n4(function(e,r){e=ev(e);var n=-1;var a=r.length;var s=a>2?r[2]:t;s&&sE(r[0],r[1],s)&&(a=1);while(++n<a){var i=r[n];var o=cs(i);var l=-1;var c=o.length;while(++l<c){var u=o[l];var m=e[u];(m===t||o8(m,ex[u])&&!eO.call(e,u))&&(e[u]=i[u])}}return e});var lQ=n4(function(e){return e.push(t,a9),to(cc,t,e)});function l0(e,t){return tT(e,su(t,3),nk)}function l1(e,t){return tT(e,su(t,3),nv)}function l3(e,t){return e==null?e:ny(e,su(t,3),cs)}function l6(e,t){return e==null?e:nb(e,su(t,3),cs)}function l2(e,t){return e&&nk(e,su(t,3))}function l5(e,t){return e&&nv(e,su(t,3))}function l8(e){return e==null?[]:nw(e,ca(e))}function l7(e){return e==null?[]:nw(e,cs(e))}function l4(e,r,n){var a=e==null?t:n_(e,r);return a===t?n:a}function l9(e,t){return e!=null&&sv(e,t,nx)}function ce(e,t){return e!=null&&sv(e,t,nE)}var ct=aZ(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=eM.call(t)),e[t]=r},c4(ur));var cr=aZ(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=eM.call(t)),eO.call(e,t)?e[t].push(r):e[t]=[r]},su);var cn=n4(nR);function ca(e){return lr(e)?r3(e):nU(e)}function cs(e){return lr(e)?r3(e,!0):nB(e)}function ci(e,t){var r={};return t=su(t,3),nk(e,function(e,n,a){nr(r,t(e,n,a),e)}),r}function co(e,t){var r={};return t=su(t,3),nk(e,function(e,n,a){nr(r,n,t(e,n,a))}),r}var cl=a$(function(e,t,r){nZ(e,t,r)});var cc=a$(function(e,t,r,n){nZ(e,t,r,n)});var cu=sa(function(e,t){var r={};if(e==null)return r;var n=!1;t=tp(t,function(t){return t=aw(t,e),n||(n=t.length>1),t}),aD(e,si(e),r),n&&(r=ns(r,1|2|4,se));var a=t.length;while(a--)af(r,t[a]);return r});function cm(e,t){return cf(e,oG(su(t)))}var ch=sa(function(e,t){return e==null?{}:n0(e,t)});function cf(e,t){if(e==null)return{};var r=tp(si(e),function(e){return[e]});return t=su(t),n1(e,r,function(e,r){return t(e,r[0])})}function cd(e,r,n){r=aw(r,e);var a=-1,s=r.length;!s&&(s=1,e=t);while(++a<s){var i=e==null?t:e[sK(r[a])];i===t&&(a=s,i=n),e=lf(i)?i.call(e):i}return e}function cp(e,t,r){return e==null?e:at(e,t,r)}function cg(e,r,n,a){return a=typeof a=="function"?a:t,e==null?e:at(e,r,n,a)}var cy=a8(ca);var cb=a8(cs);function ck(e,t,r){var n=le(e),a=n||ls(e)||lC(e);if(t=su(t,4),r==null){var s=e&&e.constructor;r=a?n?new s:[]:lg(e)&&lf(s)?r_(eH(e)):{}}return(a?tc:nk)(e,function(e,n,a){return t(r,e,n,a)}),r}function cv(e,t){return e==null?!0:af(e,t)}function cw(e,t,r){return e==null?e:ad(e,t,av(r))}function c_(e,r,n,a){return a=typeof a=="function"?a:t,e==null?e:ad(e,r,av(n),a)}function cT(e){return e==null?[]:tz(e,ca(e))}function cS(e){return e==null?[]:tz(e,cs(e))}function cj(e,r,n){return n===t&&(n=r,r=t),n!==t&&(n=(n=lF(n))==n?n:0),r!==t&&(r=(r=lF(r))==r?r:0),na(lF(e),r,n)}function cx(e,r,n){return r=l$(r),n===t?(n=r,r=0):n=l$(n),nA(e=lF(e),r,n)}function cE(e,r,n){if(n&&typeof n!="boolean"&&sE(e,r,n)&&(r=n=t),n===t&&(typeof r=="boolean"?(n=r,r=t):typeof e=="boolean"&&(n=e,e=t)),e===t&&r===t?(e=0,r=1):(e=l$(e),r===t?(r=e,e=0):r=l$(r)),e>r){var a=e;e=r,r=a}if(n||e%1||r%1){var s=rn();return t4(e+s*(r-e+e1("1e-"+((s+"").length-1))),r)}return n5(e,r)}var cA=aU(function(e,t,r){return t=t.toLowerCase(),e+(r?cO(t):t)});function cO(e){return c3(lB(e).toLowerCase())}function cL(e){return(e=lB(e))&&e.replace(ef,tG).replace(eB,"")}function cR(e,r,n){e=lB(e),r=am(r);var a=e.length;var s=n=n===t?a:na(lP(n),0,a);return(n-=r.length)>=0&&e.slice(n,s)==r}function cC(e){return(e=lB(e))&&G.test(e)?e.replace(H,tU):e}function cM(e){return(e=lB(e))&&K.test(e)?e.replace(Z,"\\$&"):e}var cI=aU(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()});var cD=aU(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()});var cN=aG("toLowerCase");function cq(e,t,r){e=lB(e);var n=(t=lP(t))?t6(e):0;if(!t||n>=t)return e;var a=(t-n)/2;return aQ(e9(a),r)+e+aQ(e7(a),r)}function cz(e,t,r){e=lB(e);var n=(t=lP(t))?t6(e):0;return t&&n<t?e+aQ(t-n,r):e}function c$(e,t,r){e=lB(e);var n=(t=lP(t))?t6(e):0;return t&&n<t?aQ(t-n,r)+e:e}function cP(e,t,r){return r||t==null?t=0:t&&(t=+t),rr(lB(e).replace(X,""),t||0)}function cH(e,r,n){return r=(n?sE(e,r,n):r===t)?1:lP(r),n7(lB(e),r)}function cF(){var e=arguments,t=lB(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var cG=aU(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});function cU(e,r,n){if(n&&typeof n!="number"&&sE(e,r,n)&&(r=n=t),!(n=n===t?0xffffffff:n>>>0))return[];if((e=lB(e))&&(typeof r=="string"||r!=null&&!lE(r))){if(!(r=am(r))&&tW(e))return a_(t2(e),0,n)}return e.split(r,n)}var cB=aU(function(e,t,r){return e+(r?" ":"")+c3(t)});function cY(e,t,r){return e=lB(e),r=r==null?0:na(lP(r),0,e.length),t=am(t),e.slice(r,r+t.length)==t}function cW(e,r,n){var a=rw.templateSettings;n&&sE(e,r,n)&&(r=t),e=lB(e),r=lJ({},r,a,a4);var s=lJ({},r.imports,a.imports,a4),i=ca(s),o=tz(s,i);tc(i,function(e){if(ea.test(e))throw new ey("Invalid `imports` option passed into `_.template`")});var l,c,u=0,m=r.interpolate||ed,h="__p += '";var f=ew((r.escape||ed).source+"|"+m.source+"|"+(m===Y?ei:ed).source+"|"+(r.evaluate||ed).source+"|$","g");var d="//# sourceURL="+(eO.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++eK+"]")+`
`;e.replace(f,function(t,r,n,a,s,i){return n||(n=a),h+=e.slice(u,i).replace(ep,tB),r&&(l=!0,h+=`' +
__e(`+r+`) +
'`),s&&(c=!0,h+=`';
`+s+`;
__p += '`),n&&(h+=`' +
((__t = (`+n+`)) == null ? '' : __t) +
'`),u=i+t.length,t}),h+=`';
`;var p=eO.call(r,"variable")&&r.variable;if(p){if(ea.test(p))throw new ey("Invalid `variable` option passed into `_.template`")}else h=`with (obj) {
`+h+`
}
`;h=(c?h.replace(q,""):h).replace(z,"$1").replace($,"$1;"),h="function("+(p||"obj")+`) {
`+(p?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?`, __j = Array.prototype.join;
`+`function print() { __p += __j.call(arguments, '') }
`:`;
`)+h+`return __p
}`;var g=c2(function(){return eb(i,d+"return "+h).apply(t,o)});if(g.source=h,lm(g))throw g;return g}function cV(e){return lB(e).toLowerCase()}function cJ(e){return lB(e).toUpperCase()}function cZ(e,r,n){if((e=lB(e))&&(n||r===t))return tN(e);if(!e||!(r=am(r)))return e;var a=t2(e),s=t2(r),i=tP(a,s),o=tH(a,s)+1;return a_(a,i,o).join("")}function cK(e,r,n){if((e=lB(e))&&(n||r===t))return e.slice(0,t5(e)+1);if(!e||!(r=am(r)))return e;var a=t2(e),s=tH(a,t2(r))+1;return a_(a,0,s).join("")}function cX(e,r,n){if((e=lB(e))&&(n||r===t))return e.replace(X,"");if(!e||!(r=am(r)))return e;var a=t2(e),s=tP(a,t2(r));return a_(a,s).join("")}function cQ(e,r){var n=30,a="...";if(lg(r)){var s="separator"in r?r.separator:s;n="length"in r?lP(r.length):n,a="omission"in r?am(r.omission):a}var i=(e=lB(e)).length;if(tW(e)){var o=t2(e);i=o.length}if(n>=i)return e;var l=n-t6(a);if(l<1)return a;var c=o?a_(o,0,l).join(""):e.slice(0,l);if(s===t)return c+a;if(o&&(l+=c.length-l),lE(s)){if(e.slice(l).search(s)){var u,m=c;!s.global&&(s=ew(s.source,lB(eo.exec(s))+"g")),s.lastIndex=0;while(u=s.exec(m))var h=u.index;c=c.slice(0,h===t?l:h)}}else if(e.indexOf(am(s),l)!=l){var f=c.lastIndexOf(s);f>-1&&(c=c.slice(0,f))}return c+a}function c0(e){return(e=lB(e))&&F.test(e)?e.replace(P,t8):e}var c1=aU(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()});var c3=aG("toUpperCase");function c6(e,r,n){return(e=lB(e),(r=n?t:r)===t)?tV(e)?t9(e):t_(e):(0,e.match(r)||[])}var c2=n4(function(e,r){try{return to(e,t,r)}catch(e){return lm(e)?e:new ey(e)}});var c5=sa(function(e,t){return tc(t,function(t){nr(e,t=sK(t),oI(e[t],e))}),e});function c8(e){var t=e==null?0:e.length,n=su();return e=!t?[]:tp(e,function(e){if(typeof e[1]!="function")throw new eT(r);return[n(e[0]),e[1]]}),n4(function(r){var n=-1;while(++n<t){var a=e[n];if(to(a[0],this,r))return to(a[1],this,r)}})}function c7(e){return ni(ns(e,1))}function c4(e){return function(){return e}}function c9(e,t){return e==null||e!=e?t:e}var ue=aV();var ut=aV(!0);function ur(e){return e}function un(e){return nG(typeof e=="function"?e:ns(e,1))}function ua(e){return nV(ns(e,1))}function us(e,t){return nJ(e,ns(t,1))}var ui=n4(function(e,t){return function(r){return nR(r,e,t)}});var uo=n4(function(e,t){return function(r){return nR(e,r,t)}});function ul(e,t,r){var n=ca(t),a=nw(t,n);r==null&&!(lg(t)&&(a.length||!n.length))&&(r=t,t=e,e=this,a=nw(t,ca(t)));var s=!(lg(r)&&"chain"in r)||!!r.chain,i=lf(e);return tc(a,function(r){var n=t[r];e[r]=n,i&&(e.prototype[r]=function(){var t=this.__chain__;if(s||t){var r=e(this.__wrapped__);return(r.__actions__=aI(this.__actions__)).push({"func":n,"args":arguments,"thisArg":e}),r.__chain__=t,r}return n.apply(e,tg([this.value()],arguments))})}),e}function uc(){return e5._===this&&(e5._=eD),this}function uu(){}function um(e){return e=lP(e),n4(function(t){return nX(t,e)})}var uh=aX(tp);var uf=aX(tm);var ud=aX(tk);function up(e){return sA(e)?tO(sK(e)):n3(e)}function ug(e){return function(r){return e==null?t:n_(e,r)}}var uy=a1();var ub=a1(!0);function uk(){return[]}function uv(){return!1}function uw(){return{}}function u_(){return""}function uT(){return!0}function uS(e,t){if((e=lP(e))<1||e>0x1fffffffffffff)return[];var r=0xffffffff,n=t4(e,0xffffffff);t=su(t),e-=0xffffffff;var a=tI(n,t);while(++r<e)t(r);return a}function uj(e){return le(e)?tp(e,sK):(0,lR(e)?[e]:aI(sZ(lB(e))))}function ux(e){var t=++eL;return lB(e)+t}var uE=aK(function(e,t){return e+t},0);var uA=a2("ceil");var uO=aK(function(e,t){return e/t},1);var uL=a2("floor");function uR(e){return e&&e.length?nf(e,ur,nj):t}function uC(e,r){return e&&e.length?nf(e,su(r,2),nj):t}function uM(e){return tA(e,ur)}function uI(e,t){return tA(e,su(t,2))}function uD(e){return e&&e.length?nf(e,ur,nY):t}function uN(e,r){return e&&e.length?nf(e,su(r,2),nY):t}var uq=aK(function(e,t){return e*t},1);var uz=a2("round");var u$=aK(function(e,t){return e-t},0);function uP(e){return e&&e.length?tM(e,ur):0}function uH(e,t){return e&&e.length?tM(e,su(t,2)):0}var uF;return rw.after=oR,rw.ary=oC,rw.assign=lY,rw.assignIn=lW,rw.assignInWith=lV,rw.assignWith=lJ,rw.at=lZ,rw.before=oM,rw.bind=oI,rw.bindAll=c5,rw.bindKey=oD,rw.castArray=o0,rw.chain=i6,rw.chunk=s1,rw.compact=s3,rw.concat=s6,rw.cond=c8,rw.conforms=c7,rw.constant=c4,rw.countBy=oa,rw.create=lK,rw.curry=oN,rw.curryRight=oq,rw.debounce=oz,rw.defaults=lX,rw.defaultsDeep=lQ,rw.defer=o$,rw.delay=oP,rw.difference=s2,rw.differenceBy=s5,rw.differenceWith=s8,rw.drop=s7,rw.dropRight=s4,rw.dropRightWhile=s9,rw.dropWhile=ie,rw.fill=it,rw.filter=oi,rw.flatMap=oc,rw.flatMapDeep=ou,rw.flatMapDepth=om,rw.flatten=is,rw.flattenDeep=ii,rw.flattenDepth=io,rw.flip=oH,rw.flow=ue,rw.flowRight=ut,rw.fromPairs=il,rw.functions=l8,rw.functionsIn=l7,rw.groupBy=od,rw.initial=im,rw.intersection=ih,rw.intersectionBy=id,rw.intersectionWith=ip,rw.invert=ct,rw.invertBy=cr,rw.invokeMap=og,rw.iteratee=un,rw.keyBy=oy,rw.keys=ca,rw.keysIn=cs,rw.map=ob,rw.mapKeys=ci,rw.mapValues=co,rw.matches=ua,rw.matchesProperty=us,rw.memoize=oF,rw.merge=cl,rw.mergeWith=cc,rw.method=ui,rw.methodOf=uo,rw.mixin=ul,rw.negate=oG,rw.nthArg=um,rw.omit=cu,rw.omitBy=cm,rw.once=oU,rw.orderBy=ok,rw.over=uh,rw.overArgs=oB,rw.overEvery=uf,rw.overSome=ud,rw.partial=oY,rw.partialRight=oW,rw.partition=ov,rw.pick=ch,rw.pickBy=cf,rw.property=up,rw.propertyOf=ug,rw.pull=iv,rw.pullAll=iw,rw.pullAllBy=i_,rw.pullAllWith=iT,rw.pullAt=iS,rw.range=uy,rw.rangeRight=ub,rw.rearg=oV,rw.reject=oT,rw.remove=ij,rw.rest=oJ,rw.reverse=ix,rw.sampleSize=oj,rw.set=cp,rw.setWith=cg,rw.shuffle=ox,rw.slice=iE,rw.sortBy=oO,rw.sortedUniq=iI,rw.sortedUniqBy=iD,rw.split=cU,rw.spread=oZ,rw.tail=iN,rw.take=iq,rw.takeRight=iz,rw.takeRightWhile=i$,rw.takeWhile=iP,rw.tap=i2,rw.throttle=oK,rw.thru=i5,rw.toArray=lz,rw.toPairs=cy,rw.toPairsIn=cb,rw.toPath=uj,rw.toPlainObject=lG,rw.transform=ck,rw.unary=oX,rw.union=iH,rw.unionBy=iF,rw.unionWith=iG,rw.uniq=iU,rw.uniqBy=iB,rw.uniqWith=iY,rw.unset=cv,rw.unzip=iW,rw.unzipWith=iV,rw.update=cw,rw.updateWith=c_,rw.values=cT,rw.valuesIn=cS,rw.without=iJ,rw.words=c6,rw.wrap=oQ,rw.xor=iZ,rw.xorBy=iK,rw.xorWith=iX,rw.zip=iQ,rw.zipObject=i0,rw.zipObjectDeep=i1,rw.zipWith=i3,rw.entries=cy,rw.entriesIn=cb,rw.extend=lW,rw.extendWith=lV,ul(rw,rw),rw.add=uE,rw.attempt=c2,rw.camelCase=cA,rw.capitalize=cO,rw.ceil=uA,rw.clamp=cj,rw.clone=o1,rw.cloneDeep=o6,rw.cloneDeepWith=o2,rw.cloneWith=o3,rw.conformsTo=o5,rw.deburr=cL,rw.defaultTo=c9,rw.divide=uO,rw.endsWith=cR,rw.eq=o8,rw.escape=cC,rw.escapeRegExp=cM,rw.every=os,rw.find=oo,rw.findIndex=ir,rw.findKey=l0,rw.findLast=ol,rw.findLastIndex=ia,rw.findLastKey=l1,rw.floor=uL,rw.forEach=oh,rw.forEachRight=of,rw.forIn=l3,rw.forInRight=l6,rw.forOwn=l2,rw.forOwnRight=l5,rw.get=l4,rw.gt=o7,rw.gte=o4,rw.has=l9,rw.hasIn=ce,rw.head=ic,rw.identity=ur,rw.includes=op,rw.indexOf=iu,rw.inRange=cx,rw.invoke=cn,rw.isArguments=o9,rw.isArray=le,rw.isArrayBuffer=lt,rw.isArrayLike=lr,rw.isArrayLikeObject=ln,rw.isBoolean=la,rw.isBuffer=ls,rw.isDate=li,rw.isElement=lo,rw.isEmpty=ll,rw.isEqual=lc,rw.isEqualWith=lu,rw.isError=lm,rw.isFinite=lh,rw.isFunction=lf,rw.isInteger=ld,rw.isLength=lp,rw.isMap=lb,rw.isMatch=lk,rw.isMatchWith=lv,rw.isNaN=lw,rw.isNative=l_,rw.isNil=lS,rw.isNull=lT,rw.isNumber=lj,rw.isObject=lg,rw.isObjectLike=ly,rw.isPlainObject=lx,rw.isRegExp=lE,rw.isSafeInteger=lA,rw.isSet=lO,rw.isString=lL,rw.isSymbol=lR,rw.isTypedArray=lC,rw.isUndefined=lM,rw.isWeakMap=lI,rw.isWeakSet=lD,rw.join=ig,rw.kebabCase=cI,rw.last=iy,rw.lastIndexOf=ib,rw.lowerCase=cD,rw.lowerFirst=cN,rw.lt=lN,rw.lte=lq,rw.max=uR,rw.maxBy=uC,rw.mean=uM,rw.meanBy=uI,rw.min=uD,rw.minBy=uN,rw.stubArray=uk,rw.stubFalse=uv,rw.stubObject=uw,rw.stubString=u_,rw.stubTrue=uT,rw.multiply=uq,rw.nth=ik,rw.noConflict=uc,rw.noop=uu,rw.now=oL,rw.pad=cq,rw.padEnd=cz,rw.padStart=c$,rw.parseInt=cP,rw.random=cE,rw.reduce=ow,rw.reduceRight=o_,rw.repeat=cH,rw.replace=cF,rw.result=cd,rw.round=uz,rw.runInContext=e,rw.sample=oS,rw.size=oE,rw.snakeCase=cG,rw.some=oA,rw.sortedIndex=iA,rw.sortedIndexBy=iO,rw.sortedIndexOf=iL,rw.sortedLastIndex=iR,rw.sortedLastIndexBy=iC,rw.sortedLastIndexOf=iM,rw.startCase=cB,rw.startsWith=cY,rw.subtract=u$,rw.sum=uP,rw.sumBy=uH,rw.template=cW,rw.times=uS,rw.toFinite=l$,rw.toInteger=lP,rw.toLength=lH,rw.toLower=cV,rw.toNumber=lF,rw.toSafeInteger=lU,rw.toString=lB,rw.toUpper=cJ,rw.trim=cZ,rw.trimEnd=cK,rw.trimStart=cX,rw.truncate=cQ,rw.unescape=c0,rw.uniqueId=ux,rw.upperCase=c1,rw.upperFirst=c3,rw.each=oh,rw.eachRight=of,rw.first=ic,ul(rw,(uF={},nk(rw,function(e,t){!eO.call(rw.prototype,t)&&(uF[t]=e)}),uF),{"chain":!1}),rw.VERSION="4.18.1",tc(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){rw[e].placeholder=rw}),tc(["drop","take"],function(e,r){rj.prototype[e]=function(n){n=n===t?1:t7(lP(n),0);var a=this.__filtered__&&!r?new rj(this):this.clone();return a.__filtered__?a.__takeCount__=t4(n,a.__takeCount__):a.__views__.push({"size":t4(n,0xffffffff),"type":e+(a.__dir__<0?"Right":"")}),a},rj.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tc(["filter","map","takeWhile"],function(e,t){var r=t+1,n=r==1||r==3;rj.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({"iteratee":su(e,3),"type":r}),t.__filtered__=t.__filtered__||n,t}}),tc(["head","last"],function(e,t){var r="take"+(t?"Right":"");rj.prototype[e]=function(){return this[r](1).value()[0]}}),tc(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");rj.prototype[e]=function(){return this.__filtered__?new rj(this):this[r](1)}}),rj.prototype.compact=function(){return this.filter(ur)},rj.prototype.find=function(e){return this.filter(e).head()},rj.prototype.findLast=function(e){return this.reverse().find(e)},rj.prototype.invokeMap=n4(function(e,t){return typeof e=="function"?new rj(this):(0,this.map(function(r){return nR(r,e,t)}))}),rj.prototype.reject=function(e){return this.filter(oG(su(e)))},rj.prototype.slice=function(e,r){e=lP(e);var n=this;return n.__filtered__&&(e>0||r<0)?new rj(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),r!==t&&(n=(r=lP(r))<0?n.dropRight(-r):n.take(r-e)),n)},rj.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},rj.prototype.toArray=function(){return this.take(0xffffffff)},nk(rj.prototype,function(e,r){var n=/^(?:filter|find|map|reject)|While$/.test(r),a=/^(?:head|last)$/.test(r),s=rw[a?"take"+(r=="last"?"Right":""):r],i=a||/^find/.test(r);if(!s)return;rw.prototype[r]=function(){var r=this.__wrapped__,o=a?[1]:arguments,l=r instanceof rj,c=o[0],u=l||le(r);var m=function(e){var t=s.apply(rw,tg([e],o));return a&&h?t[0]:t};u&&n&&typeof c=="function"&&c.length!=1&&(l=u=!1);var h=this.__chain__,f=!!this.__actions__.length,d=i&&!h,p=l&&!f;if(!i&&u){r=p?r:new rj(this);var g=e.apply(r,o);return g.__actions__.push({"func":i5,"args":[m],"thisArg":t}),new rS(g,h)}return d&&p?e.apply(this,o):(g=this.thru(m),d?a?g.value()[0]:g.value():g)}}),tc(["pop","push","shift","sort","splice","unshift"],function(e){var t=eS[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);rw.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var a=this.value();return t.apply(le(a)?a:[],e)}return this[r](function(r){return t.apply(le(r)?r:[],e)})}}),nk(rj.prototype,function(e,t){var r=rw[t];if(r){var n=r.name+"";!eO.call(rh,n)&&(rh[n]=[]),rh[n].push({"name":t,"func":r})}}),rh[aJ(t,2).name]=[{"name":"wrapper","func":t}],rj.prototype.clone=rx,rj.prototype.reverse=rE,rj.prototype.value=rA,rw.prototype.at=i8,rw.prototype.chain=i7,rw.prototype.commit=i4,rw.prototype.next=i9,rw.prototype.plant=ot,rw.prototype.reverse=or,rw.prototype.toJSON=rw.prototype.valueOf=rw.prototype.value=on,rw.prototype.first=rw.prototype.head,eV&&(rw.prototype[eV]=oe),rw}();!0&&(e5._=re,(e=(function(){return re}).call(exports,__webpack_require__,exports,module))!==t&&(module.exports=e))}).call(this)}}).call(__webpack_require__._LM_("lodash",{exports,module,__webpack_require__})).bind(exports)()},461893(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>a});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let a=(0,t.kp)(n.Wu,(0,e.Ik)({type:(0,r.eu)(n.Z6.Divider)}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},465273(module,exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e=__webpack_require__(378326);exports.formatArgs=n,exports.save=a,exports.load=s,exports.useColors=r,exports.storage=i();let t;function r(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return document!==void 0&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+module.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0;let n=0;e[0].replace(/%[a-zA-Z%]/g,e=>{if(e==="%%")return;r++,e==="%c"&&(n=r)}),e.splice(n,0,t)}function a(e){try{e?exports.storage.setItem("debug",e):exports.storage.removeItem("debug")}catch(e){}}function s(){let t;try{t=exports.storage.getItem("debug")||exports.storage.getItem("DEBUG")}catch(e){}return!t&&e!==void 0&&"env"in e&&(t=e.env.DEBUG),t}function i(){try{return localStorage}catch(e){}}t=!1,exports.destroy=()=>{!t&&(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],exports.log=console.debug||console.log||(()=>{}),module.exports=__webpack_require__(617648)(exports);let{formatters:o}=module.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}}).call(__webpack_require__._LM_("nock>debug",{exports,module,__webpack_require__}))()},466737(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>n,r:()=>r});var e=__webpack_require__(563023);let t="_sentrySpan";function r(r,n){n?(0,e.my)(r,t,n):delete r[t]}function n(e){return e[t]}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},468417(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>s,X:()=>a});var e=__webpack_require__(352158);var t=__webpack_require__(78463);var r=__webpack_require__(396102);var n=__webpack_require__(682631);function a(s,i,o,l=(0,n.Bk)()){let c=l&&(0,n.zU)(l);c&&(e.T&&r.Yz.log(`[Measurement] Setting measurement on root span: ${s} = ${i} ${o}`),c.addEvent(s,{[t.xc]:i,[t.Sn]:o}))}function s(e){if(!e||e.length===0)return undefined;let r={};return e.forEach(e=>{let n=e.attributes||{};let a=n[t.Sn];let s=n[t.xc];typeof a=="string"&&typeof s=="number"&&(r[e.name]={value:s,unit:a})}),r}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},477964(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$h:()=>w,AE:()=>T,AI:()=>_,CC:()=>s,DH:()=>o,DO:()=>n,Fe:()=>r,Ht:()=>i,Id:()=>x,K_:()=>j,My:()=>y,O8:()=>c,Ow:()=>u,Vw:()=>A,ZJ:()=>S,aT:()=>k,aY:()=>t,aZ:()=>m,fd:()=>d,po:()=>L,qj:()=>O,sd:()=>a,tY:()=>E,uH:()=>l});var e=__webpack_require__(362108);function t(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function r(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function n(e,...r){if(!t(e))throw new Error("Uint8Array expected");if(r.length>0&&!r.includes(e.length))throw new Error("Uint8Array expected of length "+r+", got length="+e.length)}function a(e){if(typeof e!=="function"||typeof e.create!=="function")throw new Error("Hash should be wrapped by utils.createHasher");r(e.outputLen),r(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function i(e,t){n(e);let r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)}function o(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function l(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function c(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function u(e,t){return e<<32-t|e>>>t}function m(e,t){return e<<t|e>>>32-t>>>0}function h(e){return e<<24&0xff000000|e<<8&0xff0000|e>>>8&65280|e>>>24&255}function f(e){for(let t=0;t<e.length;t++)e[t]=h(e[t]);return e}let d=(0,new Uint8Array(new Uint32Array([0x11223344]).buffer)[0]===68)?e=>e:f;let p=(0,typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function");let g=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function y(e){if(n(e),p)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=g[e[r]];return t}function b(e){return e>=48&&e<=57?e-48:(0,e>=65&&e<=70)?e-(65-10):(0,e>=97&&e<=102)?e-(97-10):(0,void 0)}function k(e){if(typeof e!=="string")throw new Error("hex string expected, got "+typeof e);if(p)return Uint8Array.fromHex(e);let t=e.length;let r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,a=0;t<r;t++,a+=2){let r=b(e.charCodeAt(a));let s=b(e.charCodeAt(a+1));if(r===undefined||s===undefined)throw new Error('hex string expected, got non-hex character "'+(e[a]+e[a+1])+'" at index '+a);n[t]=r*16+s}return n}let v=async()=>{};async function w(e,t,r){let n=Date.now();for(let a=0;a<e;a++){r(a);let e=Date.now()-n;if(e>=0&&e<t)continue;await v(),n+=e}}function _(e){if(typeof e!=="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function T(e){return new TextDecoder().decode(e)}function S(e){return typeof e=="string"&&(e=_(e)),n(e),e}function j(e){return typeof e=="string"&&(e=_(e)),n(e),e}function x(...e){let t=0;for(let r=0;r<e.length;r++){let a=e[r];n(a),t+=a.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let a=e[t];r.set(a,n),n+=a.length}return r}function E(e,t){if(t!==undefined&&({}).toString.call(t)!=="[object Object]")throw new Error("options should be object or undefined");return Object.assign(e,t)}class A{}function O(e){let t=t=>e().update(S(t)).digest();let r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function L(t=32){if(e.E&&typeof e.E.getRandomValues=="function")return e.E.getRandomValues(new Uint8Array(t));if(e.E&&typeof e.E.randomBytes=="function")return Uint8Array.from(e.E.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}}}).call(__webpack_require__._LM_("@noble/hashes",{__webpack_require__,__webpack_exports__}))()},480021(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cp:()=>n,wQ:()=>r,wd:()=>a});var e=__webpack_require__(549140);let t=(0,e.u)("sentry");let r=(0,e.X)(t,globalThis.document?"ui":"background");function n(e,t){return(console.error(e,...t?[t]:[]),!globalThis.sentry?.captureException)?(console.warn("Sentry not initialized"),undefined):(0,globalThis.sentry.captureException(e,...t?[t]:[]))}function a(e,t){return!globalThis.sentry?.captureMessage?(console.warn("Sentry not initialized"),console.log(e,...t?[t]:[]),undefined):(0,globalThis.sentry.captureMessage(e,...t?[t]:[]))}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},484068(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{vb:()=>y});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(174638);var n=__webpack_require__(382906);var a=__webpack_require__(453945);var s=__webpack_require__(461893);var i=__webpack_require__(706524);var o=__webpack_require__(515828);var l=__webpack_require__(861913);var c=__webpack_require__(335562);var u=__webpack_require__(208554);var m=__webpack_require__(45217);var h=__webpack_require__(955187);var f=__webpack_require__(879771);var d=__webpack_require__(676358);let p=(0,t.kp)(d.Wu,(0,e.Ik)({children:(0,e.YO)((0,t.RZ)(()=>y))}));let g=(0,t.kp)(p,(0,e.Ik)({type:(0,f.eu)(d.Z6.Panel)}));let y=(0,f.i5)([a.$,s.z,o.Y,l.x,g,m.t,h.z,u.E,r.A,c.y,i.W,n.s3])}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},484413(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{T:()=>e});let e=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_exports__,__webpack_require__}))()},484945(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(){return typeof __SENTRY_BROWSER_BUNDLE__!=="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function t(){return"npm"}__webpack_require__.d(__webpack_exports__,{Z:()=>e,e:()=>t})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},485791(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e;__webpack_require__.d(__webpack_exports__,{A:()=>r});var t=new Uint8Array(16);function r(){if(!e){if(!(e=typeof crypto!=="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!=="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")}return e(t)}}}).call(__webpack_require__._LM_("uuid",{__webpack_exports__,__webpack_require__}))()},486023(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Jz:()=>a,wq:()=>s});var e=__webpack_require__(147687);let t=60*1e3;function r(n,a=(0,e.Wk)()){let s=parseInt(`${n}`,10);if(!isNaN(s))return s*1e3;let i=Date.parse(`${n}`);return!isNaN(i)?i-a:(0,t)}function n(e,t){return e[t]||e.all||0}function a(t,r,s=(0,e.Wk)()){return n(t,r)>s}function s(t,{statusCode:n,headers:a},i=(0,e.Wk)()){let o={...t};let l=a?.["x-sentry-rate-limits"];let c=a?.["retry-after"];if(l)for(let e of l.trim().split(",")){let[t,r,,,n]=e.split(":",5);let a=parseInt(t,10);let s=(!isNaN(a)?a:60)*1e3;if(r)for(let e of r.split(";"))e==="metric_bucket"?(!n||n.split(";").includes("custom"))&&(o[e]=i+s):o[e]=i+s;else o.all=i+s}else c?o.all=i+r(c,i):n===429&&(o.all=i+60*1e3);return o}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},499490(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A$:()=>n,E2:()=>l,N2:()=>o,fC:()=>c,iQ:()=>r,u1:()=>i});var e=__webpack_require__(908743);var t=__webpack_require__(745085);let r=-31002;let n="Snap Error";function a(e,r,n=null){return(0,t.Gv)(e)&&(0,t.i5)(e,r)?e[r]:(0,n)}function s(e,t,r=String(e)){let n=a(e,t);return typeof n=="string"?n:(0,r)}function i(e){return s(e,"message")}function o(e){return s(e,"stack",null)}function l(e){let t=a(e,"code");return typeof t=="number"&&Number.isInteger(t)?t:(0,-32603)}function c(t){let r=a(t,"data");return r!==null&&(0,e.jU)(r)&&!Array.isArray(r)?r:(0,{})}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},499985(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>r});var e=__webpack_require__(956902);var t=__webpack_require__(787631);function r(r){return e._(r,async(...e)=>{let r=await (0,t.kS)();if(!r?.consentDecisionMade||!r.optedIn)throw new Error("Network request skipped as metrics disabled");return await fetch(...e)})}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},504855(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>s,e:()=>a});var e=__webpack_require__(352158);var t=__webpack_require__(396102);var r=__webpack_require__(180121);function n(e){t.Yz.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function a(t,a){if(!a?.length||!t.description)return!1;for(let s of a){if(i(s)){if((0,r._c)(t.description,s))return e.T&&n(t),!0;continue}if(!s.name&&!s.op)continue;let a=s.name?(0,r._c)(t.description,s.name):!0;let o=s.op?t.op&&(0,r._c)(t.op,s.op):!0;if(a&&o)return e.T&&n(t),!0}return!1}function s(e,t){let r=t.parent_span_id;let n=t.span_id;if(!r)return;for(let t of e)t.parent_span_id===n&&(t.parent_span_id=r)}function i(e){return typeof e=="string"||e instanceof RegExp}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},506820(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{l:()=>n});var e=__webpack_require__(381699);var t=__webpack_require__(260516);function r(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function n(n,a,s,i){let o={};return a?.sdk&&(o.sdk={name:a.sdk.name,version:a.sdk.version}),!!s&&!!i&&(o.dsn=(0,e.SB)(i)),(0,t.h4)(o,[r(n)])}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},512986(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$P:()=>o,B9:()=>I,CF:()=>y,El:()=>u,Et:()=>a,Fl:()=>C,Fq:()=>s,GB:()=>w,Iw:()=>m,JZ:()=>j,Kg:()=>i,Ki:()=>T,L3:()=>S,U_:()=>_,_v:()=>d,ac:()=>E,b0:()=>n,cG:()=>b,f8:()=>p,fT:()=>A,gu:()=>L,h3:()=>l,i:()=>R,jv:()=>c,m3:()=>v,mQ:()=>f,mp:()=>k,wG:()=>O,xS:()=>M});var e=__webpack_require__(695358);var t=__webpack_require__(603476);var r=__webpack_require__(686333);function n(e){return e===void 0}function a(e){return typeof e=="number"}function s(e){return typeof e=="number"&&e%1==0}function i(e){return typeof e=="string"}function o(e){return Object.prototype.toString.call(e)==="[object Date]"}function l(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function c(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function u(e){return Array.isArray(e)?e:[e]}function m(e,t,r){return e.length===0?undefined:(0,e.reduce((e,n)=>{let a=[t(n),n];return!e?a:(0,r(e[0],a[0])===e[0])?e:a},null)[1])}function h(e,t){return t.reduce((t,r)=>{return t[r]=e[r],t},{})}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(t){if(t==null)return null;if(typeof t!=="object")throw new e.Di("Week settings must be an object");{if(!p(t.firstDay,1,7)||!p(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!p(e,1,7)))throw new e.Di("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}}function p(e,t,r){return s(e)&&e>=t&&e<=r}function g(e,t){return e-t*Math.floor(e/t)}function y(e,t=2){let r;return e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function b(e){return n(e)||e===null||e===""?undefined:(0,parseInt(e,10))}function k(e){return n(e)||e===null||e===""?undefined:(0,parseFloat(e))}function v(e){return n(e)||e===null||e===""?undefined:(0,Math.floor(parseFloat("0."+e)*1e3))}function w(e,t,r=!1){let n=10**t;return(r?Math.trunc:Math.round)(e*n)/n}function _(e){return e%4==0&&(e%100!==0||e%400==0)}function T(e){return _(e)?366:365}function S(e,t){let r=g(t-1,12)+1;return r===2?_(e+(t-r)/12)?29:28:(0,[31,null,31,30,31,30,31,31,30,31,30,31][r-1])}function j(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(e.year,e.month-1,e.day),+t}function x(e,t,n){return-(0,r.ui)((0,r.mK)(e,1,t),n)+t-1}function E(e,t=4,r=1){let n=x(e,t,r);let a=x(e+1,t,r);return(T(e)-n+a)/7}function A(e){return e>99?e:(0,e>t.A.twoDigitCutoffYear?1900+e:2e3+e)}function O(e,t,r,n=null){let a=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);let i={timeZoneName:t,...s};let o=new Intl.DateTimeFormat(r,i).formatToParts(a).find(e=>e.type.toLowerCase()==="timezonename");return o?o.value:null}function L(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);let n=parseInt(t,10)||0,a=r<0||Object.is(r,-0)?-n:n;return r*60+a}function R(t){let r=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(r))throw new e.Di(`Invalid unit value ${t}`);return r}function C(e,t){let r={};for(let n in e)if(f(e,n)){let a=e[n];if(a===undefined||a===null)continue;r[t(n)]=R(a)}return r}function M(e,t){let r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),a=e>=0?"+":"-";switch(t){case"short":return`${a}${y(r,2)}:${y(n,2)}`;case"narrow":return`${a}${r}${n>0?`:${n}`:""}`;case"techie":return`${a}${y(r,2)}${y(n,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function I(e){return h(e,["hour","minute","second","millisecond"])}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},513234(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>s,o:()=>i});var e=__webpack_require__(352158);var t=__webpack_require__(396102);var r=__webpack_require__(260516);var n=__webpack_require__(169869);var a=__webpack_require__(486023);let s=64;function i(o,l,c=(0,n.C)(o.bufferSize||s)){let u={};return{send:function(s){let i=[];if((0,r.yH)(s,(e,t)=>{let n=(0,r.zk)(t);(0,a.Jz)(u,n)?o.recordDroppedEvent("ratelimit_backoff",n):i.push(e)}),i.length===0)return Promise.resolve({});let m=(0,r.h4)(s[0],i);let h=n=>{if((0,r.hP)(m,["client_report"])){e.T&&t.Yz.warn(`Dropping client report. Will not send outcomes (reason: ${n}).`);return}(0,r.yH)(m,(e,t)=>{o.recordDroppedEvent(n,(0,r.zk)(t))})};return c.add(()=>l({body:(0,r.bN)(m)}).then(r=>{return r.statusCode!==undefined&&(r.statusCode<200||r.statusCode>=300)&&e.T&&t.Yz.warn(`Sentry responded with status code ${r.statusCode} to sent event.`),u=(0,a.wq)(u,r),r},r=>{throw h("network_error"),e.T&&t.Yz.error("Encountered error running transport request:",r),r})).then(e=>e,r=>{if(r===n.a)return e.T&&t.Yz.error("Skipped sending event because buffer is full."),h("queue_overflow"),Promise.resolve({});throw r})},flush:e=>c.drain(e)}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},515400(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{l:()=>e});let e=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe({type:e,buffered:!0,...r}),n}}catch{}return}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},515828(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Y:()=>a});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let a=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Heading),value:(0,e.Yj)()}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},525162(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Om:()=>o,e2:()=>a});var e=__webpack_require__(123532);var t=__webpack_require__(98154);var r=__webpack_require__(144770);var n=__webpack_require__(682631);function a(e,t){let{fingerprint:r,span:n,breadcrumbs:a,sdkProcessingMetadata:s}=t;l(e,t),n&&m(e,n),h(e,r),c(e,a),u(e,s)}function s(e,t){let{extra:n,tags:a,attributes:s,user:o,contexts:l,level:c,sdkProcessingMetadata:u,breadcrumbs:m,fingerprint:h,eventProcessors:f,attachments:d,propagationContext:p,transactionName:g,span:y}=t;i(e,"extra",n),i(e,"tags",a),i(e,"attributes",s),i(e,"user",o),i(e,"contexts",l),e.sdkProcessingMetadata=(0,r.h)(e.sdkProcessingMetadata,u,2),c&&(e.level=c),g&&(e.transactionName=g),y&&(e.span=y),m.length&&(e.breadcrumbs=[...e.breadcrumbs,...m]),h.length&&(e.fingerprint=[...e.fingerprint,...h]),f.length&&(e.eventProcessors=[...e.eventProcessors,...f]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function i(e,t,n){e[t]=(0,r.h)(e[t],n,1)}function o(t,r){let n=(0,e.m6)().getScopeData();return t&&s(n,t.getScopeData()),r&&s(n,r.getScopeData()),n}function l(e,t){let{extra:r,tags:n,user:a,contexts:s,level:i,transactionName:o}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(n).length&&(e.tags={...n,...e.tags}),Object.keys(a).length&&(e.user={...a,...e.user}),Object.keys(s).length&&(e.contexts={...s,...e.contexts}),i&&(e.level=i),o&&e.type!=="transaction"&&(e.transaction=o)}function c(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:undefined}function u(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function m(e,r){e.contexts={trace:(0,n.kX)(r),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,t.k1)(r),...e.sdkProcessingMetadata};let a=(0,n.zU)(r);let s=(0,n.et)(a).description;s&&!e.transaction&&e.type==="transaction"&&(e.transaction=s)}function h(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),!e.fingerprint.length&&delete e.fingerprint}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},531589(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ak:()=>e});let e=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>{return(t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e},"")}}).call(__webpack_require__._LM_("nanoid",{__webpack_exports__,__webpack_require__}))()},538979(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>d,D:()=>p});var e=__webpack_require__(123532);var t=__webpack_require__(352158);var r=__webpack_require__(78463);var n=__webpack_require__(396102);var a=__webpack_require__(676108);var s=__webpack_require__(504855);var i=__webpack_require__(466737);var o=__webpack_require__(682631);var l=__webpack_require__(306981);var c=__webpack_require__(98154);var u=__webpack_require__(911216);var m=__webpack_require__(52018);var h=__webpack_require__(276435);var f=__webpack_require__(827284);let d={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function p(f,y={}){let b=new Map;let k=!1;let v;let w="externalFinish";let _=!y.disableAutoFinish;let T=[];let{idleTimeout:S=d.idleTimeout,finalTimeout:j=d.finalTimeout,childSpanTimeout:x=d.childSpanTimeout,beforeSpanEnd:E,trimIdleSpanEndTimestamp:A=!0}=y;let O=(0,e.KU)();if(!O||!(0,a.f)()){let e=new u.w;let t={sample_rate:"0",sampled:"false",...(0,c.k1)(e)};return(0,c.LZ)(e,t),e}let L=(0,e.o5)();let R=(0,o.Bk)();let C=g(f);function M(){v&&(clearTimeout(v),v=undefined)}function I(e){M(),v=setTimeout(()=>{!k&&b.size===0&&_&&(w="idleTimeout",C.end(e))},S)}function D(e){v=setTimeout(()=>{!k&&_&&(w="heartbeatFailed",C.end(e))},x)}function N(e){M(),b.set(e,!0),D((0,l.zf)()+x/1e3)}function q(e){b.has(e)&&b.delete(e),b.size===0&&I((0,l.zf)()+S/1e3)}function z(e){k=!0,b.clear(),T.forEach(e=>e()),(0,i.r)(L,R);let a=(0,o.et)(C);let{start_timestamp:s}=a;if(!s)return;!a.data[r.fs]&&C.setAttribute(r.fs,w);let l=a.status;(!l||l==="unknown")&&C.setStatus({code:h.F3}),n.Yz.log(`[Tracing] Idle span "${a.op}" finished`);let c=(0,o.xO)(C).filter(e=>e!==C);let u=0;c.forEach(r=>{r.isRecording()&&(r.setStatus({code:h.TJ,message:"cancelled"}),r.end(e),t.T&&n.Yz.log("[Tracing] Cancelling span since span ended early",JSON.stringify(r,undefined,2)));let{timestamp:a=0,start_timestamp:s=0}=(0,o.et)(r);let i=s<=e;let l=a-s<=(j+S)/1e3;if(t.T){let e=JSON.stringify(r,undefined,2);i?!l&&n.Yz.log("[Tracing] Discarding span since it finished after idle span final timeout",e):n.Yz.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!l||!i)&&((0,o.VS)(C,r),u++)}),u>0&&C.setAttribute("sentry.idle_span_discarded_spans",u)}return C.end=new Proxy(C.end,{apply(e,t,r){if(E&&E(C),t instanceof u.w)return;let[n,...a]=r;let i=n||(0,l.zf)();let c=(0,o.cI)(i);let m=(0,o.xO)(C).filter(e=>e!==C);let h=(0,o.et)(C);if(!m.length||!A)return z(c),Reflect.apply(e,t,[c,...a]);let f=O.getOptions().ignoreSpans;let d=m?.reduce((e,t)=>{let r=(0,o.et)(t);return!r.timestamp||f&&(0,s.e)(r,f)?e:(0,e?Math.max(e,r.timestamp):r.timestamp)},undefined);let p=h.start_timestamp;let g=Math.min(p?p+j/1e3:Infinity,Math.max(p||-Infinity,Math.min(c,d||Infinity)));return z(g),Reflect.apply(e,t,[g,...a])}}),T.push(O.on("spanStart",e=>{if(k||e===C||!!(0,o.et)(e).timestamp||e instanceof m.W&&e.isStandaloneSpan())return;(0,o.xO)(C).includes(e)&&N(e.spanContext().spanId)})),T.push(O.on("spanEnd",e=>{if(k)return;q(e.spanContext().spanId)})),T.push(O.on("idleSpanEnableAutoFinish",e=>{e===C&&(_=!0,I(),b.size&&D())})),!y.disableAutoFinish&&I(),setTimeout(()=>{!k&&(C.setStatus({code:h.TJ,message:"deadline_exceeded"}),w="finalTimeout",C.end())},j),C}function g(r){let a=(0,f.Uk)(r);return(0,i.r)((0,e.o5)(),a),t.T&&n.Yz.log("[Tracing] Started span is an idle span"),a}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},544299(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>s});var e=__webpack_require__(449070);var t=__webpack_require__(356583);var r=__webpack_require__(784225);var n=__webpack_require__(342672);var a=__webpack_require__(499490);let s=(s={})=>(0,r.YP)((0,n.Yj)(),"uri",r=>{try{let e=new URL(r);let a=(0,n.NW)(s);return(0,t.vA)(e,a),!0}catch(t){if(t instanceof e.C)return(0,a.u1)(t);return`Expected URL, got "${r.toString()}"`}})}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},545407(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{AS:()=>i,aj:()=>o,s5:()=>s});var e=__webpack_require__(352158);var t=__webpack_require__(396102);var r=__webpack_require__(6929);let n={};let a={};function s(e,t){n[e]=n[e]||[],n[e].push(t)}function i(r,n){if(!a[r]){a[r]=!0;try{n()}catch(n){e.T&&t.Yz.error(`Error while instrumenting ${r}`,n)}}}function o(a,s){let i=a&&n[a];if(!i)return;for(let n of i)try{n(s)}catch(s){e.T&&t.Yz.error(`Error while triggering instrumentation handler.
Type: ${a}
Name: ${(0,r.qQ)(n)}
Error:`,s)}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},546155(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}__webpack_require__.d(__webpack_exports__,{t:()=>e})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},548502(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{dp:()=>x});var e=__webpack_require__(410710);var t=__webpack_require__(538979);var r=__webpack_require__(827284);var n=__webpack_require__(98154);var a=__webpack_require__(78463);var s=__webpack_require__(123532);var i=__webpack_require__(676108);var o=__webpack_require__(682631);var l=__webpack_require__(18898);var c=__webpack_require__(901889);var u=__webpack_require__(396102);var m=__webpack_require__(563023);var h=__webpack_require__(306981);var f=__webpack_require__(605816);var d=__webpack_require__(925075);var p=__webpack_require__(858481);var g=__webpack_require__(138716);var y=__webpack_require__(456247);var b=__webpack_require__(662925);var k=__webpack_require__(566632);var v=__webpack_require__(484413);var w=__webpack_require__(994398);var _=__webpack_require__(64329);var T=__webpack_require__(13623);var S=__webpack_require__(89899);let j={...t.C,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...S.h$};let x=(m={})=>{let x={name:undefined,source:undefined};let R=w.jf.document;let{enableInp:D,enableElementTiming:N,enableLongTask:q,enableLongAnimationFrame:z,_experiments:{enableInteractions:$,enableStandaloneClsSpans:P,enableStandaloneLcpSpans:H},beforeStartSpan:F,idleTimeout:G,finalTimeout:U,childSpanTimeout:B,markBackgroundSpan:Y,traceFetch:W,traceXHR:V,trackFetchStreamPerformance:J,shouldCreateSpanForRequest:Z,enableHTTPTimings:K,ignoreResourceSpans:X,ignorePerformanceApiSpans:Q,instrumentPageLoad:ee,instrumentNavigation:et,detectRedirects:er,linkPreviousTrace:en,consistentTraceSampling:ea,enableReportPageLoaded:es,onRequestSpanStart:ei,onRequestSpanEnd:eo}={...j,...m};let el;let ec;let eu;function em(e,i,l=!0){let c=i.op==="pageload";let u=i.name;let m=F?F(i):i;let f=m.attributes||{};if(u!==m.name&&(f[a.i_]="custom",m.attributes=f),!l){let e=(0,h.lu)();(0,r.Uk)({...m,startTime:e}).end(e);return}x.name=m.name,x.source=f[a.i_];let d=(0,t.D)(m,{idleTimeout:G,finalTimeout:U,childSpanTimeout:B,disableAutoFinish:c,beforeSpanEnd:t=>{el?.(),(0,g.QU)(t,{recordClsOnPageloadSpan:!P,recordLcpOnPageloadSpan:!H,ignoreResourceSpans:X,ignorePerformanceApiSpans:Q}),M(e,undefined);let r=(0,s.o5)();let a=r.getPropagationContext();r.setPropagationContext({...a,traceId:d.spanContext().traceId,sampled:(0,o.pK)(d),dsc:(0,n.k1)(t)}),c&&(eu=undefined)},trimIdleSpanEndTimestamp:!es});function p(){R&&["interactive","complete"].includes(R.readyState)&&e.emit("idleSpanEnableAutoFinish",d)}c&&es&&(eu=d),M(e,d),c&&!es&&R&&(R.addEventListener("readystatechange",()=>{p()}),p())}return{name:"BrowserTracing",setup(t){if((0,e.s)(),el=(0,g.bk)({recordClsStandaloneSpans:P||!1,recordLcpStandaloneSpans:H||!1,client:t}),D&&(0,k.ZZ)(),N&&(0,y.K)(),z&&c.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?(0,g.U$)():q&&(0,g.c8)(),$&&(0,g.DI)(),er&&R){let e=()=>{ec=(0,h.zf)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function r(){let e=C(t);e&&!(0,o.et)(e).timestamp&&(v.T&&u.Yz.log(`[Tracing] Finishing current active span with op: ${(0,o.et)(e).op}`),e.setAttribute(a.fs,"cancelled"),e.end())}t.on("startNavigationSpan",(e,n)=>{if((0,s.KU)()!==t)return;if(n?.isRedirect){v.T&&u.Yz.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),em(t,{op:"navigation.redirect",...e},!1);return}ec=undefined,r(),(0,s.rm)().setPropagationContext({traceId:(0,p.e)(),sampleRand:Math.random(),propagationSpanId:(0,i.f)()?undefined:(0,p.Z)()});let a=(0,s.o5)();a.setPropagationContext({traceId:(0,p.e)(),sampleRand:Math.random(),propagationSpanId:(0,i.f)()?undefined:(0,p.Z)()}),a.setSDKProcessingMetadata({normalizedRequest:undefined}),em(t,{op:"navigation",...e,parentSpan:null,forceTransaction:!0})}),t.on("startPageLoadSpan",(e,n={})=>{if((0,s.KU)()!==t)return;r();let a=n.sentryTrace||O("sentry-trace");let o=n.baggage||O("baggage");let l=(0,f.kM)(a,o);let c=(0,s.o5)();c.setPropagationContext(l),!(0,i.f)()&&(c.getPropagationContext().propagationSpanId=(0,p.Z)()),c.setSDKProcessingMetadata({normalizedRequest:(0,w.AP)()}),em(t,{op:"pageload",...e})}),t.on("endPageloadSpan",()=>{es&&eu&&(eu.setAttribute(a.fs,"reportPageLoaded"),eu.end())})},afterAllSetup(e){let t=(0,l.$N)();if(en!=="off"&&(0,T.X)(e,{linkPreviousTrace:en,consistentTraceSampling:ea}),w.jf.location){if(ee){let t=(0,h.k3)();E(e,{name:w.jf.location.pathname,startTime:t?t/1e3:undefined,attributes:{[a.i_]:"url",[a.JD]:"auto.pageload.browser"}})}et&&(0,b._)(({to:r,from:n})=>{if(n===undefined&&t?.indexOf(r)!==-1){t=undefined;return}t=undefined;let s=(0,d.kg)(r);let i=C(e);let o=i&&er&&I(i,ec);A(e,{name:s?.pathname||w.jf.location.pathname,attributes:{[a.i_]:"url",[a.JD]:"auto.navigation.browser"}},{url:r,isRedirect:o})})}Y&&(0,_.i)(),$&&L(e,G,U,B,x),D&&(0,k.Bb)(),(0,S.Qb)(e,{traceFetch:W,traceXHR:V,trackFetchStreamPerformance:J,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:Z,enableHTTPTimings:K,onRequestSpanStart:ei,onRequestSpanEnd:eo})}}};function E(e,t,r){e.emit("startPageLoadSpan",t,r),(0,s.o5)().setTransactionName(t.name);let n=C(e);return n&&e.emit("afterStartPageLoadSpan",n),n}function A(e,t,r){let{url:n,isRedirect:a}=r||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:a}),e.emit("startNavigationSpan",t,{isRedirect:a});let i=(0,s.o5)();return i.setTransactionName(t.name),n&&!a&&i.setSDKProcessingMetadata({normalizedRequest:{...(0,w.AP)(),url:n}}),C(e)}function O(e){let t=w.jf.document;let r=t?.querySelector(`meta[name=${e}]`);return r?.getAttribute("content")||undefined}function L(e,r,n,s,i){let l;w.jf.document&&addEventListener("click",()=>{let c="ui.action.click";let m=C(e);if(m){if(["navigation","pageload"].includes((0,o.et)(m).op))return v.T&&u.Yz.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`),undefined}if(l&&(l.setAttribute(a.fs,"interactionInterrupted"),l.end(),l=undefined),!i.name)return v.T&&u.Yz.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`),undefined;l=(0,t.D)({name:i.name,op:c,attributes:{[a.i_]:i.source||"url"}},{idleTimeout:r,finalTimeout:n,childSpanTimeout:s})},{capture:!0})}let R="_sentry_idleSpan";function C(e){return e[R]}function M(e,t){(0,m.my)(e,R,t)}function I(e,t){let r=(0,o.et)(e);let n=(0,h.lu)();return n-r.start_timestamp>1.5||t&&n-t<=1.5?!1:(0,!0)}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},549140(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>r,u:()=>t});let e=__webpack_require__(465273)("metamask");function t(t){return e.extend(t)}function r(e,t){return e.extend(t)}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},552558(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>e.s,w:()=>e.w});var e=__webpack_require__(100209)}}).call(__webpack_require__._LM_("@metamask/base-controller",{__webpack_require__,__webpack_exports__}))()},563023(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{GS:()=>a,HF:()=>m,W4:()=>l,my:()=>s,pO:()=>i,sp:()=>o});var e=__webpack_require__(352158);var t=__webpack_require__(18898);var r=__webpack_require__(396102);var n=__webpack_require__(632356);function a(t,n,a){if(!(n in t))return;let s=t[n];if(typeof s!=="function")return;let o=a(s);typeof o=="function"&&i(o,s);try{t[n]=o}catch{e.T&&r.Yz.log(`Failed to replace method "${n}" in object`,t)}}function s(t,n,a){try{Object.defineProperty(t,n,{value:a,writable:!0,configurable:!0})}catch{e.T&&r.Yz.log(`Failed to add non-enumerable property "${n}" to object`,t)}}function i(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,s(e,"__sentry_original__",t)}catch{}}function o(e){return e.__sentry_original__}function l(e){if((0,n.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...u(e)};if(!(0,n.xH)(e))return e;{let t={type:e.type,target:c(e.target),currentTarget:c(e.currentTarget),...u(e)};return typeof CustomEvent!=="undefined"&&(0,n.tH)(e,CustomEvent)&&(t.detail=e.detail),t}}function c(e){try{return(0,n.vq)(e)?(0,t.Hd)(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function u(e){if(typeof e!="object"||e===null)return{};{let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}}function m(e){let t=Object.keys(l(e));return t.sort(),!t[0]?"[object has no keys]":t.join(", ")}function h(e){let t=e.constructor;return t===Object||t===undefined}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},566632(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Bb:()=>g,ZZ:()=>h});var e=__webpack_require__(78463);var t=__webpack_require__(123532);var r=__webpack_require__(682631);var n=__webpack_require__(18898);var a=__webpack_require__(920942);var s=__webpack_require__(306981);var i=__webpack_require__(765698);var o=__webpack_require__(821396);var l=__webpack_require__(33040);let c=[];let u=new Map;let m=new Map;function h(){if((0,l.D)()&&(0,s.k3)()){let e=d();return()=>{e()}}return()=>undefined}let f={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function d(){return(0,o.hT)(p)}let p=({metric:a})=>{if(a.value==undefined)return;let i=(0,l.rv)(a.value);if(i>60)return;let o=a.entries.find(e=>e.duration===a.value&&f[e.name]);if(!o)return;let{interactionId:c}=o;let m=f[o.name];let h=(0,l.rv)((0,s.k3)()+o.startTime);let d=(0,r.Bk)();let p=d?(0,r.zU)(d):undefined;let g=c!=null?u.get(c):undefined;let y=g?.span||p;let b=y?(0,r.et)(y).description:(0,t.o5)().getScopeData().transactionName;let k=g?.elementName||(0,n.Hd)(o.target);let v={[e.JD]:"auto.http.browser.inp",[e.uT]:`ui.interaction.${m}`,[e.jG]:o.duration};let w=(0,l.kD)({name:k,transaction:b,attributes:v,startTime:h});w&&(w.addEvent("inp",{[e.Sn]:"millisecond",[e.xc]:a.value}),w.end(h+i))};function g(){let e=Object.keys(f);function t(e){let t=e.target;if(!t)return;let r=(0,n.Hd)(t);let a=Math.round(e.timeStamp);if(m.set(a,r),m.size>50){let e=m.keys().next().value;e!==undefined&&m.delete(e)}}function s(e){let t=Math.round(e.startTime);let r=m.get(t);if(!r)for(let e=-5;e<=5;e++){let n=m.get(t+e);if(n){r=n;break}}return r||"<unknown>"}(0,a.B)()&&e.forEach(e=>{i.j.addEventListener(e,t,{capture:!0,passive:!0})});let l=({entries:e})=>{let t=(0,r.Bk)();let a=t&&(0,r.zU)(t);e.forEach(e=>{if(!(0,o.tC)(e))return;let t=e.interactionId;if(t==null||u.has(t))return;let r=e.target?(0,n.Hd)(e.target):s(e);if(c.length>10){let e=c.shift();u.delete(e)}c.push(t),u.set(t,{span:a,elementName:r})})};(0,o.wv)("event",l),(0,o.wv)("first-input",l)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},576883(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)&&Object.keys(e).includes("value")}function t(t,r){let{value:a,unit:s}=e(t)?t:{value:t,unit:undefined};let i=n(a);let o=s&&typeof s=="string"?{unit:s}:{};if(i)return{...i,...o};if(!r||r==="skip-undefined"&&a===undefined)return;let l="";try{l=JSON.stringify(a)??""}catch{}return{value:l,type:"string",...o}}function r(e,n=!1){let a={};for(let[r,s]of Object.entries(e??{})){let e=t(s,n);e&&(a[r]=e)}return a}function n(e){let t=typeof e=="string"?"string":typeof e=="boolean"?"boolean":typeof e=="number"&&!Number.isNaN(e)?Number.isInteger(e)?"integer":"double":null;if(t)return{value:e,type:t}}__webpack_require__.d(__webpack_exports__,{SY:()=>r})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},577102(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P$:()=>s,_C:()=>l,lc:()=>i,mH:()=>a,qm:()=>o});var e=__webpack_require__(352158);var t=__webpack_require__(396102);let r=[];function n(e){let t={};return e.forEach(e=>{let{name:r}=e;let n=t[r];if(n&&!n.isDefaultInstance&&e.isDefaultInstance)return;t[r]=e}),Object.values(t)}function a(e){let t=e.defaultIntegrations||[];let r=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let a;if(Array.isArray(r))a=[...t,...r];else if(typeof r=="function"){let e=r(t);a=Array.isArray(e)?e:[e]}else a=t;return n(a)}function s(e,t){let r={};return t.forEach(t=>{t&&o(e,t,r)}),r}function i(e,t){for(let r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function o(n,a,s){if(s[a.name]){e.T&&t.Yz.log(`Integration skipped because it was already installed: ${a.name}`);return}if(s[a.name]=a,!r.includes(a.name)&&typeof a.setupOnce=="function"&&(a.setupOnce(),r.push(a.name)),a.setup&&typeof a.setup=="function"&&a.setup(n),typeof a.preprocessEvent=="function"){let e=a.preprocessEvent.bind(a);n.on("preprocessEvent",(t,r)=>e(t,r,n))}if(typeof a.processEvent=="function"){let e=a.processEvent.bind(a);let t=Object.assign((t,r)=>e(t,r,n),{id:a.name});n.addEventProcessor(t)}e.T&&t.Yz.log(`Integration installed: ${a.name}`)}function l(e){return e}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},580436(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>r,d:()=>t});var e=__webpack_require__(765698);function t(t,r,n){e.j.document&&e.j.addEventListener(t,r,n)}function r(t,r,n){e.j.document&&e.j.removeEventListener(t,r,n)}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},581327(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>i,G:()=>s});var e=__webpack_require__(745085);var t=__webpack_require__(754255);var r=__webpack_require__(144008);var n;let a=(n=t,n?.__esModule?n.default:(0,n));class s extends Error{constructor(t,n,a){if(!Number.isInteger(t))throw new Error('"code" must be an integer.');if(!n||typeof n!=="string")throw new Error('"message" must be a non-empty string.');(0,r.el)(a)?(super(n,{cause:a.cause}),!(0,e.i5)(this,"cause")&&Object.assign(this,{cause:a.cause})):super(n),a!==undefined&&(this.data=a),this.code=t}serialize(){let t={code:this.code,message:this.message};return this.data!==undefined&&(t.data=this.data,(0,e.Qd)(this.data)&&(t.data.cause=(0,r._K)(this.data.cause))),this.stack&&(t.stack=this.stack),t}toString(){return a(this.serialize(),l,2)}}class i extends s{constructor(e,t,r){if(!o(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,r)}}function o(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}function l(e,t){return t==="[Circular]"?undefined:(0,t)}}}).call(__webpack_require__._LM_("@metamask/rpc-errors",{__webpack_require__,__webpack_exports__}))()},587279(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.r(__webpack_exports__);var e=__webpack_require__(115726);globalThis.sentry=(0,e.Ay)()}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},590041(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{S8:()=>n,cd:()=>a});var e=__webpack_require__(632356);var t=__webpack_require__(563023);var r=__webpack_require__(6929);function n(e,t=100,r=+Infinity){try{return s("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function a(e,t=3,r=100*1024){let s=n(e,t);return c(s)>r?a(e,t-1,r):(0,s)}function s(e,r,n=+Infinity,a=+Infinity,o=u()){let[l,c]=o;if(r==null||["boolean","string"].includes(typeof r)||typeof r=="number"&&Number.isFinite(r))return r;let m=i(e,r);if(!m.startsWith("[object "))return m;if(r["__sentry_skip_normalization__"])return r;let h=typeof r["__sentry_override_normalization_depth__"]=="number"?r["__sentry_override_normalization_depth__"]:n;if(h===0)return m.replace("object ","");if(l(r))return"[Circular ~]";if(r&&typeof r.toJSON=="function")try{let e=r.toJSON();return s("",e,h-1,a,o)}catch{}let f=Array.isArray(r)?[]:{};let d=0;let p=(0,t.W4)(r);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(d>=a){f[e]="[MaxProperties ~]";break}let t=p[e];f[e]=s(e,t,h-1,a,o),d++}return c(r),f}function i(t,n){try{if(t==="domain"&&n&&typeof n=="object"&&n._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof globalThis!=="undefined"&&n===globalThis)return"[Global]";if(typeof window!=="undefined"&&n===window)return"[Window]";if(document!==void 0&&n===document)return"[Document]";if((0,e.L2)(n))return(0,r.nY)(n);if((0,e.mE)(n))return"[SyntheticEvent]";if(typeof n=="number"&&!Number.isFinite(n))return`[${n}]`;if(typeof n=="function")return`[Function: ${(0,r.qQ)(n)}]`;if(typeof n=="symbol")return`[${String(n)}]`;if(typeof n=="bigint")return`[BigInt: ${String(n)}]`;let a=o(n);if(/^HTML(\w*)Element$/.test(a))return`[HTMLElement: ${a}]`;return`[object ${a}]`}catch(e){return`**non-serializable** (${e})`}}function o(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function l(e){return~-encodeURI(e).split(/%..|./).length}function c(e){return l(JSON.stringify(e))}function u(){let e=new WeakSet;return[function(t){return e.has(t)?!0:(e.add(t),!1)},function(t){e.delete(t)}]}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},597054(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>n});var e=__webpack_require__(512986);var t=__webpack_require__(835203);let r=null;class n extends t.A{static get instance(){return r===null&&(r=new n),r}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:r,locale:n}){return(0,e.wG)(t,r,n)}formatOffset(t,r){return(0,e.xS)(this.offset(t),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},598723(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{S:()=>e});let e=function(e,...t){let r=new String(String.raw(e,...t));return r.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),r.__sentry_template_values__=t,r}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},600473(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ay:()=>b});var e=__webpack_require__(695358);var t=__webpack_require__(868766);var r=__webpack_require__(14631);var n=__webpack_require__(912276);var a=__webpack_require__(210164);var s=__webpack_require__(512986);var i=__webpack_require__(603476);var o=__webpack_require__(835060);let l="Invalid Duration";let c={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},u={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...c},m={years:{quarters:4,months:12,weeks:146097/400/7,days:146097/400,hours:146097/400*24,minutes:146097/400*24*60,seconds:146097/400*24*60*60,milliseconds:146097/400*24*60*60*1e3},quarters:{months:3,weeks:146097/400/28,days:146097/400/4,hours:146097/400*24/4,minutes:146097/400*24*60/4,seconds:146097/400*24*60*60/4,milliseconds:146097/400*24*60*60*1e3/4},months:{weeks:146097/4800/7,days:146097/4800,hours:146097/4800*24,minutes:146097/4800*24*60,seconds:146097/4800*24*60*60,milliseconds:146097/4800*24*60*60*1e3},...c};let h=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];let f=h.slice(0).reverse();function d(e,t,r=!1){return new b({values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix})}function p(e,t){let r=t.milliseconds??0;for(let n of f.slice(1))t[n]&&(r+=t[n]*e[n]["milliseconds"]);return r}function g(e,t){let r=p(e,t)<0?-1:1;h.reduceRight((n,a)=>{if((0,s.b0)(t[a]))return n;{if(n){let s=t[n]*r;let i=e[a][n];let o=Math.floor(s/i);t[a]+=o*r,t[n]-=o*i*r}return a}},null),h.reduce((r,n)=>{if((0,s.b0)(t[n]))return r;{if(r){let a=t[r]%1;t[r]-=a,t[n]+=a*e[r][n]}return n}},null)}function y(e){let t={};for(let[r,n]of Object.entries(e))n!==0&&(t[r]=n);return t}class b{constructor(e){let t=e.conversionAccuracy==="longterm";let r=t?m:u;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||n.A.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return b.fromObject({milliseconds:e},t)}static fromObject(t,r={}){if(t==null||typeof t!=="object")throw new e.Di(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new b({values:(0,s.Fl)(t,b.normalizeUnit),loc:n.A.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(t){if((0,s.Et)(t))return b.fromMillis(t);if(b.isDuration(t))return t;if(typeof t=="object")return b.fromObject(t);throw new e.Di(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(e,t){let[r]=(0,a.rB)(e);return r?b.fromObject(r,t):(0,b.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`))}static fromISOTime(e,t){let[r]=(0,a.QE)(e);return r?b.fromObject(r,t):(0,b.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`))}static invalid(t,n=null){if(!t)throw new e.Di("need to specify a reason the Duration is invalid");let a=t instanceof r.A?t:new r.A(t,n);if(!i.A.throwOnInvalid)return new b({invalid:a});throw new e.Op(a)}static normalizeUnit(t){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!r)throw new e.iq(t);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?t.A.create(this.loc,n).formatDurationFromString(this,e):l}toHuman(e={}){if(!this.isValid)return l;let t=h.map(t=>{let r=this.values[t];return(0,s.b0)(r)?null:(0,this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r))}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return!this.isValid?{}:(0,{...this.values})}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=(0,s.GB)(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},o.A.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:(0,`Duration { Invalid, reason: ${this.invalidReason} }`)}toMillis(){return!this.isValid?NaN:(0,p(this.matrix,this.values))}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let t=b.fromDurationLike(e),r={};for(let e of h)((0,s.mQ)(t.values,e)||(0,s.mQ)(this.values,e))&&(r[e]=t.get(e)+this.get(e));return d(this,{values:r},!0)}minus(e){if(!this.isValid)return this;let t=b.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let r of Object.keys(this.values))t[r]=(0,s.i)(e(this.values[r],r));return d(this,{values:t},!0)}get(e){return this[b.normalizeUnit(e)]}set(e){return!this.isValid?this:(0,d(this,{values:{...this.values,...(0,s.Fl)(e,b.normalizeUnit)}}))}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:n}={}){return d(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:n,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return g(this.matrix,e),d(this,{values:e},!0)}rescale(){return!this.isValid?this:(0,d(this,{values:y(this.normalize().shiftToAll().toObject())},!0))}shiftTo(...e){if(!this.isValid||e.length===0)return this;e=e.map(e=>b.normalizeUnit(e));let t={},r={},n=this.toObject();let a;for(let i of h)if(e.indexOf(i)>=0){a=i;let e=0;for(let t in r)e+=this.matrix[t][i]*r[t],r[t]=0;(0,s.Et)(n[i])&&(e+=n[i]);let o=Math.trunc(e);t[i]=o,r[i]=(e*1e3-o*1e3)/1e3}else(0,s.Et)(n[i])&&(r[i]=n[i]);for(let e in r)r[e]!==0&&(t[a]+=e===a?r[e]:r[e]/this.matrix[a][e]);return g(this.matrix,t),d(this,{values:t},!0)}shiftToAll(){return!this.isValid?this:(0,this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"))}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return d(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(e,t){return e===undefined||e===0?t===undefined||t===0:(0,e===t)}for(let r of h)if(!t(this.values[r],e.values[r]))return!1;return!0}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},603373(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>a});var e=__webpack_require__(396102);var t=__webpack_require__(563023);var r=__webpack_require__(901889);var n=__webpack_require__(545407);function a(e){let t="console";(0,n.s5)(t,e),(0,n.AS)(t,s)}function s(){if(!("console"in r.O))return;e.Ow.forEach(function(a){if(!(a in r.O.console))return;(0,t.GS)(r.O.console,a,function(t){return e.Z9[a]=t,function(...t){(0,n.aj)("console",{args:t,level:a});let s=e.Z9[a];s?.apply(r.O.console,t)}})})}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},603476(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>p});var e=__webpack_require__(597054);var t=__webpack_require__(750628);var r=__webpack_require__(912276);var n=__webpack_require__(835060);var a=__webpack_require__(232712);var s=__webpack_require__(512986);var i=__webpack_require__(138292);let o=()=>Date.now(),l="system",c=null,u=null,m=null,h=60,f,d=null;class p{static get now(){return o}static set now(e){o=e}static set defaultZone(e){l=e}static get defaultZone(){return(0,a.q)(l,e.A.instance)}static get defaultLocale(){return c}static set defaultLocale(e){c=e}static get defaultNumberingSystem(){return u}static set defaultNumberingSystem(e){u=e}static get defaultOutputCalendar(){return m}static set defaultOutputCalendar(e){m=e}static get defaultWeekSettings(){return d}static set defaultWeekSettings(e){d=(0,s._v)(e)}static get twoDigitCutoffYear(){return h}static set twoDigitCutoffYear(e){h=e%100}static get throwOnInvalid(){return f}static set throwOnInvalid(e){f=e}static resetCaches(){r.A.resetCache(),t.A.resetCache(),n.A.resetCache(),(0,i.wO)()}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},605816(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A9:()=>h,Iy:()=>u,MI:()=>i,TC:()=>c,kM:()=>l});var e=__webpack_require__(396102);var t=__webpack_require__(620772);var r=__webpack_require__(381699);var n=__webpack_require__(865961);var a=__webpack_require__(858481);var s=__webpack_require__(147687);let i=new RegExp("^[ \\t]*"+"([0-9a-f]{32})?"+"-?([0-9a-f]{16})?"+"-?([01])?"+"[ \\t]*$");function o(e){if(!e)return undefined;let t=e.match(i);if(!t)return undefined;let r;return t[3]==="1"?r=!0:t[3]==="0"&&(r=!1),{traceId:t[1],parentSampled:r,parentSpanId:t[2]}}function l(e,r){let n=o(e);let i=(0,t.yD)(r);if(!n?.traceId)return{traceId:(0,a.e)(),sampleRand:(0,s.hY)()};let l=m(n,i);i&&(i.sample_rand=l.toString());let{traceId:c,parentSpanId:u,parentSampled:h}=n;return{traceId:c,parentSpanId:u,sampled:h,dsc:i||{},sampleRand:l}}function c(e=(0,a.e)(),t=(0,a.Z)(),r){let n="";return r!==undefined&&(n=r?"-1":"-0"),`${e}-${t}${n}`}function u(e=(0,a.e)(),t=(0,a.Z)(),r){return`00-${e}-${t}-${r?"01":"00"}`}function m(e,t){let r=(0,n.i)(t?.sample_rand);if(r!==undefined)return r;let a=(0,n.i)(t?.sample_rate);return a&&e?.parentSampled!==undefined?e.parentSampled?(0,s.hY)()*a:a+(0,s.hY)()*(1-a):(0,(0,s.hY)())}function h(t,n){let a=(0,r.ul)(t);if(n&&a&&n!==a)return e.Yz.log(`Won't continue trace because org IDs don't match (incoming baggage: ${n}, SDK options: ${a})`),!1;if(t.getOptions().strictTraceContinuation||!1){if(n&&!a||!n&&a)return e.Yz.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${n}, Sentry client: ${a})`),!1}return!0}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},609948(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>a});var e=__webpack_require__(784225);var t=__webpack_require__(342672);var r=__webpack_require__(984381);let n=/Z|([+-]\d{2}:?\d{2})$/u;let a=(0,e.YP)((0,t.Yj)(),"ISO 8601 date",e=>{return!r.c9.fromISO(e).isValid?"Not a valid ISO 8601 date":(0,!n.test(e))?"ISO 8601 date must have timezone information":(0,!0)})}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},612717(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{li:()=>g,mG:()=>c});var e=__webpack_require__(15797);var t=__webpack_require__(189193);var r=__webpack_require__(665016);var n=__webpack_require__(294970);var a=__webpack_require__(392316);var s=__webpack_require__(590041);var i=__webpack_require__(525162);var o=__webpack_require__(180121);var l=__webpack_require__(306981);function c(e,r,n,s,o,c){let{normalizeDepth:g=3,normalizeMaxBreadth:y=1e3}=e;let b={...r,event_id:r.event_id||n.event_id||(0,a.eJ)(),timestamp:r.timestamp||(0,l.lu)()};let k=n.integrations||e.integrations.map(e=>e.name);u(b,e),f(b,k),o&&o.emit("applyFrameMetadata",r),r.type===undefined&&m(b,e.stackParser);let v=p(s,n.captureContext);n.mechanism&&(0,a.M6)(b,n.mechanism);let w=o?o.getEventProcessors():[];let _=(0,i.Om)(c,v);let T=[...n.attachments||[],..._.attachments];T.length&&(n.attachments=T),(0,i.e2)(b,_);let S=[...w,..._.eventProcessors];return(0,t.j)(S,b,n).then(e=>{return(e&&h(e),typeof g=="number"&&g>0)?d(e,g,y):(0,e)})}function u(t,r){let{environment:n,release:a,dist:s,maxValueLength:i}=r;t.environment=t.environment||n||e.U,!t.release&&a&&(t.release=a),!t.dist&&s&&(t.dist=s);let l=t.request;l?.url&&i&&(l.url=(0,o.xv)(l.url,i)),i&&t.exception?.values?.forEach(e=>{e.value&&(e.value=(0,o.xv)(e.value,i))})}function m(e,t){let r=(0,n.z)(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=r[e.filename])})})}function h(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}function f(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function d(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,s.S8)(e.data,t,r)}}))},...e.user&&{user:(0,s.S8)(e.user,t,r)},...e.contexts&&{contexts:(0,s.S8)(e.contexts,t,r)},...e.extra&&{extra:(0,s.S8)(e.extra,t,r)}};return e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=(0,s.S8)(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>{return{...e,...e.data&&{data:(0,s.S8)(e.data,t,r)}}})),e.contexts?.flags&&n.contexts&&(n.contexts.flags=(0,s.S8)(e.contexts.flags,3,r)),n}function p(e,t){if(!t)return e;let n=e?e.clone():new r.H;return n.update(t),n}function g(e){return!e?undefined:(0,y(e)||k(e))?{captureContext:e}:(0,e)}function y(e){return e instanceof r.H||typeof e=="function"}let b=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function k(e){return Object.keys(e).some(e=>b.includes(e))}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},614130(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>t});var e=__webpack_require__(879771);function t(t){return(0,e.KC)(t)}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},617648(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";module.exports=function(e){function t(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r)|0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){let t;let a=null;let s;let i;function o(...e){if(!o.enabled)return;let n=Number(new Date);o.diff=n-(t||n),o.prev=t,o.curr=n,t=n,e[0]=r.coerce(e[0]),typeof e[0]!=="string"&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,n)=>{if(t==="%%")return"%";a++;let s=r.formatters[n];if(typeof s=="function"){let r=e[a];t=s.call(o,r),e.splice(a,1),a--}return t}),r.formatArgs.call(o,e),(o.log||r.log).apply(o,e)}return o.namespace=e,o.useColors=r.useColors(),o.color=r.selectColor(e),o.extend=n,o.destroy=r.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>{return a!==null?a:(s!==r.namespaces&&(s=r.namespaces,i=r.enabled(e)),i)},set:e=>{a=e}}),typeof r.init=="function"&&r.init(o),o}function n(e,t){let n=r(this.namespace+(t===void 0?":":t)+e);return n.log=this.log,n}function a(e){for(let t of(r.save(e),r.namespaces=e,r.names=[],r.skips=[],(typeof e=="string"?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))t[0]==="-"?r.skips.push(t.slice(1)):r.names.push(t)}function s(e,t){let r=0;let n=0;let a=-1;let s=0;while(r<e.length)if(n<t.length&&(t[n]===e[r]||t[n]==="*"))t[n]==="*"?(a=n,s=r):r++,n++;else if(a===-1)return!1;else n=a+1,r=++s;while(n<t.length&&t[n]==="*")n++;return n===t.length}function i(){let e=[...r.names,...r.skips.map(e=>"-"+e)].join(",");return r.enable(""),e}function o(e){for(let t of r.skips)if(s(e,t))return!1;for(let t of r.names)if(s(e,t))return!0;return!1}function l(e){return e instanceof Error?e.stack||e.message:(0,e)}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=a,r.enabled=o,r.humanize=__webpack_require__(134281),r.destroy=c,Object.keys(e).forEach(t=>{r[t]=e[t]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}}}).call(__webpack_require__._LM_("nock>debug",{module,__webpack_require__}))()},620697(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>t});var e=__webpack_require__(632356);function t(t,n,a,s,i,o){if(!i.exception?.values||!o||!(0,e.bJ)(o.originalException))return;let l=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:undefined;l&&(i.exception.values=r(t,n,s,o.originalException,a,i.exception.values,l,0))}function r(t,i,o,l,c,u,m,h){if(u.length>=o+1)return u;let f=[...u];if((0,e.bJ)(l[c])){a(m,h,l);let e=t(i,l[c]);let n=f.length;s(e,c,n,h),f=r(t,i,o,l[c],c,[e,...f],e,n)}return n(l)&&l.errors.forEach((n,u)=>{if((0,e.bJ)(n)){a(m,h,l);let e=t(i,n);let d=f.length;s(e,`errors[${u}]`,d,h),f=r(t,i,o,n,c,[e,...f],e,d)}}),f}function n(e){return Array.isArray(e.errors)}function a(e,t,r){e.mechanism={handled:!0,type:"auto.core.linked_errors",...n(r)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function s(e,t,r,n){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},620772(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{De:()=>i,sv:()=>n,yD:()=>s});var e=__webpack_require__(352158);var t=__webpack_require__(396102);var r=__webpack_require__(632356);let n="sentry-";let a=/^sentry-/;function s(e){let t=o(e);if(!t)return undefined;let r=Object.entries(t).reduce((e,[t,r])=>{return t.match(a)&&(e[t.slice(n.length)]=r),e},{});return Object.keys(r).length>0?r:(0,undefined)}function i(e){return!e?undefined:(0,c(Object.entries(e).reduce((e,[t,r])=>{return r&&(e[`${n}${t}`]=r),e},{})))}function o(e){return!e||!(0,r.Kg)(e)&&!Array.isArray(e)?undefined:(0,Array.isArray(e))?e.reduce((e,t)=>{return Object.entries(l(t)).forEach(([t,r])=>{e[t]=r}),e},{}):(0,l(e))}function l(e){return e.split(",").map(e=>{let t=e.indexOf("=");return t===-1?[]:(0,[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}}))}).reduce((e,[t,r])=>{return t&&r&&(e[t]=r),e},{})}function c(r){return Object.keys(r).length===0?undefined:(0,Object.entries(r).reduce((r,[n,a],s)=>{let i=`${encodeURIComponent(n)}=${encodeURIComponent(a)}`;let o=s===0?i:`${r},${i}`;return o.length>8192?(e.T&&t.Yz.warn(`Not adding key: ${n} with val: ${a} to baggage header due to exceeding baggage size limits.`),r):(0,o)},""))}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},621827(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>e});let e=()=>{return`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},625919(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>n});var e=__webpack_require__(901889);var t=__webpack_require__(545407);let r=null;function n(e){let r="unhandledrejection";(0,t.s5)(r,e),(0,t.AS)(r,a)}function a(){r=e.O.onunhandledrejection,e.O.onunhandledrejection=function(e){return((0,t.aj)("unhandledrejection",e),r)?r.apply(this,arguments):(0,!0)},e.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},632356(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{BD:()=>a,Kg:()=>i,L2:()=>g,NF:()=>o,Qd:()=>c,Qg:()=>f,T2:()=>n,W6:()=>s,bJ:()=>t,gd:()=>h,ks:()=>y,mE:()=>d,sO:()=>l,tH:()=>p,vq:()=>m,xH:()=>u});let e=Object.prototype.toString;function t(t){switch(e.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return p(t,Error)}}function r(t,r){return e.call(t)===`[object ${r}]`}function n(e){return r(e,"ErrorEvent")}function a(e){return r(e,"DOMError")}function s(e){return r(e,"DOMException")}function i(e){return r(e,"String")}function o(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function l(e){return e===null||o(e)||typeof e!=="object"&&typeof e!=="function"}function c(e){return r(e,"Object")}function u(e){return typeof Event!=="undefined"&&p(e,Event)}function m(e){return typeof Element!=="undefined"&&p(e,Element)}function h(e){return r(e,"RegExp")}function f(e){return Boolean(e?.then&&typeof e.then=="function")}function d(e){return c(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function p(e,t){try{return e instanceof t}catch{return!1}}function g(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue||e.__v_isVNode))}function y(e){return typeof Request!=="undefined"&&p(e,Request)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},646093(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{KG:()=>d,lt:()=>p});var e=__webpack_require__(576883);var t=__webpack_require__(943924);var r=__webpack_require__(123532);var n=__webpack_require__(352158);var a=__webpack_require__(396102);var s=__webpack_require__(632356);var i=__webpack_require__(525162);var o=__webpack_require__(466737);var l=__webpack_require__(306981);var c=__webpack_require__(358496);var u=__webpack_require__(948643);var m=__webpack_require__(506820);function h(e,t,r,n=!0){r&&(!e[t]||n)&&(e[t]=r)}function f(e,t){let r=y();let n=g(e);n===undefined?r.set(e,[t]):n.length>=100?(p(e,n),r.set(e,[t])):r.set(e,[...n,t])}function d(t,m=(0,r.o5)(),p=f){let g=m?.getClient()??(0,r.KU)();if(!g){n.T&&a.Yz.warn("No client available to capture log.");return}let{release:y,environment:b,enableLogs:k=!1,beforeSendLog:v}=g.getOptions();if(!k){n.T&&a.Yz.warn("logging option not enabled, log will not be captured.");return}let[,w]=(0,c.V)(g,m);let _={...t.attributes};let{user:{id:T,email:S,username:j},attributes:x={}}=(0,i.Om)((0,r.rm)(),m);h(_,"user.id",T,!1),h(_,"user.email",S,!1),h(_,"user.name",j,!1),h(_,"sentry.release",y),h(_,"sentry.environment",b);let{name:E,version:A}=g.getSdkMetadata()?.sdk??{};h(_,"sentry.sdk.name",E),h(_,"sentry.sdk.version",A);let O=g.getIntegrationByName("Replay");let L=O?.getReplayId(!0);h(_,"sentry.replay_id",L),L&&O?.getRecordingMode()==="buffer"&&h(_,"sentry._internal.replay_is_buffering",!0);let R=t.message;if((0,s.NF)(R)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=R;t?.length&&(_["sentry.message.template"]=e),t.forEach((e,t)=>{_[`sentry.message.parameter.${t}`]=e})}let C=(0,o.f)(m);h(_,"sentry.trace.parent_span_id",C?.spanContext().spanId);let M={...t,attributes:_};g.emit("beforeCaptureLog",M);let I=v?(0,a.pq)(()=>v(M)):M;if(!I){g.recordDroppedEvent("before_send","log_item",1),n.T&&a.Yz.warn("beforeSendLog returned null, log will not be captured.");return}let{level:D,message:N,attributes:q={},severityNumber:z}=I;p(g,{timestamp:(0,l.zf)(),level:D,body:N,trace_id:w?.trace_id,severity_number:z??u.W[D],attributes:{...(0,e.SY)(x),...(0,e.SY)(q,!0)}}),g.emit("afterCaptureLog",I)}function p(e,t){let r=t??g(e)??[];if(r.length===0)return;let n=e.getOptions();let a=(0,m.l)(r,n._metadata,n.tunnel,e.getDsn());y().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(a)}function g(e){return y().get(e)}function y(){return(0,t.BY)("clientToLogBufferMap",()=>new WeakMap)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},647388(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Es:()=>u,rI:()=>l,ux:()=>c});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(142282);var n=__webpack_require__(879771);var a;var s;(s=a||(a={}))["ButtonClickEvent"]="ButtonClickEvent",s["FormSubmitEvent"]="FormSubmitEvent",s["InputChangeEvent"]="InputChangeEvent",s["FileUploadEvent"]="FileUploadEvent";let i=(0,e.Ik)({type:(0,e.Yj)(),name:(0,e.lq)((0,e.Yj)())});let o=(0,t.kp)(i,(0,e.Ik)({type:(0,n.eu)(a.ButtonClickEvent),name:(0,e.lq)((0,e.Yj)())}));let l=(0,e.Ik)({accountId:(0,e.Yj)(),addresses:(0,e.YO)(r.FX)});let c=(0,e.Ik)({name:(0,e.Yj)(),size:(0,e.ai)(),contentType:(0,e.Yj)(),contents:(0,e.Yj)()});let u=(0,e.Ik)({asset:r.jx,name:(0,e.Yj)(),symbol:(0,e.Yj)()});let m=(0,t.kp)(i,(0,e.Ik)({type:(0,n.eu)(a.FormSubmitEvent),value:(0,e.g1)((0,e.Yj)(),(0,e.me)((0,e.KC)([(0,e.Yj)(),c,(0,e.zM)(),l,u]))),name:(0,e.Yj)()}));let h=(0,t.kp)(i,(0,e.Ik)({type:(0,n.eu)(a.InputChangeEvent),name:(0,e.Yj)(),value:(0,e.me)((0,e.KC)([(0,e.Yj)(),(0,e.zM)(),l,u]))}));let f=(0,t.kp)(i,(0,e.Ik)({type:(0,n.eu)(a.FileUploadEvent),name:(0,e.Yj)(),file:(0,e.me)(c)}));(0,n.i5)([o,m,h,f])}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},650710(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";let e=globalThis.chrome?.runtime.getManifest()||globalThis.browser?.runtime.getManifest();let t=e?e.manifest_version===3:!0;let r=Boolean(globalThis.chrome?.offscreen);module.exports={isManifestV3:t,isOffscreenAvailable:r,isMv3ButOffscreenDocIsMissing:t&&!r}}}).call(__webpack_require__._LM_("$root$",{module,__webpack_require__}))()},652751(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{L:()=>n});var e=__webpack_require__(901889);var t=__webpack_require__(545407);let r=null;function n(e){let r="error";(0,t.s5)(r,e),(0,t.AS)(r,a)}function a(){r=e.O.onerror,e.O.onerror=function(e,n,a,s,i){return((0,t.aj)("error",{column:s,error:i,line:a,msg:e,url:n}),r)?r.apply(this,arguments):(0,!1)},e.O.onerror.__SENTRY_INSTRUMENTED__=!0}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},659212(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>r});let e="Error: [ethjs-rpc] rpc error with payload ";let t="Error: ";function r(r){if(r.includes(e)){let n=r.slice(e.length);return n.slice(n.indexOf(t)+t.length)}return r}}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},659677(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";["XMLHttpRequest"].forEach(e=>{!Reflect.has(globalThis,e)&&(globalThis[e]=undefined)}),!Reflect.has(globalThis,"window")&&(globalThis.window=globalThis)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__}))()},661330(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{DZ:()=>w,Md:()=>k,a0:()=>_,lY:()=>v});var e=__webpack_require__(671955);var t=__webpack_require__(477964);let r=BigInt(0);let n=BigInt(1);let a=BigInt(2);let s=BigInt(7);let i=BigInt(256);let o=BigInt(113);let l=[];let c=[];let u=[];for(let e=0,t=n,m=1,h=0;e<24;e++){[m,h]=[h,(2*m+3*h)%5],l.push(2*(5*h+m)),c.push((e+1)*(e+2)/2%64);let f=r;for(let e=0;e<7;e++)(t=(t<<n^(t>>s)*o)%i)&a&&(f^=n<<(n<<BigInt(e))-n);u.push(f)}let m=(0,e.lD)(u,!0);let h=m[0];let f=m[1];let d=(t,r,n)=>n>32?(0,e.WM)(t,r,n):(0,e.P5)(t,r,n);let p=(t,r,n)=>n>32?(0,e.im)(t,r,n):(0,e.B4)(t,r,n);function g(e,r=24){let n=new Uint32Array(5*2);for(let t=24-r;t<24;t++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10;let a=(t+2)%10;let s=n[a];let i=n[a+1];let o=d(s,i,1)^n[r];let l=p(s,i,1)^n[r+1];for(let r=0;r<50;r+=10)e[t+r]^=o,e[t+r+1]^=l}let r=e[2];let a=e[3];for(let t=0;t<24;t++){let n=c[t];let s=d(r,a,n);let i=p(r,a,n);let o=l[t];r=e[o],a=e[o+1],e[o]=s,e[o+1]=i}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=h[t],e[1]^=f[t]}(0,t.uH)(n)}class y extends t.Vw{constructor(e,r,n,a=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=r,this.outputLen=n,this.enableXOF=a,this.rounds=s,(0,t.Fe)(n),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,t.DH)(this.state)}clone(){return this._cloneInto()}keccak(){(0,t.fd)(this.state32),g(this.state32,this.rounds),(0,t.fd)(this.state32),this.posOut=0,this.pos=0}update(e){(0,t.CC)(this),e=(0,t.ZJ)(e),(0,t.DO)(e);let{blockLen:r,state:n}=this;let a=e.length;for(let t=0;t<a;){let s=Math.min(r-this.pos,a-t);for(let r=0;r<s;r++)n[this.pos++]^=e[t++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,(t&128)!==0&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){(0,t.CC)(this,!1),(0,t.DO)(e),this.finish();let r=this.state;let{blockLen:n}=this;for(let t=0,a=e.length;t<a;){this.posOut>=n&&this.keccak();let s=Math.min(n-this.posOut,a-t);e.set(r.subarray(this.posOut,this.posOut+s),t),this.posOut+=s,t+=s}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,t.Fe)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,t.Ht)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,t.uH)(this.state)}_cloneInto(e){let{blockLen:t,suffix:r,outputLen:n,rounds:a,enableXOF:s}=this;return e||(e=new y(t,r,n,s,a)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=a,e.suffix=r,e.outputLen=n,e.enableXOF=s,e.destroyed=this.destroyed,e}}let b=(e,r,n)=>(0,t.qj)(()=>new y(r,e,n));let k=(0,b(1,144,224/8));let v=(0,b(1,136,256/8));let w=(0,b(1,104,384/8));let _=(0,b(1,72,512/8))}}).call(__webpack_require__._LM_("@noble/hashes",{__webpack_require__,__webpack_exports__}))()},662925(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>s});var e=__webpack_require__(545407);var t=__webpack_require__(563023);var r=__webpack_require__(153836);var n=__webpack_require__(765698);let a;function s(t){let r="history";(0,e.s5)(r,t),(0,e.AS)(r,i)}function i(){if(n.j.addEventListener("popstate",()=>{let t=n.j.location.href;let r=a;if(a=t,r===t)return;(0,e.aj)("history",{from:r,to:t})}),!(0,r.NJ)())return;function s(t){return function(...r){let n=r.length>2?r[2]:undefined;if(n){let s=a;let i=o(String(n));if(a=i,s===i)return t.apply(this,r);(0,e.aj)("history",{from:s,to:i})}return t.apply(this,r)}}(0,t.GS)(n.j.history,"pushState",s),(0,t.GS)(n.j.history,"replaceState",s)}function o(e){try{return new URL(e,n.j.location.origin).toString()}catch{return e}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},664746(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>a,z:()=>n});var e=__webpack_require__(352158);var t=__webpack_require__(396102);var r=__webpack_require__(682631);function n(n){if(!e.T)return;let{description:a="< unknown name >",op:s="< unknown op >",parent_span_id:i}=(0,r.et)(n);let{spanId:o}=n.spanContext();let l=(0,r.pK)(n);let c=(0,r.zU)(n);let u=c===n;let m=`[Tracing] Starting ${l?"sampled":"unsampled"} ${u?"root ":""}span`;let h=[`op: ${s}`,`name: ${a}`,`ID: ${o}`];if(i&&h.push(`parent ID: ${i}`),!u){let{op:e,description:t}=(0,r.et)(c);h.push(`root ID: ${c.spanContext().spanId}`),e&&h.push(`root op: ${e}`),t&&h.push(`root description: ${t}`)}t.Yz.log(`${m}
  ${h.join(`
  `)}`)}function a(n){if(!e.T)return;let{description:a="< unknown name >",op:s="< unknown op >"}=(0,r.et)(n);let{spanId:i}=n.spanContext();let o=(0,r.zU)(n)===n;let l=`[Tracing] Finishing "${s}" ${o?"root ":""}span "${a}" with ID ${i}`;t.Yz.log(l)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},665016(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>m});var e=__webpack_require__(352158);var t=__webpack_require__(172900);var r=__webpack_require__(396102);var n=__webpack_require__(632356);var a=__webpack_require__(144770);var s=__webpack_require__(392316);var i=__webpack_require__(858481);var o=__webpack_require__(147687);var l=__webpack_require__(466737);var c=__webpack_require__(180121);var u=__webpack_require__(306981);class m{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,i.e)(),sampleRand:(0,o.hY)()}}clone(){let e=new m;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,(0,l.r)(e,(0,l.f)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:undefined,id:undefined,ip_address:undefined,username:undefined},this._session&&(0,t.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||undefined,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t=typeof e=="function"?e(this):e;let{tags:r,attributes:a,extra:s,user:i,contexts:o,level:l,fingerprint:c=[],propagationContext:u,conversationId:h}=(t instanceof m?t.getScopeData():(0,n.Qd)(t)?e:undefined)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...a},this._extra={...this._extra,...s},this._contexts={...this._contexts,...o},i&&Object.keys(i).length&&(this._user=i),l&&(this._level=l),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),h&&(this._conversationId=h),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=undefined,this._transactionName=undefined,this._fingerprint=undefined,this._session=undefined,this._conversationId=undefined,(0,l.r)(this,undefined),this._attachments=[],this.setPropagationContext({traceId:(0,i.e)(),sampleRand:(0,o.hY)()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r=typeof t=="number"?t:100;if(r<=0)return this;let n={timestamp:(0,u.lu)(),...e,message:e.message?(0,c.xv)(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,l.f)(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,a.h)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(t,n){let a=n?.event_id||(0,s.eJ)();if(!this._client)return e.T&&r.Yz.warn("No client configured on scope - will not capture exception!"),a;let i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:a},this),a}captureMessage(t,n,a){let i=a?.event_id||(0,s.eJ)();if(!this._client)return e.T&&r.Yz.warn("No client configured on scope - will not capture message!"),i;let o=a?.syntheticException??new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...a,event_id:i},this),i}captureEvent(t,n){let a=n?.event_id||(0,s.eJ)();return!this._client?e.T&&r.Yz.warn("No client configured on scope - will not capture event!"):(0,this._client.captureEvent(t,{...n,event_id:a},this)),a}_notifyScopeListeners(){!this._notifyingListeners&&(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},671480(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>n,r:()=>r});var e=__webpack_require__(943924);var t=__webpack_require__(665016);function r(){return(0,e.BY)("defaultCurrentScope",()=>new t.H)}function n(){return(0,e.BY)("defaultIsolationScope",()=>new t.H)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},671955(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B4:()=>m,CQ:()=>b,CW:()=>y,Ei:()=>c,F8:()=>k,P5:()=>u,TH:()=>v,Vl:()=>p,Vr:()=>g,WM:()=>h,WQ:()=>d,im:()=>f,jm:()=>s,lD:()=>n,qh:()=>l,rE:()=>i,ry:()=>o,xn:()=>a});let e=BigInt(0x100000000-1);let t=BigInt(32);function r(n,a=!1){return a?{h:Number(n&e),l:Number(n>>t&e)}:(0,{h:Number(n>>t&e)|0,l:Number(n&e)|0})}function n(e,t=!1){let a=e.length;let s=new Uint32Array(a);let i=new Uint32Array(a);for(let n=0;n<a;n++){let{h:a,l:o}=r(e[n],t);[s[n],i[n]]=[a,o]}return[s,i]}let a=(e,t,r)=>e>>>r;let s=(e,t,r)=>e<<32-r|t>>>r;let i=(e,t,r)=>e>>>r|t<<32-r;let o=(e,t,r)=>e<<32-r|t>>>r;let l=(e,t,r)=>e<<64-r|t>>>r-32;let c=(e,t,r)=>e>>>r-32|t<<64-r;let u=(e,t,r)=>e<<r|t>>>32-r;let m=(e,t,r)=>t<<r|e>>>32-r;let h=(e,t,r)=>t<<r-32|e>>>64-r;let f=(e,t,r)=>e<<r-32|t>>>64-r;function d(e,t,r,n){let a=(t>>>0)+(n>>>0);return{h:e+r+(a/0x100000000|0)|0,l:a|0}}let p=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);let g=(e,t,r,n)=>t+r+n+(e/0x100000000|0)|0;let y=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);let b=(e,t,r,n,a)=>t+r+n+a+(e/0x100000000|0)|0;let k=(e,t,r,n,a)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(a>>>0);let v=(e,t,r,n,a,s)=>t+r+n+a+s+(e/0x100000000|0)|0}}).call(__webpack_require__._LM_("@noble/hashes",{__webpack_exports__,__webpack_require__}))()},676108(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>t});var e=__webpack_require__(123532);function t(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;let r=t||(0,e.KU)()?.getOptions();return!!r&&(r.tracesSampleRate!=null||!!r.tracesSampler)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},676358(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Tl:()=>s,Wu:()=>a,Z6:()=>r});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r;var n;(n=r||(r={}))["Copyable"]="copyable",n["Divider"]="divider",n["Heading"]="heading",n["Panel"]="panel",n["Spinner"]="spinner",n["Text"]="text",n["Image"]="image",n["Row"]="row",n["Address"]="address",n["Button"]="button",n["Input"]="input",n["Form"]="form";let a=(0,e.Ik)({type:(0,e.Yj)()});let s=(0,t.kp)(a,(0,e.Ik)({value:(0,e.L5)()}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},676979(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>o,O:()=>i});var e=__webpack_require__(515400);let t=0;let r=Infinity;let n=0;let a=e=>{e.forEach(e=>{e.interactionId&&(r=Math.min(r,e.interactionId),t=(n=Math.max(n,e.interactionId))?(n-r)/7+1:0)})};let s;let i=()=>{return s?t:performance.interactionCount||0};let o=()=>{if("interactionCount"in performance||s)return;s=(0,e.l)("event",a,{type:"event",buffered:!0,durationThreshold:0})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},682631(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Bk:()=>M,CC:()=>h,Ck:()=>p,G_:()=>b,Hu:()=>O,Qh:()=>y,VS:()=>L,aO:()=>f,cI:()=>v,et:()=>_,kX:()=>g,pK:()=>j,uU:()=>k,xO:()=>R,xl:()=>I,yW:()=>x,zU:()=>C});var e=__webpack_require__(920938);var t=__webpack_require__(943924);var r=__webpack_require__(123532);var n=__webpack_require__(78463);var a=__webpack_require__(276435);var s=__webpack_require__(709356);var i=__webpack_require__(563023);var o=__webpack_require__(858481);var l=__webpack_require__(306981);var c=__webpack_require__(605816);var u=__webpack_require__(396102);var m=__webpack_require__(466737);let h=0;let f=1;let d=!1;function p(e){let{spanId:t,traceId:r}=e.spanContext();let{data:n,op:a,parent_span_id:s,status:i,origin:o,links:l}=_(e);return{parent_span_id:s,span_id:t,trace_id:r,data:n,op:a,status:i,origin:o,links:l}}function g(e){let{spanId:t,traceId:r,isRemote:n}=e.spanContext();let a=n?t:_(e).parent_span_id;let i=(0,s.L)(e).scope;return{parent_span_id:a,span_id:n?i?.getPropagationContext().propagationSpanId||(0,o.Z)():t,trace_id:r}}function y(e){let{traceId:t,spanId:r}=e.spanContext();let n=j(e);return(0,c.TC)(t,r,n)}function b(e){let{traceId:t,spanId:r}=e.spanContext();let n=j(e);return(0,c.Iy)(t,r,n)}function k(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:a})=>({span_id:e,trace_id:t,sampled:r===f,attributes:a,...n})):(0,undefined)}function v(e){return typeof e=="number"?w(e):(0,Array.isArray(e))?e[0]+e[1]/1e9:(0,e instanceof Date)?w(e.getTime()):(0,(0,l.zf)())}function w(e){return e>0x2540be3ff?e/1e3:e}function _(e){if(S(e))return e.getSpanJSON();let{spanId:t,traceId:r}=e.spanContext();if(T(e)){let{attributes:a,startTime:s,name:i,endTime:o,status:l,links:c}=e;return{span_id:t,trace_id:r,data:a,description:i,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:undefined,start_timestamp:v(s),timestamp:v(o)||undefined,status:x(l),op:a[n.uT],origin:a[n.JD],links:k(c)}}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function T(e){return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function S(e){return typeof e.getSpanJSON=="function"}function j(e){let{traceFlags:t}=e.spanContext();return t===f}function x(e){return!e||e.code===a.a3?undefined:(0,e.code===a.F3)?"ok":(0,e.message||"internal_error")}let E="_sentryChildSpans";let A="_sentryRootSpan";function O(e,t){let r=e[A]||e;(0,i.my)(t,A,r),e[E]?e[E].add(t):(0,i.my)(e,E,new Set([t]))}function L(e,t){e[E]&&e[E].delete(t)}function R(e){let t=new Set;function r(e){if(t.has(e))return;if(j(e))for(let n of(t.add(e),e[E]?Array.from(e[E]):[]))r(n)}return r(e),Array.from(t)}function C(e){return e[A]||e}function M(){let n=(0,t.EU)();let a=(0,e.h)(n);return a.getActiveSpan?a.getActiveSpan():(0,(0,m.f)((0,r.o5)()))}function I(){!d&&((0,u.pq)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),d=!0)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},686333(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C9:()=>u,De:()=>g,EG:()=>y,WF:()=>p,WO:()=>m,_3:()=>d,d3:()=>h,fZ:()=>f,mK:()=>i,nM:()=>b,ui:()=>c});var e=__webpack_require__(512986);var t=__webpack_require__(14631);var r=__webpack_require__(695358);let n=[0,31,59,90,120,151,181,212,243,273,304,334],a=[0,31,60,91,121,152,182,213,244,274,305,335];function s(e,r){return new t.A("unit out of range",`you specified ${r} (of type ${typeof r}) as a ${e}, which is invalid`)}function i(e,t,r){let n=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let a=n.getUTCDay();return a===0?7:a}function o(t,r,s){return s+((0,e.U_)(t)?a:n)[r-1]}function l(t,r){let s=(0,e.U_)(t)?a:n,i=s.findIndex(e=>e<r),o=r-s[i];return{month:i+1,day:o}}function c(e,t){return(e-t+7)%7+1}function u(t,r=4,n=1){let{year:a,month:s,day:l}=t,m=o(a,s,l),h=c(i(a,s,l),n);let f=Math.floor((m-h+14-r)/7),d;return f<1?(d=a-1,f=(0,e.ac)(d,r,n)):f>(0,e.ac)(a,r,n)?(d=a+1,f=1):d=a,{weekYear:d,weekNumber:f,weekday:h,...(0,e.B9)(t)}}function m(t,r=4,n=1){let{weekYear:a,weekNumber:s,weekday:o}=t,u=c(i(a,1,r),n),h=(0,e.Ki)(a);let f=s*7+o-u-7+r,d;f<1?(d=a-1,f+=(0,e.Ki)(d)):f>h?(d=a+1,f-=(0,e.Ki)(a)):d=a;let{month:p,day:g}=l(d,f);return{year:d,month:p,day:g,...(0,e.B9)(t)}}function h(t){let{year:r,month:n,day:a}=t;let s=o(r,n,a);return{year:r,ordinal:s,...(0,e.B9)(t)}}function f(t){let{year:r,ordinal:n}=t;let{month:a,day:s}=l(r,n);return{year:r,month:a,day:s,...(0,e.B9)(t)}}function d(t,n){if(!(!(0,e.b0)(t.localWeekday)||!(0,e.b0)(t.localWeekNumber)||!(0,e.b0)(t.localWeekYear)))return{minDaysInFirstWeek:4,startOfWeek:1};{if(!(0,e.b0)(t.weekday)||!(0,e.b0)(t.weekNumber)||!(0,e.b0)(t.weekYear))throw new r.gN("Cannot mix locale-based week fields with ISO-based week fields");return!(0,e.b0)(t.localWeekday)&&(t.weekday=t.localWeekday),!(0,e.b0)(t.localWeekNumber)&&(t.weekNumber=t.localWeekNumber),!(0,e.b0)(t.localWeekYear)&&(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:n.getMinDaysInFirstWeek(),startOfWeek:n.getStartOfWeek()}}}function p(t,r=4,n=1){let a=(0,e.Fq)(t.weekYear),i=(0,e.f8)(t.weekNumber,1,(0,e.ac)(t.weekYear,r,n)),o=(0,e.f8)(t.weekday,1,7);return!a?s("weekYear",t.weekYear):(0,!i)?s("week",t.weekNumber):(0,!o)?s("weekday",t.weekday):(0,!1)}function g(t){let r=(0,e.Fq)(t.year),n=(0,e.f8)(t.ordinal,1,(0,e.Ki)(t.year));return!r?s("year",t.year):(0,!n)?s("ordinal",t.ordinal):!1}function y(t){let r=(0,e.Fq)(t.year),n=(0,e.f8)(t.month,1,12),a=(0,e.f8)(t.day,1,(0,e.L3)(t.year,t.month));return!r?s("year",t.year):(0,!n)?s("month",t.month):(0,!a)?s("day",t.day):(0,!1)}function b(t){let{hour:r,minute:n,second:a,millisecond:i}=t;let o=(0,e.f8)(r,0,23)||r===24&&n===0&&a===0&&i===0,l=(0,e.f8)(n,0,59),c=(0,e.f8)(a,0,59),u=(0,e.f8)(i,0,999);return!o?s("hour",r):(0,!l)?s("minute",n):(0,!c)?s("second",a):(0,!u)?s("millisecond",i):!1}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},686595(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{TR:()=>n});var e=__webpack_require__(632356);function t(e,t){return e(t.stack||"",1)}function r(t){return(0,e.bJ)(t)&&"__sentry_fetch_url_host__"in t&&typeof t.__sentry_fetch_url_host__=="string"}function n(e){return r(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:(0,e.message)}function a(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];if(isError(r))return r}return undefined}function s(e){if("name"in e&&typeof e.name=="string"){let t=`'${e.name}' captured as exception`;return"message"in e&&typeof e.message=="string"&&(t+=` with message '${e.message}'`),t}if("message"in e&&typeof e.message=="string")return e.message;let t=extractExceptionKeysForMessage(e);if(isErrorEvent(e))return`Event \`ErrorEvent\` captured as exception with message \`${e.message}\``;let r=i(e);return`${r&&r!=="Object"?`'${r}'`:"Object"} captured as exception with keys: ${t}`}function i(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:undefined}catch{}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},689132(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ur:()=>f,rW:()=>m});var e=__webpack_require__(241361);var t=__webpack_require__(29947);var r=__webpack_require__(805248);var n=__webpack_require__(722837);var a=__webpack_require__(879771);var s=__webpack_require__(443697);var i=__webpack_require__(356583);var o=__webpack_require__(784225);var l=__webpack_require__(342672);var c=__webpack_require__(745085);let u="snap_dialog";let m={[n.h.Alert]:`${u}:alert`,[n.h.Confirmation]:`${u}:confirmation`,[n.h.Prompt]:`${u}:prompt`,default:u};let h=(0,l.lq)((0,o.Ej)((0,l.Yj)(),1,40));let f=Object.freeze({targetName:u,specificationBuilder:({allowedCaveats:r=null,messenger:n})=>{return{permissionType:e.eZ.RestrictedMethod,targetName:u,allowedCaveats:r,methodImplementation:E({messenger:n}),subjectTypes:[t.P.Snap]}},actionNames:["ApprovalController:addRequest","SnapInterfaceController:createInterface","SnapInterfaceController:getInterface","SnapInterfaceController:setInterfaceDisplayed"]});let d=(0,l.Ik)({type:(0,a.$9)(n.h.Alert),content:s.Qi});let p=(0,l.Ik)({type:(0,a.$9)(n.h.Alert),id:(0,l.Yj)()});let g=(0,a.E$)(e=>{return(0,c.Qd)(e)&&(0,c.i5)(e,"id")?p:(0,d)});let y=(0,l.Ik)({type:(0,a.$9)(n.h.Confirmation),content:s.Qi});let b=(0,l.Ik)({type:(0,a.$9)(n.h.Confirmation),id:(0,l.Yj)()});let k=(0,a.E$)(e=>{return(0,c.Qd)(e)&&(0,c.i5)(e,"id")?b:(0,y)});let v=(0,l.Ik)({type:(0,a.$9)(n.h.Prompt),content:s.Qi,placeholder:h});let w=(0,l.Ik)({type:(0,a.$9)(n.h.Prompt),id:(0,l.Yj)(),placeholder:h});let _=(0,a.E$)(e=>{return(0,c.Qd)(e)&&(0,c.i5)(e,"id")?w:(0,v)});let T=(0,l.Ik)({content:s.Qi});let S=(0,l.Ik)({id:(0,l.Yj)()});let j=(0,a.E$)(e=>{return(0,c.Qd)(e)&&(0,c.i5)(e,"id")?S:(0,T)});let x=(0,a.E$)(e=>{if((0,c.Qd)(e)&&(0,c.i5)(e,"type"))switch(e.type){case n.h.Alert:return g;case n.h.Confirmation:return k;case n.h.Prompt:return _;default:throw new Error(`The "type" property must be one of: ${Object.values(n.h).join(", ")}.`)}return j});function E({messenger:e}){return async function(t){let{params:n,context:{origin:a}}=t;if(!(0,c.Gv)(n))throw r.r.invalidParams({message:"Invalid params: Expected params to be a single object."});let s=R(n);let i=L(s)?s.placeholder:undefined;let o=m[(0,c.i5)(s,"type")?s.type:"default"];if((0,c.i5)(s,"content")){let t=e.call("SnapInterfaceController:createInterface",a,s.content);return e.call("SnapInterfaceController:setInterfaceDisplayed",a,t),e.call("ApprovalController:addRequest",{id:o===m.default?t:undefined,origin:a,type:o,requestData:{id:t,placeholder:i}},!0)}return A(a,s.id,e),e.call("SnapInterfaceController:setInterfaceDisplayed",a,s.id),e.call("ApprovalController:addRequest",{id:o===m.default?s.id:undefined,origin:a,type:o,requestData:{id:s.id,placeholder:i}},!0)}}function A(e,t,n){try{n.call("SnapInterfaceController:getInterface",e,t)}catch(e){throw r.r.invalidParams({message:`Invalid params: ${e.message}`})}}function O(e){return(0,c.i5)(e,"type")?e.type:undefined}function L(e){return O(e)===n.h.Prompt}function R(e){try{return(0,i.vt)(e,x)}catch(e){throw r.r.invalidParams({message:`Invalid params: ${e.message}`})}}}}).call(__webpack_require__._LM_("@metamask/snaps-rpc-methods",{__webpack_require__,__webpack_exports__}))()},691576(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H7:()=>k,K8:()=>o,qv:()=>b,u:()=>y});var e=__webpack_require__(123532);var t=__webpack_require__(632356);var r=__webpack_require__(392316);var n=__webpack_require__(590041);var a=__webpack_require__(563023);var s=__webpack_require__(152198);var i=__webpack_require__(686595);function o(e,t){let r=u(e,t);let n={type:p(t),value:g(t)};return r.length&&(n.stacktrace={frames:r}),n.type===undefined&&n.value===""&&(n.value="Unrecoverable error caught"),n}function l(r,a,s,i){let l=(0,e.KU)();let c=l?.getOptions().normalizeDepth;let m=T(a);let h={__serialized__:(0,n.cd)(a,c)};if(m)return{exception:{values:[o(r,m)]},extra:h};let f={exception:{values:[{type:(0,t.xH)(a)?a.constructor.name:i?"UnhandledRejection":"Error",value:w(a,{isUnhandledRejection:i})}]},extra:h};if(s){let e=u(r,s);e.length&&(f.exception.values[0].stacktrace={frames:e})}return f}function c(e,t){return{exception:{values:[o(e,t)]}}}function u(e,t){let r=t.stacktrace||t.stack||"";let n=h(t);let a=f(t);try{return e(r,n,a)}catch{}return[]}let m=/Minified React error #\d+;/i;function h(e){return e&&m.test(e.message)?1:(0,0)}function f(e){return typeof e.framesToPop=="number"?e.framesToPop:(0,0)}function d(e){return typeof WebAssembly!=="undefined"&&WebAssembly.Exception!==void 0?e instanceof WebAssembly.Exception:(0,!1)}function p(e){let t=e?.name;return!t&&d(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":(0,t)}function g(e){let t=e?.message;return d(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:(0,"wasm exception"):(0,!t?"No error message":(0,t.error&&typeof t.error.message=="string")?(0,i.TR)(t.error):(0,(0,i.TR)(e)))}function y(e,t,n,a){let i=k(e,t,n?.syntheticException||undefined,a);return(0,r.M6)(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),(0,s.XW)(i)}function b(e,t,r="info",n,a){let i=v(e,t,n?.syntheticException||undefined,a);return i.level=r,n?.event_id&&(i.event_id=n.event_id),(0,s.XW)(i)}function k(e,n,a,s,i){let o;if((0,t.T2)(n)&&n.error)return c(e,n.error);if((0,t.BD)(n)||(0,t.W6)(n)){if("stack"in n)o=c(e,n);else{let i=n.name||((0,t.BD)(n)?"DOMError":"DOMException");let l=n.message?`${i}: ${n.message}`:i;o=v(e,l,a,s),(0,r.gO)(o,l)}return"code"in n&&(o.tags={...o.tags,"DOMException.code":`${n.code}`}),o}return(0,t.bJ)(n)?c(e,n):((0,(0,t.Qd)(n)||(0,t.xH)(n))?o=l(e,n,a,i):(o=v(e,n,a,s),(0,r.gO)(o,`${n}`,undefined)),(0,r.M6)(o,{synthetic:!0}),o)}function v(e,n,a,s){let i={};if(s&&a){let t=u(e,a);t.length&&(i.exception={values:[{value:n,stacktrace:{frames:t}}]}),(0,r.M6)(i,{synthetic:!0})}if((0,t.NF)(n)){let{__sentry_template_string__:e,__sentry_template_values__:t}=n;return i.logentry={message:e,params:t},i}return i.message=n,i}function w(e,{isUnhandledRejection:r}){let n=(0,a.HF)(e);let s=r?"promise rejection":"exception";if((0,t.T2)(e))return`Event \`ErrorEvent\` captured as ${s} with message \`${e.message}\``;if((0,t.xH)(e)){let t=_(e);return`Event \`${t}\` (type=${e.type}) captured as ${s}`}return`Object captured as ${s} with keys: ${n}`}function _(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:undefined}catch{}}function T(e){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let n=e[r];if((0,t.bJ)(n))return n}return undefined}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},695358(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Di:()=>i,Op:()=>n,gN:()=>a,hq:()=>r,iq:()=>s,jP:()=>o,t:()=>t});class e extends Error{}class t extends e{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class r extends e{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class n extends e{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class a extends e{}class s extends e{constructor(e){super(`Invalid unit ${e}`)}}class i extends e{}class o extends e{constructor(){super("Zone is an abstract class")}}}}).call(__webpack_require__._LM_("luxon",{__webpack_exports__,__webpack_require__}))()},702053(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>h});var e=__webpack_require__(57324);var t=__webpack_require__(51450);var r=__webpack_require__(978802);var n=__webpack_require__(580436);var a=__webpack_require__(314408);var s=__webpack_require__(793419);var i=__webpack_require__(958084);var o=__webpack_require__(515400);var l=__webpack_require__(56680);var c=__webpack_require__(768571);var u=__webpack_require__(944117);let m=[2500,4e3];let h=(h,f={})=>{(0,c.I)(()=>{let c=(0,r.N)();let d=(0,a.X)("LCP");let p;let g=(0,s.C)(f,i.J);let y=e=>{for(let r of(!f.reportAllChanges&&(e=e.slice(-1)),e))g._processEntry(r),r.startTime<c.firstHiddenTime&&(d.value=Math.max(r.startTime-(0,t.b)(),0),d.entries=[r],p())};let b=(0,o.l)("largest-contentful-paint",y);if(b){p=(0,e.R)(h,d,m,f.reportAllChanges);let t=(0,l.J)(()=>{y(b.takeRecords()),b.disconnect(),p(!0)});let r=e=>{e.isTrusted&&((0,u.k)(t),(0,n.Q)(e.type,r,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])(0,n.d)(e,r,{capture:!0})}})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},704776(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{v5:()=>m});var e=__webpack_require__(123532);var t=__webpack_require__(78463);var r=__webpack_require__(682631);var n=__webpack_require__(276435);var a=__webpack_require__(632356);var s=__webpack_require__(676108);var i=__webpack_require__(620772);var o=__webpack_require__(911216);var l=__webpack_require__(827284);var c=__webpack_require__(944887);var u=__webpack_require__(925075);function m(t,n,a,i,c){if(!t.fetchData)return undefined;let{method:u,url:m}=t.fetchData;let p=(0,s.f)()&&n(m);if(t.endTimestamp&&p){let e=t.fetchData.__span;if(!e)return;let r=i[e];return r&&(d(r,t),h(r,t,c),delete i[e]),undefined}let{spanOrigin:g="auto.http.browser",propagateTraceparent:b=!1}=typeof c=="object"?c:{spanOrigin:c};let k=!!(0,r.Bk)();let v=p&&k?(0,l.Uk)(y(m,u,g)):new o.w;if(t.fetchData.__span=v.spanContext().spanId,i[v.spanContext().spanId]=v,a(t.fetchData.url)){let e=t.args[0];let r={...t.args[1]||{}};let n=f(e,r,(0,s.f)()&&k?v:undefined,b);n&&(t.args[1]=r,r.headers=n)}let w=(0,e.KU)();if(w){let e={input:t.args,response:t.response,startTimestamp:t.startTimestamp,endTimestamp:t.endTimestamp};w.emit("beforeOutgoingRequestSpan",v,e)}return v}function h(e,t,r){let n=typeof r=="object"&&r!==null?r.onRequestSpanEnd:undefined;n?.(e,{headers:t.response?.headers,error:t.error})}function f(e,t,r,n){let s=(0,c.i)({span:r,propagateTraceparent:n});let i=s["sentry-trace"];let o=s.baggage;let l=s.traceparent;if(!i)return undefined;let u=t.headers||((0,a.ks)(e)?e.headers:undefined);if(!u)return{...s};if(g(u)){let e=new Headers(u);if(!e.get("sentry-trace")&&e.set("sentry-trace",i),n&&l&&!e.get("traceparent")&&e.set("traceparent",l),o){let t=e.get("baggage");t?!p(t)&&e.set("baggage",`${t},${o}`):e.set("baggage",o)}return e}if(Array.isArray(u)){let e=[...u];!u.find(e=>e[0]==="sentry-trace")&&e.push(["sentry-trace",i]),n&&l&&!u.find(e=>e[0]==="traceparent")&&e.push(["traceparent",l]);let t=u.find(e=>e[0]==="baggage"&&p(e[1]));return o&&!t&&e.push(["baggage",o]),e}{let e="sentry-trace"in u?u["sentry-trace"]:undefined;let t="traceparent"in u?u.traceparent:undefined;let r="baggage"in u?u.baggage:undefined;let a=r?Array.isArray(r)?[...r]:[r]:[];let s=r&&(Array.isArray(r)?r.find(e=>p(e)):p(r));o&&!s&&a.push(o);let c={...u,"sentry-trace":e??i,baggage:a.length>0?a.join(","):undefined};return n&&l&&!t&&(c.traceparent=l),c}}function d(e,t){if(t.response){(0,n.N8)(e,t.response.status);let r=t.response?.headers?.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:n.TJ,message:"internal_error"});e.end()}function p(e){return e.split(",").some(e=>e.trim().startsWith(i.sv))}function g(e){return typeof Headers!=="undefined"&&(0,a.tH)(e,Headers)}function y(e,t,r){if(e.startsWith("data:")){let n=(0,u.zm)(e);return{name:`${t} ${n}`,attributes:b(e,undefined,t,r)}}let n=(0,u.kg)(e);let a=n?(0,u.CH)(n):e;return{name:`${t} ${a}`,attributes:b(e,n,t,r)}}function b(e,r,n,a){let s={url:(0,u.zm)(e),type:"fetch","http.method":n,[t.JD]:a,[t.uT]:"http.client"};return r&&(!(0,u.nt)(r)&&(s["http.url"]=(0,u.zm)(r.href),s["server.address"]=r.host),r.search&&(s["http.query"]=r.search),r.hash&&(s["http.fragment"]=r.hash)),s}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},705025(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>t});var e=__webpack_require__(142827);function t(t,r){return(0,e.E8)(t,e=>{return typeof e=="string"&&r.test(e)})}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},706524(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>o});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(382906);var n=__webpack_require__(335562);var a=__webpack_require__(879771);var s=__webpack_require__(676358);let i=(0,e.KC)([n.y,r.s3]);let o=(0,t.kp)(s.Wu,(0,e.Ik)({type:(0,a.eu)(s.Z6.Form),children:(0,e.YO)(i),name:(0,e.Yj)()}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},709356(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{L:()=>o,d:()=>i});var e=__webpack_require__(563023);var t=__webpack_require__(901889);let r="_sentryScope";let n="_sentryIsolationScope";function a(e){try{let r=t.O.WeakRef;if(typeof r=="function")return new r(e)}catch{}return e}function s(e){if(!e)return undefined;if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return undefined}return e}function i(t,s,i){t&&((0,e.my)(t,n,a(i)),(0,e.my)(t,r,s))}function o(e){return{scope:e[r],isolationScope:s(e[n])}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},713966(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{LE:()=>i,V7:()=>o,lu:()=>l});var e=__webpack_require__(98154);var t=__webpack_require__(381699);var r=__webpack_require__(260516);var n=__webpack_require__(504855);var a=__webpack_require__(682631);function s(e,t){if(!t)return e;let r=e.sdk||{};return e.sdk={...r,name:r.name||t.name,version:r.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:undefined},e}function i(e,n,a,s){let i=(0,r.Cj)(a);let o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!s&&n&&{dsn:(0,t.SB)(n)}};let l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,r.h4)(o,[l])}function o(e,t,n,a){let i=(0,r.Cj)(n);let o=e.type&&e.type!=="replay_event"?e.type:"event";s(e,n?.sdk);let l=(0,r.n2)(e,i,a,t);delete e.sdkProcessingMetadata;let c=[{type:o},e];return(0,r.h4)(l,[c])}function l(s,i){function o(e){return!!e.trace_id&&!!e.public_key}let l=(0,e.k1)(s[0]);let c=i?.getDsn();let u=i?.getOptions().tunnel;let m={sent_at:new Date().toISOString(),...o(l)&&{trace:l},...!!u&&c&&{dsn:(0,t.SB)(c)}};let{beforeSendSpan:h,ignoreSpans:f}=i?.getOptions()||{};let d=f?.length?s.filter(e=>!(0,n.e)((0,a.et)(e),f)):s;let p=s.length-d.length;p&&i?.recordDroppedEvent("before_send","span",p);let g=h?e=>{let t=(0,a.et)(e);let r=h(t);return!r?((0,a.xl)(),t):(0,r)}:a.et;let y=[];for(let e of d){let t=g(e);t&&y.push((0,r.y5)(t))}return(0,r.h4)(m,y)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},721127(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cw:()=>r,c9:()=>n,dO:()=>t,pr:()=>e});let e="APP_INIT_ALIVE";let t="ALIVE";let r="BACKGROUND_INITIALIZED";let n="START_UI_SYNC"}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},722837(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e;var t;__webpack_require__.d(__webpack_exports__,{h:()=>e}),(t=e||(e={}))["Alert"]="alert",t["Confirmation"]="confirmation",t["Prompt"]="prompt"}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_exports__,__webpack_require__}))()},735641(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Vu:()=>d,dm:()=>a});var e=__webpack_require__(123532);var t=__webpack_require__(682631);var r=__webpack_require__(118840);var n=__webpack_require__(301170);let a=[/^https:\/\/[a-z0-9.-]+\.(?:[a-z0-9]+-)?api\.cx\.metamask\.io(?:[/?#]|$)/u];let s;let i=new Map;function o(e){return a.some(t=>t.test(e))}function l(){try{let r=(0,t.Bk)();if(r)return r.spanContext().traceId||undefined;let{traceId:n}={...(0,e.rm)().getPropagationContext(),...(0,e.o5)().getPropagationContext()};return n||undefined}catch{return undefined}}function c(e){return`consensys-request-id=${e},consensys-application=${"metamask-extension"}`}function u(e){return typeof Request!=="undefined"&&e instanceof Request}function m(e){let t=new Headers;if(!e)return t;if(typeof Headers!=="undefined"&&e instanceof Headers)e.forEach((e,r)=>t.append(r,e));else if(Array.isArray(e))for(let r of e){let[e,n]=r;n!==undefined&&n!==null&&t.append(e,String(n))}else if(typeof e=="object")for(let[r,n]of Object.entries(e))n!==undefined&&n!==null&&t.append(r,String(n));return t}function h(e,{requestId:t}){let[r,n]=e;let a=m(u(r)?r.headers:undefined);return m(n?.headers).forEach((e,t)=>{a.set(t,e)}),a.append("baggage",c(t)),a}function f(e,t){if(i.has(e)){i.get(e)!==t&&i.set(e,null);return}if(i.set(e,t),i.size<=100)return;let r=i.keys().next().value;r&&i.delete(r)}function d({log:e}){return{name:"ConsensysTracePropagation",afterAllSetup:()=>{(0,r.ur)(t=>{if(t.endTimestamp!==undefined)return;let r=t.fetchData?.url;if(!r||!o(r))return;try{let e=(0,(0,n.A)());s=e;let r=l();r&&f(r,e);let a=h(t.args,{requestId:e});t.args[1]=t.args[1]||{},t.args[1].headers=a}catch(t){e("Failed to propagate trace headers",t)}})},processEvent:(e,t,r)=>{let n=e.contexts?.trace?.trace_id;if(n){e.tags={...e.tags,otelTraceId:n};let t=i.get(n);t&&(e.tags={...e.tags,consensysRequestId:t})}return e}}}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},745085(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return Array.isArray(e)&&e.length>0}function t(e){return e===null||e===undefined}function r(e){return Boolean(e)&&typeof e=="object"&&!Array.isArray(e)}__webpack_require__.d(__webpack_exports__,{EI:()=>e,Gv:()=>r,Qd:()=>o,VM:()=>a,hX:()=>t,i5:()=>n});let n=(e,t)=>Object.hasOwnProperty.call(e,t);function a(e){return Object.getOwnPropertyNames(e)}var s;var i;(i=s=s||(s={}))[i["Null"]=4]="Null",i[i["Comma"]=1]="Comma",i[i["Wrapper"]=1]="Wrapper",i[i["True"]=4]="True",i[i["False"]=5]="False",i[i["Quote"]=1]="Quote",i[i["Colon"]=1]="Colon",i[i["Date"]=24]="Date";function o(e){if(typeof e!=="object"||e===null)return!1;try{let t=e;while(Object.getPrototypeOf(t)!==null)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_exports__,__webpack_require__}))()},750628(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>l});var e=__webpack_require__(512986);var t=__webpack_require__(835203);let r={};function n(e){return!r[e]&&(r[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),r[e]}let a={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function s(e,t){let r=e.format(t).replace(/\u200E/g,""),[,n,a,s,i,o,l,c]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r);return[s,n,a,i,o,l,c]}function i(t,r){let n=t.formatToParts(r);let s=[];for(let t=0;t<n.length;t++){let{type:r,value:i}=n[t];let o=a[r];r==="era"?s[o]=i:!(0,e.b0)(o)&&(s[o]=parseInt(i,10))}return s}let o={};class l extends t.A{static create(e){return!o[e]&&(o[e]=new l(e)),o[e]}static resetCache(){o={},r={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=l.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:r,locale:n}){return(0,e.wG)(t,r,n,this.name)}formatOffset(t,r){return(0,e.xS)(this.offset(t),r)}offset(t){let r=new Date(t);if(isNaN(r))return NaN;let a=n(this.name);let[o,l,c,u,m,h,f]=a.formatToParts?i(a,r):s(a,r);u==="BC"&&(o=-Math.abs(o)+1);let d=(0,e.JZ)({year:o,month:l,day:c,hour:m===24?0:m,minute:h,second:f,millisecond:0});let p=+r;let g=p%1e3;return(d-(p-=g>=0?g:1e3+g))/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},754255(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";module.exports=s,s.default=s,s.stable=c,s.stableStringify=c;var e="[...]";var t="[Circular]";var r=[];var n=[];function a(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function s(e,t,s,i){var l;i===void 0&&(i=a()),o(e,"",0,[],undefined,0,i);try{l=n.length===0?JSON.stringify(e,t,s):JSON.stringify(e,m(t),s)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{while(r.length!==0){var c=r.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return l}function i(e,t,a,s){var i=Object.getOwnPropertyDescriptor(s,a);i.get!==undefined?i.configurable?(Object.defineProperty(s,a,{value:e}),r.push([s,a,t,i])):n.push([t,a,e]):(s[a]=e,r.push([s,a,t]))}function o(r,n,a,s,l,c,u){var m;if(c+=1,typeof r=="object"&&r!==null){for(m=0;m<s.length;m++)if(s[m]===r){i(t,r,n,l);return}if(u.depthLimit!==void 0&&c>u.depthLimit||u.edgesLimit!==void 0&&a+1>u.edgesLimit){i(e,r,n,l);return}if(s.push(r),Array.isArray(r))for(m=0;m<r.length;m++)o(r[m],m,m,s,r,c,u);else{var h=Object.keys(r);for(m=0;m<h.length;m++){var f=h[m];o(r[f],f,m,s,r,c,u)}}s.pop()}}function l(e,t){return e<t?-1:(0,e>t)?1:(0,0)}function c(e,t,s,i){i===void 0&&(i=a());var o=u(e,"",0,[],undefined,0,i)||e;var l;try{l=n.length===0?JSON.stringify(o,t,s):JSON.stringify(o,m(t),s)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{while(r.length!==0){var c=r.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return l}function u(n,a,s,o,c,m,h){var f;if(m+=1,typeof n=="object"&&n!==null){for(f=0;f<o.length;f++)if(o[f]===n){i(t,n,a,c);return}try{if(typeof n.toJSON=="function")return}catch(e){return}if(h.depthLimit!==void 0&&m>h.depthLimit||h.edgesLimit!==void 0&&s+1>h.edgesLimit){i(e,n,a,c);return}if(o.push(n),Array.isArray(n))for(f=0;f<n.length;f++)u(n[f],f,f,o,n,m,h);else{var d={};var p=Object.keys(n).sort(l);for(f=0;f<p.length;f++){var g=p[f];u(n[g],g,f,o,n,m,h),d[g]=n[g]}if(c===void 0)return d;r.push([c,a,n]),c[a]=d}o.pop()}}function m(e){return e=e!==void 0?e:function(e,t){return t},function(t,r){if(n.length>0)for(var a=0;a<n.length;a++){var s=n[a];if(s[1]===t&&s[0]===r){r=s[2],n.splice(a,1);break}}return e.call(this,t,r)}}}}).call(__webpack_require__._LM_("@metamask/rpc-errors>fast-safe-stringify",{module,__webpack_require__}))()},760184(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cv:()=>v,I4:()=>y,IV:()=>b,Ky:()=>f,Lo:()=>h,Ph:()=>g,Sh:()=>d,UG:()=>m,mu:()=>w,nF:()=>_,qI:()=>u,vw:()=>p});var e=__webpack_require__(784225);var t=__webpack_require__(342672);var r=__webpack_require__(661330);var n=__webpack_require__(456895);var a=__webpack_require__(896639);let{memoize:s}=n;let i=/^(?:0x)?[0-9a-f]+$/iu;let o=/^0x[0-9a-f]+$/iu;let l=/^0x[0-9a-f]{40}$/u;let c=/^0x[0-9a-fA-F]{40}$/u;(0,e.T1)((0,t.Yj)(),i);let u=(0,e.T1)((0,t.Yj)(),o);(0,e.T1)((0,t.Yj)(),l);let m=(0,e.T1)((0,t.Yj)(),c);function h(e){return(0,typeof e=="string")&&i.test(e)}function f(e){return(0,typeof e=="string")&&o.test(e)}function d(e){return(0,typeof e=="string")&&l.test(e)}function p(e){return(0,typeof e=="string")&&c.test(e)}function g(e){(0,a.vA)(h(e),"Value must be a hexadecimal string.")}function y(e){(0,a.vA)(f(e),'Value must be a hexadecimal string, starting with "0x".')}let b=s(function(e){(0,a.vA)(p(e),"Invalid hex address.");let t=_(e).toLowerCase();let n=(0,r.lY)(t);let{length:s}=t;let i=new Array(s);for(let e=0;e<s;e++){let r=e>>1;let a=e&1;let s=n[r];let o=a===0?s>>4:s&15;i[e]=o>=8?t[e].toUpperCase():t[e]}return`0x${i.join("")}`});let k=s(function(e){return!p(e)?!1:(0,b(e)===e)});let v=s(function(e){return d(e)||k(e)});function w(e){return e.startsWith("0x")?e:(0,e.startsWith("0X"))?`0x${e.substring(2)}`:(0,`0x${e}`)}function _(e){return e.startsWith("0x")||e.startsWith("0X")?e.substring(2):(0,e)}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},761788(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Ef:()=>t,u1:()=>r}),__webpack_require__(762565);var e=__webpack_require__(745085);function t(e){return typeof e=="object"&&e!==null&&"message"in e}function r(r){return t(r)&&typeof r.message=="string"?r.message:(0,(0,e.hX)(r))?"":(0,String(r))}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},762565(__unused_webpack___webpack_module__,__unused_webpack___webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__(178430)}}).call(__webpack_require__._LM_("@metamask/utils>pony-cause",{__webpack_require__}))()},765698(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{j:()=>e});let e=__webpack_require__(901889).O}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},768571(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>t});var e=__webpack_require__(765698);let t=t=>{e.j.document?.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},772879(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>l});var e=__webpack_require__(765698);var t=__webpack_require__(57324);var r=__webpack_require__(51450);var n=__webpack_require__(234512);var a=__webpack_require__(314408);var s=__webpack_require__(768571);let i=[800,1800];let o=t=>{e.j.document?.prerendering?(0,s.I)(()=>o(t)):e.j.document?.readyState!=="complete"?addEventListener("load",()=>o(t),!0):setTimeout(t)};let l=(e,s={})=>{let l=(0,a.X)("TTFB");let c=(0,t.R)(e,l,i,s.reportAllChanges);o(()=>{let e=(0,n.z)();e&&(l.value=Math.max(e.responseStart-(0,r.b)(),0),l.entries=[e],c(!0))})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},774810(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>n});var e=__webpack_require__(512986);var t=__webpack_require__(835203);let r=null;class n extends t.A{static get utcInstance(){return r===null&&(r=new n(0)),r}static instance(e){return e===0?n.utcInstance:new n(e)}static parseSpecifier(t){if(t){let r=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new n((0,e.gu)(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${(0,e.xS)(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":(0,`Etc/GMT${(0,e.xS)(-this.fixed,"narrow")}`)}offsetName(){return this.name}formatOffset(t,r){return(0,e.xS)(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},775158(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{GR:()=>A,Z7:()=>L,np:()=>x,ws:()=>O,zb:()=>E});var e=__webpack_require__(512986);var t=__webpack_require__(868766);var r=__webpack_require__(774810);var n=__webpack_require__(750628);var a=__webpack_require__(835060);var s=__webpack_require__(138292);var i=__webpack_require__(695358);function o(e,t=e=>e){return{regex:e,deser:([e])=>t((0,s.o_)(e))}}let l=String.fromCharCode(160);let c=`[ ${l}]`;let u=new RegExp(c,"g");function m(e){return e.replace(/\./g,"\\.?").replace(u,c)}function h(e){return e.replace(/\./g,"").replace(u," ").toLowerCase()}function f(e,t){return e===null?null:(0,{regex:RegExp(e.map(m).join("|")),deser:([r])=>e.findIndex(e=>h(r)===h(e))+t})}function d(t,r){return{regex:t,deser:([,t,r])=>(0,e.gu)(t,r),groups:r}}function p(e){return{regex:e,deser:([e])=>e}}function g(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function y(t,r){let n=(0,s.dO)(r),a=(0,s.dO)(r,"{2}"),i=(0,s.dO)(r,"{3}"),l=(0,s.dO)(r,"{4}"),c=(0,s.dO)(r,"{6}"),u=(0,s.dO)(r,"{1,2}"),m=(0,s.dO)(r,"{1,3}"),h=(0,s.dO)(r,"{1,6}"),y=(0,s.dO)(r,"{1,9}"),b=(0,s.dO)(r,"{2,4}"),k=(0,s.dO)(r,"{4,6}"),v=e=>({regex:RegExp(g(e.val)),deser:([e])=>e,literal:!0});let w=(s=>{if(t.literal)return v(s);switch(s.val){case"G":return f(r.eras("short"),0);case"GG":return f(r.eras("long"),0);case"y":return o(h);case"yy":return o(b,e.fT);case"yyyy":return o(l);case"yyyyy":return o(k);case"yyyyyy":return o(c);case"M":return o(u);case"MM":return o(a);case"MMM":return f(r.months("short",!0),1);case"MMMM":return f(r.months("long",!0),1);case"L":return o(u);case"LL":return o(a);case"LLL":return f(r.months("short",!1),1);case"LLLL":return f(r.months("long",!1),1);case"d":return o(u);case"dd":return o(a);case"o":return o(m);case"ooo":return o(i);case"HH":return o(a);case"H":return o(u);case"hh":return o(a);case"h":return o(u);case"mm":return o(a);case"m":return o(u);case"q":return o(u);case"qq":return o(a);case"s":return o(u);case"ss":return o(a);case"S":return o(m);case"SSS":return o(i);case"u":return p(y);case"uu":return p(u);case"uuu":return o(n);case"a":return f(r.meridiems(),0);case"kkkk":return o(l);case"kk":return o(b,e.fT);case"W":return o(u);case"WW":return o(a);case"E":case"c":return o(n);case"EEE":return f(r.weekdays("short",!1),1);case"EEEE":return f(r.weekdays("long",!1),1);case"ccc":return f(r.weekdays("short",!0),1);case"cccc":return f(r.weekdays("long",!0),1);case"Z":case"ZZ":return d(new RegExp(`([+-]${u.source})(?::(${a.source}))?`),2);case"ZZZ":return d(new RegExp(`([+-]${u.source})(${a.source})?`),2);case"z":return p(/[a-z_+-/]{1,256}?/i);case" ":return p(/[^\S\n\r]/);default:return v(s)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return w.token=t,w}let b={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function k(e,t,r){let{type:n,value:a}=e;if(n==="literal"){let e=/^\s+$/.test(a);return{literal:!e,val:e?" ":a}}let s=t[n];let i=n;n==="hour"&&(i=t.hour12!=null?t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?"hour12":"hour24":r.hour12?"hour12":"hour24");let o=b[i];return(typeof o=="object"&&(o=o[s]),o)?{literal:!1,val:o}:(0,undefined)}function v(e){let t=e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"");return[`^${t}$`,e]}function w(t,r,n){let a=t.match(r);if(!a)return[a,{}];{let t={};let r=1;for(let s in n)if((0,e.mQ)(n,s)){let e=n[s],i=e.groups?e.groups+1:1;!e.literal&&e.token&&(t[e.token.val[0]]=e.deser(a.slice(r,r+i))),r+=i}return[a,t]}}function _(t){let a=null;let s;return!(0,e.b0)(t.z)&&(a=n.A.create(t.z)),!(0,e.b0)(t.Z)&&(!a&&(a=new r.A(t.Z)),s=t.Z),!(0,e.b0)(t.q)&&(t.M=(t.q-1)*3+1),!(0,e.b0)(t.h)&&(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),!(0,e.b0)(t.u)&&(t.S=(0,e.m3)(t.u)),[Object.keys(t).reduce((e,r)=>{let n=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(r);return n&&(e[n]=t[r]),e},{}),a,s]}let T=null;function S(){return!T&&(T=a.A.fromMillis(0x16a2e5618e3)),T}function j(e,r){if(e.literal)return e;let n=L(t.A.macroTokenToFormatOpts(e.val),r);return n==null||n.includes(undefined)?e:(0,n)}function x(e,t){return Array.prototype.concat(...e.map(e=>j(e,t)))}class E{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=x(t.A.parseFormat(r),e),this.units=this.tokens.map(t=>y(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){let[e,t]=v(this.units);this.regex=RegExp(e,"i"),this.handlers=t}}explainFromTokens(t){if(!this.isValid)return{input:t,tokens:this.tokens,invalidReason:this.invalidReason};{let[r,n]=w(t,this.regex,this.handlers),[a,s,o]=n?_(n):[null,null,undefined];if((0,e.mQ)(n,"a")&&(0,e.mQ)(n,"H"))throw new i.gN("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:a,zone:s,specificOffset:o}}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function A(e,t,r){return new E(e,r).explainFromTokens(t)}function O(e,t,r){let{result:n,zone:a,specificOffset:s,invalidReason:i}=A(e,t,r);return[n,a,s,i]}function L(e,r){if(!e)return null;let n=t.A.create(r,e).dtFormatter(S());let a=n.formatToParts();let s=n.resolvedOptions();return a.map(t=>k(t,e,s))}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},777544(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Kc:()=>e,L5:()=>t,VJ:()=>r});let e=Object.freeze({"endowment:network-access":"endowment:network-access","endowment:transaction-insight":"endowment:transaction-insight","endowment:cronjob":"endowment:cronjob","endowment:ethereum-provider":"endowment:ethereum-provider","endowment:rpc":"endowment:rpc","endowment:webassembly":"endowment:webassembly","endowment:lifecycle-hooks":"endowment:lifecycle-hooks","endowment:messenger":"endowment:messenger","endowment:multichain-provider":"endowment:multichain-provider","endowment:page-home":"endowment:page-home","endowment:page-settings":"endowment:page-settings","endowment:signature-insight":"endowment:signature-insight","endowment:name-lookup":"endowment:name-lookup","endowment:assets":"endowment:assets","endowment:protocol":"endowment:protocol","endowment:keyring":"endowment:keyring"});let t=Object.freeze({});let r=Object.freeze({"endowment:caip25":"eth_accounts is disabled. For more information please see https://github.com/MetaMask/snaps/issues/990."});Object.freeze(["endowment:caip25"])}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},778552(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>a});var e=__webpack_require__(352158);var t=__webpack_require__(396102);var r=__webpack_require__(676108);var n=__webpack_require__(865961);function a(a,s,i){if(!(0,r.f)(a))return[!1];let o;let l;typeof a.tracesSampler=="function"?(l=a.tracesSampler({...s,inheritOrSampleWith:e=>{return typeof s.parentSampleRate=="number"?s.parentSampleRate:(0,typeof s.parentSampled=="boolean")?Number(s.parentSampled):(0,e)}}),o=!0):s.parentSampled!==undefined?l=s.parentSampled:a.tracesSampleRate!==void 0&&(l=a.tracesSampleRate,o=!0);let c=(0,n.i)(l);if(c===undefined)return e.T&&t.Yz.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(l)} of type ${JSON.stringify(typeof l)}.`),[!1];if(!c)return e.T&&t.Yz.log(`[Tracing] Discarding transaction because ${typeof a.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,c,o];let u=i<c;return!u&&e.T&&t.Yz.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(l)})`),[u,c,o]}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},780094(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>e});class e{#e;#t=new Map;constructor(e,t={},r=2e4){for(let[r,n]of(this.#e=e,Object.entries(t))){let e=new Map;for(let t of n){let n=[];let a=(...e)=>{n.push(e)};this.#r(r,t).addListener(a),e.set(t,{listener:a,args:n})}this.#t.set(r,e)}this.#n(r)}#n(e){setTimeout(()=>{for(let[t,r]of this.#t)for(let[n,{args:a}]of r){let r=`ExtensionLazyListener: Possible memory leak detected. The event "${t}.${n}" has been listened to, but no application code has added a listener after ${e}ms. There are currently ${a.length} buffered calls. If you are a developer of this extension, please ensure that you have added a listener for this event. If you are a user of this extension, please report this warning to the developers of the extension.`;1&&console.warn(r)}},e)}#r(e,t){return this.#e[e][t]}addListener(e,t,r){let n=this.#r(e,t);n.addListener(r);let a=this.#t.get(e);if(a){let s=a.get(t);if(s){n.removeListener(s.listener),a.delete(t),a.size===0&&this.#t.delete(e);let{args:i}=s;for(let o=0,{length:l}=i;o<l;o++)try{if(r(...i[o]),!n.hasListener(r)){let r=o+1;r!==l&&(i.splice(0,r),a.set(t,s),this.#t.set(e,a),n.addListener(s.listener));break}}catch(c){let r=o+1;throw r!==l&&(i.splice(0,r),a.set(t,s),this.#t.set(e,a),n.addListener(s.listener)),c}}}}once(e,t){return new Promise(r=>{let n=this.#r(e,t);let a=this.#t.get(e);if(a){let s=a.get(t);let i=s?.args.length;if(i){r(s.args.shift()),n.removeListener(s.listener),i===1&&(a.delete(t),a.size===0&&this.#t.delete(e));return}}let s=(...e)=>{n.removeListener(s),r(e)};n.addListener(s)})}}}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},784225(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$l:()=>a,Ej:()=>i,Ie:()=>r,T1:()=>s,YP:()=>o});var e=__webpack_require__(356583);var t=__webpack_require__(244231);function r(e){return o(e,"empty",t=>{let r=n(t);return r===0||`Expected an empty ${e.type} but received one with a size of \`${r}\``})}function n(e){return e instanceof Map||e instanceof Set?e.size:(0,e.length)}function a(e){return o(e,"nonempty",t=>{return n(t)>0||`Expected a nonempty ${e.type} but received an empty one`})}function s(e,t){return o(e,"pattern",r=>{return t.test(r)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${r}"`})}function i(e,t,r=t){let n=`Expected a ${e.type}`;let a=t===r?`of \`${t}\``:`between \`${t}\` and \`${r}\``;return o(e,"size",e=>{if(typeof e=="number"||e instanceof Date)return t<=e&&e<=r||`${n} ${a} but received \`${e}\``;if(e instanceof Map||e instanceof Set){let{size:s}=e;return t<=s&&s<=r||`${n} with a size ${a} but received one with a size of \`${s}\``}let{length:s}=e;return t<=s&&s<=r||`${n} with a length ${a} but received one with a length of \`${s}\``})}function o(r,n,a){return new e._k({...r,*refiner(e,s){yield*r.refiner(e,s);let i=a(e,s);for(let a of(0,t.RF)(i,s,r,e))yield{...a,refinement:n}}})}}}).call(__webpack_require__._LM_("@metamask/superstruct",{__webpack_require__,__webpack_exports__}))()},787631(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Gu:()=>r,eR:()=>a,kS:()=>n});var e=__webpack_require__(108120);var t=__webpack_require__(480021);function r(){return globalThis.stateHooks?.getSentryState?.()||{}}async function n(){let n=(0,e.P)();if(n.ci&&n.sentry?.forceEnable)return{analyticsId:undefined,optedIn:!0,consentDecisionMade:!0};let o=r();if(o.state||o.persistedState)return a(o);try{let e=await globalThis.stateHooks.getPersistedState({reportErrors:!1});return s(e)}catch(e){(0,t.wQ)("Error retrieving persisted state, falling back to backup",e);try{let{getBackupState:e}=globalThis.stateHooks;if(!e)return null;let t=await e();return i(t)}catch(e){return(0,t.wQ)("Error retrieving backup state",e),null}}}function a(e){if(e.persistedState)return s(e.persistedState);if(e.state){let t=e.state;return"metamask"in t&&t.metamask!==undefined?o(t.metamask):(0,l(t))}return null}function s(e){return l(e?.data)}function i(e){return l(e)}function o(e){let{analyticsId:t,consentDecisionMade:r,optedIn:n}=e;return{analyticsId:typeof t=="string"?t:undefined,optedIn:n===!0,consentDecisionMade:r===!0}}function l(e){let{analyticsId:t,optedIn:r,consentDecisionMade:n}=c((u(e)?e:{}).AnalyticsController)??{};return{analyticsId:typeof t=="string"?t:undefined,optedIn:r===!0,consentDecisionMade:n===!0}}function c(e){return u(e)?e:undefined}function u(e){return Boolean(e)&&typeof e=="object"}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},793419(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>t});let e=new WeakMap;function t(t,r){try{return!e.get(t)&&e.set(t,new r),e.get(t)}catch(e){return new r}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},796213(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$g:()=>T,$z:()=>M,Ae:()=>O,BJ:()=>m,Ek:()=>E,F$:()=>k,HC:()=>w,Jf:()=>g,Ju:()=>u,OH:()=>D,OS:()=>C,PN:()=>h,Qe:()=>j,SB:()=>v,V8:()=>$,VS:()=>S,Vq:()=>x,XU:()=>n,YY:()=>r,Yb:()=>p,ZL:()=>c,_:()=>R,_B:()=>f,_r:()=>P,dI:()=>L,eI:()=>o,fg:()=>_,gn:()=>i,ie:()=>I,jo:()=>l,jt:()=>N,og:()=>b,r1:()=>q,sf:()=>A,t8:()=>a,uQ:()=>y,x$:()=>s,yC:()=>z,yh:()=>d});var e=__webpack_require__(689132);var t=__webpack_require__(886418);let r="popup";let n="notification";let a="fullscreen";let s="sidepanel";let i="background";let o="popup.html";let l="sidepanel.html";let c="Brave";let u="Chrome";let m="Chromium";let h="CocCoc";let f="Edge";let d="EdgeAndroid";let p="Firefox";let g="Kiwi";let y="Lemur";let b="Maxthon";let k="Mises";let v="Opera";let w="Other";let _="Puffin";let T="QQBrowser";let S="Samsung";let j="Silk";let x="UCBrowser";let E="Vivaldi";let A="Whale";let O="Yandex";let L={ADMIN:"admin",DEVELOPMENT:"development",NORMAL:"normal",SIDELOAD:"sideload",OTHER:"other",UNKNOWN:"unknown"};let R={DESKTOP:"desktop",MOBILE:"mobile"};let C={ANDROID:"Android",IOS:"iOS",LINUX:"Linux",MACOS:"macOS",UNKNOWN:"unknown",WINDOWS:"Windows",OTHER:"Other"};let M={ADD_ETHEREUM_CHAIN:"wallet_addEthereumChain",ETH_ACCOUNTS:t.wq.eth_accounts,ETH_DECRYPT:"eth_decrypt",ETH_CHAIN_ID:"eth_chainId",ETH_GET_ENCRYPTION_PUBLIC_KEY:"eth_getEncryptionPublicKey",ETH_GET_BLOCK_BY_NUMBER:"eth_getBlockByNumber",ETH_REQUEST_ACCOUNTS:"eth_requestAccounts",ETH_SEND_TRANSACTION:"eth_sendTransaction",ETH_SEND_RAW_TRANSACTION:"eth_sendRawTransaction",ETH_SIGN_TRANSACTION:"eth_signTransaction",ETH_SIGN_TYPED_DATA:"eth_signTypedData",ETH_SIGN_TYPED_DATA_V1:"eth_signTypedData_v1",ETH_SIGN_TYPED_DATA_V3:"eth_signTypedData_v3",ETH_SIGN_TYPED_DATA_V4:"eth_signTypedData_v4",GET_PROVIDER_STATE:"metamask_getProviderState",LOG_WEB3_SHIM_USAGE:"metamask_logWeb3ShimUsage",PERSONAL_SIGN:"personal_sign",SEND_METADATA:"metamask_sendDomainMetadata",SWITCH_ETHEREUM_CHAIN:"wallet_switchEthereumChain",TRANSACTION:"transaction",WALLET_CREATE_SESSION:"wallet_createSession",WALLET_GET_CALLS_STATUS:"wallet_getCallsStatus",WALLET_GET_CAPABILITIES:"wallet_getCapabilities",WALLET_GET_SESSION:"wallet_getSession",WALLET_INVOKE_METHOD:"wallet_invokeMethod",WALLET_REQUEST_PERMISSIONS:"wallet_requestPermissions",WALLET_REVOKE_SESSION:"wallet_revokeSession",WALLET_SEND_CALLS:"wallet_sendCalls",WALLET_SESSION_CHANGED:"wallet_sessionChanged",WALLET_REQUEST_EXECUTION_PERMISSIONS:"wallet_requestExecutionPermissions",WALLET_GET_SUPPORTED_EXECUTION_PERMISSIONS:"wallet_getSupportedExecutionPermissions",WALLET_GET_GRANTED_EXECUTION_PERMISSIONS:"wallet_getGrantedExecutionPermissions",WATCH_ASSET:"wallet_watchAsset",WATCH_ASSET_LEGACY:"metamask_watchAsset",SNAP_DIALOG_ALERT:e.rW.alert,SNAP_DIALOG_CONFIRMATION:e.rW.confirmation,SNAP_DIALOG_PROMPT:e.rW.prompt,SNAP_DIALOG_DEFAULT:e.rW.default,HYPERLIQUID_REFERRAL_CONSENT:"hyperliquid_referral_consent",ASTERDEX_REFERRAL_CONSENT:"asterdex_referral_consent",GMX_REFERRAL_CONSENT:"gmx_referral_consent"};M.HYPERLIQUID_REFERRAL_CONSENT,M.ASTERDEX_REFERRAL_CONSENT,M.GMX_REFERRAL_CONSENT;let I={confirmAccountCreation:"snap_manageAccounts:confirmAccountCreation",confirmAccountRemoval:"snap_manageAccounts:confirmAccountRemoval",showSnapAccountRedirect:"snap_manageAccounts:showSnapAccountRedirect"};let D={[r]:"popupGasPollTokens",[n]:"notificationGasPollTokens",[a]:"fullScreenGasPollTokens",[s]:"sidePanelGasPollTokens",[i]:"none"};let N="metamask";let q=["pbbkamfgmaedccnfkmjcofcecjhfgldn","nkbihfbeogaeaoehlefnkodbefgpgknn","ljfoeinjpaedjfecbmggjgodbgkmjkjk","kmbhbcbadohhhgdgihejcicbgcehoaeg","ikkihjamdhfiojpdbnfllpjigpneipbc"];let z=["webextension-beta@metamask.io","webextension@metamask.io","webextension-flask@metamask.io"];let $="UNKNOWN";M.ETH_SIGN_TYPED_DATA,M.ETH_SIGN_TYPED_DATA_V1,M.ETH_SIGN_TYPED_DATA_V3,M.ETH_SIGN_TYPED_DATA_V4,M.PERSONAL_SIGN;let P="downloadMobileApp"}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},797999(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>r});var e=__webpack_require__(784225);var t=__webpack_require__(342672);function r(){return(0,e.YP)((0,t.Yj)(),"SVG",e=>{return!e.includes("<svg")?"Value is not a valid SVG.":(0,!0)})}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},805248(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>a,r:()=>n});var e=__webpack_require__(581327);var t=__webpack_require__(16905);var r=__webpack_require__(144008);let n={parse:e=>s(t.f.rpc.parse,e),invalidRequest:e=>s(t.f.rpc.invalidRequest,e),invalidParams:e=>s(t.f.rpc.invalidParams,e),methodNotFound:e=>s(t.f.rpc.methodNotFound,e),internal:e=>s(t.f.rpc.internal,e),server:e=>{if(!e||typeof e!=="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return s(t,e)},invalidInput:e=>s(t.f.rpc.invalidInput,e),resourceNotFound:e=>s(t.f.rpc.resourceNotFound,e),resourceUnavailable:e=>s(t.f.rpc.resourceUnavailable,e),transactionRejected:e=>s(t.f.rpc.transactionRejected,e),methodNotSupported:e=>s(t.f.rpc.methodNotSupported,e),limitExceeded:e=>s(t.f.rpc.limitExceeded,e)};let a={userRejectedRequest:e=>{return i(t.f.provider.userRejectedRequest,e)},unauthorized:e=>{return i(t.f.provider.unauthorized,e)},unsupportedMethod:e=>{return i(t.f.provider.unsupportedMethod,e)},disconnected:e=>{return i(t.f.provider.disconnected,e)},chainDisconnected:e=>{return i(t.f.provider.chainDisconnected,e)},custom:t=>{if(!t||typeof t!=="object"||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");let{code:r,message:n,data:a}=t;if(!n||typeof n!=="string")throw new Error('"message" must be a nonempty string');return new e.B(r,n,a)}};function s(t,n){let[a,s]=o(n);return new e.G(t,a??(0,r.DW)(t),s)}function i(t,n){let[a,s]=o(n);return new e.B(t,a??(0,r.DW)(t),s)}function o(e){if(e){if(typeof e=="string")return[e];if(typeof e=="object"&&!Array.isArray(e)){let{message:t,data:r}=e;if(t&&typeof t!=="string")throw new Error("Must specify string message.");return[t??undefined,r]}}return[]}}}).call(__webpack_require__._LM_("@metamask/rpc-errors",{__webpack_require__,__webpack_exports__}))()},805677(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{p:()=>n});var e=__webpack_require__(577102);var t=__webpack_require__(620697);var r=__webpack_require__(691576);let n=(0,e._C)((e={})=>{let n=e.limit||5;let a=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,s,i){let o=i.getOptions();(0,t.Q)(r.K8,o.stackParser,a,n,e,s)}}})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},814601(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{T:()=>e});let e=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},818365(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==undefined))}function t(t){return r=>{let{key:n=null,...a}=r;return{type:t,props:e(a),key:n}}}__webpack_require__.d(__webpack_exports__,{K:()=>t})}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_exports__,__webpack_require__}))()},821396(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Pt:()=>p,YG:()=>g,a9:()=>d,hT:()=>y,tC:()=>A,wv:()=>b});var e=__webpack_require__(396102);var t=__webpack_require__(6929);var r=__webpack_require__(814601);var n=__webpack_require__(879954);var a=__webpack_require__(19467);var s=__webpack_require__(702053);var i=__webpack_require__(515400);var o=__webpack_require__(772879);let l={};let c={};let u;let m;let h;let f;function d(e,t=!1){return S("cls",e,v,u,t)}function p(e,t=!1){return S("lcp",e,w,m,t)}function g(e){return S("ttfb",e,_,h)}function y(e){return S("inp",e,T,f)}function b(e,t){return x(e,t),!c[e]&&(j(e),c[e]=!0),E(e,t)}function k(n,a){let s=l[n];if(!s?.length)return;for(let i of s)try{i(a)}catch(a){r.T&&e.Yz.error(`Error while triggering instrumentation handler.
Type: ${n}
Name: ${(0,t.qQ)(i)}
Error:`,a)}}function v(){return(0,n.I)(e=>{k("cls",{metric:e}),u=e},{reportAllChanges:!0})}function w(){return(0,s.f)(e=>{k("lcp",{metric:e}),m=e},{reportAllChanges:!0})}function _(){return(0,o.C)(e=>{k("ttfb",{metric:e}),h=e})}function T(){return(0,a.r)(e=>{k("inp",{metric:e}),f=e})}function S(e,t,r,n,a=!1){x(e,t);let s;return!c[e]&&(s=r(),c[e]=!0),n&&t({metric:n}),E(e,t,a?s:undefined)}function j(e){let t={};e==="event"&&(t.durationThreshold=0),(0,i.l)(e,t=>{k(e,{entries:t})},t)}function x(e,t){l[e]=l[e]||[],l[e].push(t)}function E(e,t,r){return()=>{r&&r();let n=l[e];if(!n)return;let a=n.indexOf(t);a!==-1&&n.splice(a,1)}}function A(e){return"duration"in e}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},827284(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Lk:()=>T,Uk:()=>j,V4:()=>x,hb:()=>E,nV:()=>S});var e=__webpack_require__(920938);var t=__webpack_require__(943924);var r=__webpack_require__(123532);var n=__webpack_require__(352158);var a=__webpack_require__(78463);var s=__webpack_require__(620772);var i=__webpack_require__(396102);var o=__webpack_require__(187474);var l=__webpack_require__(676108);var c=__webpack_require__(865961);var u=__webpack_require__(858481);var m=__webpack_require__(147687);var h=__webpack_require__(466737);var f=__webpack_require__(682631);var d=__webpack_require__(605816);var p=__webpack_require__(98154);var g=__webpack_require__(664746);var y=__webpack_require__(778552);var b=__webpack_require__(911216);var k=__webpack_require__(52018);var v=__webpack_require__(276435);var w=__webpack_require__(709356);let _="__SENTRY_SUPPRESS_TRACING__";function T(e,t){let n=R();if(n.startSpan)return n.startSpan(e,t);let a=L(e);let{forceTransaction:s,parentSpan:i,scope:l}=e;let c=l?.clone();return(0,r.v4)(c,()=>{return D(i)(()=>{let n=(0,r.o5)();let l=I(n,i);let c=e.onlyIfParent&&!l?new b.w:O({parentSpan:l,spanArguments:a,forceTransaction:s,scope:n});return(0,h.r)(n,c),(0,o.x)(()=>t(c),()=>{let{status:e}=(0,f.et)(c);c.isRecording()&&(!e||e==="ok")&&c.setStatus({code:v.TJ,message:"internal_error"})},()=>{c.end()})})})}function S(e,t){let n=R();if(n.startSpanManual)return n.startSpanManual(e,t);let a=L(e);let{forceTransaction:s,parentSpan:i,scope:l}=e;let c=l?.clone();return(0,r.v4)(c,()=>{return D(i)(()=>{let n=(0,r.o5)();let l=I(n,i);let c=e.onlyIfParent&&!l?new b.w:O({parentSpan:l,spanArguments:a,forceTransaction:s,scope:n});return(0,h.r)(n,c),(0,o.x)(()=>t(c,()=>c.end()),()=>{let{status:e}=(0,f.et)(c);c.isRecording()&&(!e||e==="ok")&&c.setStatus({code:v.TJ,message:"internal_error"})})})})}function j(e){let t=R();if(t.startInactiveSpan)return t.startInactiveSpan(e);let n=L(e);let{forceTransaction:a,parentSpan:s}=e;return(e.scope?t=>(0,r.v4)(e.scope,t):s!==undefined?e=>E(s,e):e=>e())(()=>{let t=(0,r.o5)();let i=I(t,s);return e.onlyIfParent&&!i?new b.w:(0,O({parentSpan:i,spanArguments:n,forceTransaction:a,scope:t}))})}let x=(n,a)=>{let i=(0,t.EU)();let o=(0,e.h)(i);if(o.continueTrace)return o.continueTrace(n,a);let{sentryTrace:l,baggage:c}=n;let u=(0,r.KU)();let m=(0,s.yD)(c);return u&&!(0,d.A9)(u,m?.org_id)?A(a):(0,(0,r.v4)(e=>{let t=(0,d.kM)(l,c);return e.setPropagationContext(t),(0,h.r)(e,undefined),a()}))};function E(e,t){let n=R();return n.withActiveSpan?n.withActiveSpan(e,t):(0,(0,r.v4)(r=>{return(0,h.r)(r,e||undefined),t(r)}))}function A(e){return(0,r.v4)(t=>{return t.setPropagationContext({traceId:(0,u.e)(),sampleRand:(0,m.hY)()}),n.T&&i.Yz.log(`Starting a new trace with id ${t.getPropagationContext().traceId}`),E(null,e)})}function O({parentSpan:e,spanArguments:t,forceTransaction:n,scope:a}){if(!(0,l.f)()){let r=new b.w;if(n||!e){let e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,p.k1)(r)};(0,p.LZ)(r,e)}return r}let s=(0,r.rm)();let i;if(e&&!n)i=M(e,a,t),(0,f.Hu)(e,i);else if(e){let r=(0,p.k1)(e);let{traceId:n,spanId:s}=e.spanContext();let o=(0,f.pK)(e);i=C({traceId:n,parentSpanId:s,...t},a,o),(0,p.LZ)(i,r)}else{let{traceId:e,dsc:r,parentSpanId:n,sampled:o}={...s.getPropagationContext(),...a.getPropagationContext()};i=C({traceId:e,parentSpanId:n,...t},a,o),r&&(0,p.LZ)(i,r)}return(0,g.z)(i),(0,w.d)(i,a,s),i}function L(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=(0,f.cI)(e.startTime),delete r.startTime,r}return t}function R(){let r=(0,t.EU)();return(0,e.h)(r)}function C(e,t,s){let o=(0,r.KU)();let l=o?.getOptions()||{};let{name:u=""}=e;let m={spanAttributes:{...e.attributes},spanName:u,parentSampled:s};o?.emit("beforeSampling",m,{decision:!1});let h=m.parentSampled??s;let f=m.spanAttributes;let d=t.getPropagationContext();let[p,g,b]=t.getScopeData().sdkProcessingMetadata[_]?[!1]:(0,y.Z)(l,{name:u,parentSampled:h,attributes:f,parentSampleRate:(0,c.i)(d.dsc?.sample_rate)},d.sampleRand);let v=new k.W({...e,attributes:{[a.i_]:"custom",[a.sy]:g!==undefined&&b?g:undefined,...f},sampled:p});return!p&&o&&(n.T&&i.Yz.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate","transaction")),o&&o.emit("spanStart",v),v}function M(e,t,n){let{spanId:a,traceId:s}=e.spanContext();let i=t.getScopeData().sdkProcessingMetadata[_]?!1:(0,f.pK)(e);let o=i?new k.W({...n,parentSpanId:a,traceId:s,sampled:i}):new b.w({traceId:s});(0,f.Hu)(e,o);let l=(0,r.KU)();return l&&(l.emit("spanStart",o),n.endTimestamp&&l.emit("spanEnd",o)),o}function I(e,t){if(t)return t;if(t===null)return undefined;let n=(0,h.f)(e);if(!n)return undefined;let a=(0,r.KU)();return(a?a.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,f.zU)(n):(0,n)}function D(e){return e!==undefined?t=>{return E(e,t)}:e=>e()}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},835060(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>G,R:()=>U});var e=__webpack_require__(600473);var t=__webpack_require__(317588);var r=__webpack_require__(603476);var n=__webpack_require__(991213);var a=__webpack_require__(868766);var s=__webpack_require__(774810);var i=__webpack_require__(912276);var o=__webpack_require__(512986);var l=__webpack_require__(232712);var c=__webpack_require__(78565);var u=__webpack_require__(210164);var m=__webpack_require__(775158);var h=__webpack_require__(686333);var f=__webpack_require__(891728);var d=__webpack_require__(695358);var p=__webpack_require__(14631);let g="Invalid DateTime";function y(e){return new p.A("unsupported zone",`the zone "${e.name}" is not supported`)}function b(e){return e.weekData===null&&(e.weekData=(0,h.C9)(e.c)),e.weekData}function k(e){return e.localWeekData===null&&(e.localWeekData=(0,h.C9)(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function v(e,t){let r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new G({...r,...t,old:r})}function w(e,t,r){let n=e-t*60*1e3;let a=r.offset(n);if(t===a)return[n,t];n-=(a-t)*60*1e3;let s=r.offset(n);return a===s?[n,a]:(0,[e-Math.min(a,s)*60*1e3,Math.max(a,s)])}function _(e,t){let r=new Date(e+=t*60*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function T(e,t,r){return w((0,o.JZ)(e),t,r)}function S(t,r){let n=t.o,a=t.c.year+Math.trunc(r.years),s=t.c.month+Math.trunc(r.months)+Math.trunc(r.quarters)*3,i={...t.c,year:a,month:s,day:Math.min(t.c.day,(0,o.L3)(a,s))+Math.trunc(r.days)+Math.trunc(r.weeks)*7},l=e.Ay.fromObject({years:r.years-Math.trunc(r.years),quarters:r.quarters-Math.trunc(r.quarters),months:r.months-Math.trunc(r.months),weeks:r.weeks-Math.trunc(r.weeks),days:r.days-Math.trunc(r.days),hours:r.hours,minutes:r.minutes,seconds:r.seconds,milliseconds:r.milliseconds}).as("milliseconds");let[c,u]=w((0,o.JZ)(i),n,t.zone);return l!==0&&(c+=l,u=t.zone.offset(c)),{ts:c,o:u}}function j(e,t,r,n,a,s){let{setZone:i,zone:o}=r;if((!e||Object.keys(e).length===0)&&!t)return G.invalid(new p.A("unparsable",`the input "${a}" can't be parsed as ${n}`));{let n=G.fromObject(e,{...r,zone:t||o,specificOffset:s});return i?n:n.setZone(o)}}function x(e,t,r=!0){return e.isValid?a.A.create(i.A.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function E(e,t){let r=e.c.year>9999||e.c.year<0;let n="";return r&&e.c.year>=0&&(n+="+"),n+=(0,o.CF)(e.c.year,r?6:4),t?(n+="-",n+=(0,o.CF)(e.c.month),n+="-"):n+=(0,o.CF)(e.c.month),n+=(0,o.CF)(e.c.day)}function A(e,t,r,n,a,s){let i=(0,o.CF)(e.c.hour);return t?(i+=":",i+=(0,o.CF)(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!r)&&(i+=":")):i+=(0,o.CF)(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!r)&&(i+=(0,o.CF)(e.c.second),(e.c.millisecond!==0||!n)&&(i+=".",i+=(0,o.CF)(e.c.millisecond,3))),a&&(e.isOffsetFixed&&e.offset===0&&!s?i+="Z":e.o<0?(i+="-",i+=(0,o.CF)(Math.trunc(-e.o/60)),i+=":",i+=(0,o.CF)(Math.trunc(-e.o%60))):(i+="+",i+=(0,o.CF)(Math.trunc(e.o/60)),i+=":",i+=(0,o.CF)(Math.trunc(e.o%60)))),s&&(i+="["+e.zone.ianaName+"]"),i}let O={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},L={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},R={ordinal:1,hour:0,minute:0,second:0,millisecond:0};let C=["year","month","day","hour","minute","second","millisecond"],M=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],I=["year","ordinal","hour","minute","second","millisecond"];function D(e){let t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new d.iq(e);return t}function N(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return D(e)}}function q(e){return!F[e]&&(H===undefined&&(H=r.A.now()),F[e]=e.offset(H)),F[e]}function z(e,t){let n=(0,l.q)(t.zone,r.A.defaultZone);if(!n.isValid)return G.invalid(y(n));let a=i.A.fromObject(t);let s,c;if((0,o.b0)(e.year))s=r.A.now();else{for(let t of C)(0,o.b0)(e[t])&&(e[t]=O[t]);let t=(0,h.EG)(e)||(0,h.nM)(e);if(t)return G.invalid(t);let r=q(n);[s,c]=T(e,r,n)}return new G({ts:s,zone:n,loc:a,o:c})}function $(e,t,r){let n=(0,o.b0)(r.round)?!0:r.round,a=(e,a)=>{return e=(0,o.GB)(e,n||r.calendary?0:2,!0),t.loc.clone(r).relFormatter(r).format(e,a)},s=n=>{return!r.calendary?t.diff(e,n).get(n):(0,!t.hasSame(e,n)?t.startOf(n).diff(e.startOf(n),n).get(n):(0,0))};if(r.unit)return a(s(r.unit),r.unit);for(let e of r.units){let t=s(e);if(Math.abs(t)>=1)return a(t,e)}return a(e>t?-0:0,r.units[r.units.length-1])}function P(e){let t={},r;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}let H;let F={};class G{constructor(e){let t=e.zone||r.A.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new p.A("invalid input"):null)||(!t.isValid?y(t):null);this.ts=(0,o.b0)(e.ts)?r.A.now():e.ts;let a=null,s=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[a,s]=[e.old.c,e.old.o];else{let r=(0,o.Et)(e.o)&&!e.old?e.o:t.offset(this.ts);a=(n=Number.isNaN((a=_(this.ts,r)).year)?new p.A("invalid input"):null)?null:a,s=n?null:r}this._zone=t,this.loc=e.loc||i.A.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=a,this.o=s,this.isLuxonDateTime=!0}static now(){return new G({})}static local(){let[e,t]=P(arguments),[r,n,a,s,i,o,l]=t;return z({year:r,month:n,day:a,hour:s,minute:i,second:o,millisecond:l},e)}static utc(){let[e,t]=P(arguments),[r,n,a,i,o,l,c]=t;return e.zone=s.A.utcInstance,z({year:r,month:n,day:a,hour:i,minute:o,second:l,millisecond:c},e)}static fromJSDate(e,t={}){let n=(0,o.$P)(e)?e.valueOf():NaN;if(Number.isNaN(n))return G.invalid("invalid input");let a=(0,l.q)(t.zone,r.A.defaultZone);return!a.isValid?G.invalid(y(a)):(0,new G({ts:n,zone:a,loc:i.A.fromObject(t)}))}static fromMillis(e,t={}){if((0,o.Et)(e))if(e<-864e13||e>864e13)return G.invalid("Timestamp out of range");else return new G({ts:e,zone:(0,l.q)(t.zone,r.A.defaultZone),loc:i.A.fromObject(t)});throw new d.Di(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if((0,o.Et)(e))return new G({ts:e*1e3,zone:(0,l.q)(t.zone,r.A.defaultZone),loc:i.A.fromObject(t)});throw new d.Di("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};let n=(0,l.q)(t.zone,r.A.defaultZone);if(!n.isValid)return G.invalid(y(n));let a=i.A.fromObject(t);let s=(0,o.Fl)(e,N);let{minDaysInFirstWeek:c,startOfWeek:u}=(0,h._3)(s,a);let m=r.A.now(),f=!(0,o.b0)(t.specificOffset)?t.specificOffset:n.offset(m),p=!(0,o.b0)(s.ordinal),g=!(0,o.b0)(s.year),b=!(0,o.b0)(s.month)||!(0,o.b0)(s.day),k=g||b,v=s.weekYear||s.weekNumber;if((k||p)&&v)throw new d.gN("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(b&&p)throw new d.gN("Can't mix ordinal dates with month/day");let w=v||s.weekday&&!k;let S,j,x=_(m,f);w?(S=M,j=L,x=(0,h.C9)(x,c,u)):p?(S=I,j=R,x=(0,h.d3)(x)):(S=C,j=O);let E=!1;for(let e of S){let t=s[e];(0,o.b0)(t)?E?s[e]=j[e]:s[e]=x[e]:E=!0}let A=(w?(0,h.WF)(s,c,u):p?(0,h.De)(s):(0,h.EG)(s))||(0,h.nM)(s);if(A)return G.invalid(A);let[D,q]=T(w?(0,h.WO)(s,c,u):p?(0,h.fZ)(s):s,f,n),z=new G({ts:D,zone:n,o:q,loc:a});return s.weekday&&k&&e.weekday!==z.weekday?G.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${z.toISO()}`):(0,!z.isValid)?G.invalid(z.invalid):(0,z)}static fromISO(e,t={}){let[r,n]=(0,u.lA)(e);return j(r,n,t,"ISO 8601",e)}static fromRFC2822(e,t={}){let[r,n]=(0,u.J5)(e);return j(r,n,t,"RFC 2822",e)}static fromHTTP(e,t={}){let[r,n]=(0,u.a8)(e);return j(r,n,t,"HTTP",t)}static fromFormat(e,t,r={}){if((0,o.b0)(e)||(0,o.b0)(t))throw new d.Di("fromFormat requires an input string and a format");let{locale:n=null,numberingSystem:a=null}=r,s=i.A.fromOpts({locale:n,numberingSystem:a,defaultToEN:!0}),[l,c,u,h]=(0,m.ws)(s,e,t);return h?G.invalid(h):(0,j(l,c,r,`format ${t}`,e,u))}static fromString(e,t,r={}){return G.fromFormat(e,t,r)}static fromSQL(e,t={}){let[r,n]=(0,u._E)(e);return j(r,n,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new d.Di("need to specify a reason the DateTime is invalid");let n=e instanceof p.A?e:new p.A(e,t);if(!r.A.throwOnInvalid)return new G({invalid:n});throw new d.t(n)}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let r=(0,m.Z7)(e,i.A.fromObject(t));return!r?null:r.map(e=>e?e.val:null).join("")}static expandFormat(e,t={}){return(0,m.np)(a.A.parseFormat(e),i.A.fromObject(t)).map(e=>e.val).join("")}static resetCache(){H=undefined,F={}}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?b(this).weekYear:NaN}get weekNumber(){return this.isValid?b(this).weekNumber:NaN}get weekday(){return this.isValid?b(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?k(this).weekday:NaN}get localWeekNumber(){return this.isValid?k(this).weekNumber:NaN}get localWeekYear(){return this.isValid?k(this).weekYear:NaN}get ordinal(){return this.isValid?(0,h.d3)(this.c).ordinal:NaN}get monthShort(){return this.isValid?n.A.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?n.A.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?n.A.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?n.A.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):(0,null)}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):(0,null)}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:(0,this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=(0,o.JZ)(this.c);let t=this.zone.offset(e-864e5);let r=this.zone.offset(e+864e5);let n=this.zone.offset(e-t*6e4);let a=this.zone.offset(e-r*6e4);if(n===a)return[this];let s=e-n*6e4;let i=e-a*6e4;let l=_(s,n);let c=_(i,a);return l.hour===c.hour&&l.minute===c.minute&&l.second===c.second&&l.millisecond===c.millisecond?[v(this,{ts:s}),v(this,{ts:i})]:(0,[this])}get isInLeapYear(){return(0,o.U_)(this.year)}get daysInMonth(){return(0,o.L3)(this.year,this.month)}get daysInYear(){return this.isValid?(0,o.Ki)(this.year):NaN}get weeksInWeekYear(){return this.isValid?(0,o.ac)(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?(0,o.ac)(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:r,calendar:n}=a.A.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:n}}toUTC(e=0,t={}){return this.setZone(s.A.instance(e),t)}toLocal(){return this.setZone(r.A.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:n=!1}={}){if((e=(0,l.q)(e,r.A.defaultZone)).equals(this.zone))return this;if(!e.isValid)return G.invalid(y(e));{let r=this.ts;if(t||n){let t=e.offset(this.ts);let n=this.toObject();[r]=T(n,t,e)}return v(this,{ts:r,zone:e})}}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return v(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let t=(0,o.Fl)(e,N);let{minDaysInFirstWeek:r,startOfWeek:n}=(0,h._3)(t,this.loc);let a=!(0,o.b0)(t.weekYear)||!(0,o.b0)(t.weekNumber)||!(0,o.b0)(t.weekday),s=!(0,o.b0)(t.ordinal),i=!(0,o.b0)(t.year),l=!(0,o.b0)(t.month)||!(0,o.b0)(t.day),c=t.weekYear||t.weekNumber;if((i||l||s)&&c)throw new d.gN("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&s)throw new d.gN("Can't mix ordinal dates with month/day");let u;a?u=(0,h.WO)({...(0,h.C9)(this.c,r,n),...t},r,n):(0,o.b0)(t.ordinal)?(u={...this.toObject(),...t},(0,o.b0)(t.day)&&(u.day=Math.min((0,o.L3)(u.year,u.month),u.day))):u=(0,h.fZ)({...(0,h.d3)(this.c),...t});let[m,f]=T(u,this.o,this.zone);return v(this,{ts:m,o:f})}plus(t){return!this.isValid?this:(0,v(this,S(this,e.Ay.fromDurationLike(t))))}minus(t){return!this.isValid?this:(0,v(this,S(this,e.Ay.fromDurationLike(t).negate())))}startOf(t,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},a=e.Ay.normalizeUnit(t);switch(a){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break;case"milliseconds":break}if(a==="weeks")if(r){let e=this.loc.getStartOfWeek();let{weekday:t}=this;t<e&&(n.weekNumber=this.weekNumber-1),n.weekday=e}else n.weekday=1;return a==="quarters"&&(n.month=(Math.ceil(this.month/3)-1)*3+1),this.set(n)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?a.A.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):g}toLocaleString(e=f.aY,t={}){return this.isValid?a.A.create(this.loc.clone(t),e).formatDateTime(this):g}toLocaleParts(e={}){return this.isValid?a.A.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:n=!0,extendedZone:a=!1}={}){if(!this.isValid)return null;let s=e==="extended";let i=E(this,s);return i+="T",i+=A(this,s,t,r,n,a)}toISODate({format:e="extended"}={}){return!this.isValid?null:(0,E(this,e==="extended"))}toISOWeekDate(){return x(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:n=!1,extendedZone:a=!1,format:s="extended"}={}){return!this.isValid?null:(0,(n?"T":"")+A(this,s==="extended",t,e,r,a))}toRFC2822(){return x(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return x(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return!this.isValid?null:(0,E(this,!0))}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let n="HH:mm:ss.SSS";return(t||e)&&(r&&(n+=" "),t?n+="z":e&&(n+="ZZ")),x(this,n,!0)}toSQL(e={}){return!this.isValid?null:(0,`${this.toSQLDate()} ${this.toSQLTime(e)}`)}toString(){return this.isValid?this.toISO():g}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:(0,`DateTime { Invalid, reason: ${this.invalidReason} }`)}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,r="milliseconds",n={}){if(!this.isValid||!t.isValid)return e.Ay.invalid("created by diffing an invalid DateTime");let a={locale:this.locale,numberingSystem:this.numberingSystem,...n};let s=(0,o.El)(r).map(e.Ay.normalizeUnit),i=t.valueOf()>this.valueOf(),l=i?this:t,u=i?t:this,m=(0,c.A)(l,u,s,a);return i?m.negate():m}diffNow(e="milliseconds",t={}){return this.diff(G.now(),e,t)}until(e){return this.isValid?t.A.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;let n=e.valueOf();let a=this.setZone(e.zone,{keepLocalTime:!0});return a.startOf(t,r)<=n&&n<=a.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let t=e.base||G.fromObject({},{zone:this.zone}),r=e.padding?this<t?-e.padding:e.padding:0;let n=["years","months","days","hours","minutes","seconds"];let a=e.unit;return Array.isArray(e.unit)&&(n=e.unit,a=undefined),$(t,this.plus(r),{...e,numeric:"always",units:n,unit:a})}toRelativeCalendar(e={}){return!this.isValid?null:(0,$(e.base||G.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}))}static min(...e){if(!e.every(G.isDateTime))throw new d.Di("min requires all arguments be DateTimes");return(0,o.Iw)(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(G.isDateTime))throw new d.Di("max requires all arguments be DateTimes");return(0,o.Iw)(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){let{locale:n=null,numberingSystem:a=null}=r,s=i.A.fromOpts({locale:n,numberingSystem:a,defaultToEN:!0});return(0,m.GR)(s,e,t)}static fromStringExplain(e,t,r={}){return G.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){let{locale:r=null,numberingSystem:n=null}=t,a=i.A.fromOpts({locale:r,numberingSystem:n,defaultToEN:!0});return new m.zb(a,e)}static fromFormatParser(e,t,r={}){if((0,o.b0)(e)||(0,o.b0)(t))throw new d.Di("fromFormatParser requires an input string and a format parser");let{locale:n=null,numberingSystem:a=null}=r,s=i.A.fromOpts({locale:n,numberingSystem:a,defaultToEN:!0});if(!s.equals(t.locale))throw new d.Di(`fromFormatParser called with a locale of ${s}, `+`but the format parser was created for ${t.locale}`);let{result:l,zone:c,specificOffset:u,invalidReason:m}=t.explainFromTokens(e);return m?G.invalid(m):(0,j(l,c,r,`format ${t.format}`,e,u))}static get DATE_SHORT(){return f.aY}static get DATE_MED(){return f.g5}static get DATE_MED_WITH_WEEKDAY(){return f.M$}static get DATE_FULL(){return f.Rb}static get DATE_HUGE(){return f.d6}static get TIME_SIMPLE(){return f.dz}static get TIME_WITH_SECONDS(){return f.hF}static get TIME_WITH_SHORT_OFFSET(){return f.oq}static get TIME_WITH_LONG_OFFSET(){return f.o}static get TIME_24_SIMPLE(){return f.My}static get TIME_24_WITH_SECONDS(){return f.cE}static get TIME_24_WITH_SHORT_OFFSET(){return f.dO}static get TIME_24_WITH_LONG_OFFSET(){return f.FX}static get DATETIME_SHORT(){return f.DN}static get DATETIME_SHORT_WITH_SECONDS(){return f.h0}static get DATETIME_MED(){return f.pM}static get DATETIME_MED_WITH_SECONDS(){return f.AX}static get DATETIME_MED_WITH_WEEKDAY(){return f.fO}static get DATETIME_FULL(){return f.Al}static get DATETIME_FULL_WITH_SECONDS(){return f.h3}static get DATETIME_HUGE(){return f.MC}static get DATETIME_HUGE_WITH_SECONDS(){return f.nt}}function U(e){if(G.isDateTime(e))return e;if(e&&e.valueOf&&(0,o.Et)(e.valueOf()))return G.fromJSDate(e);if(e&&typeof e=="object")return G.fromObject(e);throw new d.Di(`Unknown datetime argument: ${e}, of type ${typeof e}`)}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},835203(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>t});var e=__webpack_require__(695358);class t{get type(){throw new e.jP}get name(){throw new e.jP}get ianaName(){return this.name}get isUniversal(){throw new e.jP}offsetName(t,r){throw new e.jP}formatOffset(t,r){throw new e.jP}offset(t){throw new e.jP}equals(t){throw new e.jP}get isValid(){throw new e.jP}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},837113(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{m:()=>r});var e=__webpack_require__(260516);var t=__webpack_require__(306981);function r(r,n,a){let s=[{type:"client_report"},{timestamp:a||(0,t.lu)(),discarded_events:r}];return(0,e.h4)(n?{dsn:n}:{},[s])}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},841456(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>r});var e=__webpack_require__(577102);var t=__webpack_require__(994398);let r=(0,e._C)(()=>{return{name:"HttpContext",preprocessEvent(e){if(!t.jf.navigator&&!t.jf.location&&!t.jf.document)return;let r=(0,t.AP)();let n={...r.headers,...e.request?.headers};e.request={...r,...e.request,headers:n}}}})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},847768(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{ti:()=>r});var e=__webpack_require__(396102);var t=__webpack_require__(814601);Symbol.for("sentry__originalRequestBody");function r(r){let n;try{n=r.getAllResponseHeaders()}catch(n){return t.T&&e.Yz.error(n,"Failed to get xhr response headers",r),{}}return!n?{}:(0,n.split(`\r
`).reduce((e,t)=>{let[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},848294(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>n});var e=__webpack_require__(123532);var t=__webpack_require__(396102);var r=__webpack_require__(306981);function n(n,a){let s=(0,e.KU)();let i=(0,e.rm)();if(!s)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:l=100}=s.getOptions();if(l<=0)return;let c={timestamp:(0,r.lu)(),...n};let u=o?(0,t.pq)(()=>o(c,a)):c;if(u===null)return;s.emit&&s.emit("beforeAddBreadcrumb",u,a),i.addBreadcrumb(u,l)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},848795(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>l});var e=__webpack_require__(352158);var t=__webpack_require__(577102);var r=__webpack_require__(396102);var n=__webpack_require__(114765);var a=__webpack_require__(392316);var s=__webpack_require__(180121);let i=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/];let o=(0,t._C)((e={})=>{let t;return{name:"EventFilters",setup(r){t=c(e,r.getOptions())},processEvent(r,n,a){return!t&&(t=c(e,a.getOptions())),u(r,t)?null:r}}});let l=(0,t._C)((e={})=>{return{...o(e),name:"InboundFilters"}});function c(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:i],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function u(t,n){if(t.type){if(t.type==="transaction"){if(h(t,n.ignoreTransactions))return e.T&&r.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${(0,a.$X)(t)}`),!0}}else{if(m(t,n.ignoreErrors))return e.T&&r.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${(0,a.$X)(t)}`),!0;if(y(t))return e.T&&r.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace.
Event: ${(0,a.$X)(t)}`),!0;if(f(t,n.denyUrls))return e.T&&r.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${(0,a.$X)(t)}.
Url: ${g(t)}`),!0;if(!d(t,n.allowUrls))return e.T&&r.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${(0,a.$X)(t)}.
Url: ${g(t)}`),!0}return!1}function m(e,t){return!t?.length?!1:(0,(0,n.G)(e).some(e=>(0,s.Xr)(e,t)))}function h(e,t){if(!t?.length)return!1;let r=e.transaction;return r?(0,s.Xr)(r,t):!1}function f(e,t){if(!t?.length)return!1;let r=g(e);return!r?!1:(0,s.Xr)(r,t)}function d(e,t){if(!t?.length)return!0;let r=g(e);return!r?!0:(0,s.Xr)(r,t)}function p(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function g(t){try{let e=[...t.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===undefined&&e.stacktrace?.frames?.length);let r=e?.stacktrace?.frames;return r?p(r):null}catch{return e.T&&r.Yz.error(`Cannot extract url for event ${(0,a.$X)(t)}`),null}}function y(e){return!e.exception?.values?.length?!1:(0,!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!=="Error"||e.value))}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},855790(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{lG:()=>u});var e=__webpack_require__(6929);function t(t,r,n,a){let s={filename:t,function:r==="<anonymous>"?e.yF:r,in_app:!0};return n!==undefined&&(s.lineno=n),a!==undefined&&(s.colno=a),s}let r=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;let n=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;let a=/\((\S*)(?::(\d+))(?::(\d+))\)/;let s=/at (.+?) ?\(data:(.+?),/;let i=[30,i=>{let o=i.match(s);if(o)return{filename:`<data:${o[2]}>`,function:o[1]};let l=r.exec(i);if(l){let[,r,n,a]=l;return t(r,e.yF,+n,+a)}let c=n.exec(i);if(c){if(c[2]&&c[2].indexOf("eval")===0){let e=a.exec(c[2]);e&&(c[2]=e[1],c[3]=e[2],c[4]=e[3])}let[r,n]=m(c[1]||e.yF,c[2]);return t(n,r,c[3]?+c[3]:undefined,c[4]?+c[4]:undefined)}return}];let o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;let l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;let c=[50,r=>{let n=o.exec(r);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){let e=l.exec(n[3]);e&&(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]="")}let r=n[3];let a=n[1]||e.yF;return[a,r]=m(a,r),t(r,a,n[4]?+n[4]:undefined,n[5]?+n[5]:undefined)}return}];let u=(0,e.gd)(...[i,c]);let m=(t,r)=>{let n=t.indexOf("safari-extension")!==-1;let a=t.indexOf("safari-web-extension")!==-1;return n||a?[t.indexOf("@")!==-1?t.split("@")[0]:e.yF,n?`safari-extension:${r}`:`safari-web-extension:${r}`]:[t,r]}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},858481(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>r,e:()=>t});var e=__webpack_require__(392316);function t(){return(0,e.eJ)()}function r(){return(0,e.eJ)().substring(16)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},858572(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";globalThis.stateHooks??={},!0&&__webpack_require__(587279),__webpack_require__(659677)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__}))()},861913(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{x:()=>s});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(797999);var a=__webpack_require__(676358);let s=(0,t.kp)(a.Wu,(0,e.Ik)({type:(0,r.eu)(a.Z6.Image),value:(0,n.J)()}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},865961(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){if(typeof e=="boolean")return Number(e);let t=typeof e=="string"?parseFloat(e):e;return typeof t!=="number"||isNaN(t)||t<0||t>1?undefined:(0,t)}__webpack_require__.d(__webpack_exports__,{i:()=>e})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},868766(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>s});var e=__webpack_require__(122552);var t=__webpack_require__(891728);var r=__webpack_require__(512986);function n(e,t){let r="";for(let n of e)n.literal?r+=n.val:r+=t(n.val);return r}let a={D:t.aY,DD:t.g5,DDD:t.Rb,DDDD:t.d6,t:t.dz,tt:t.hF,ttt:t.oq,tttt:t.o,T:t.My,TT:t.cE,TTT:t.dO,TTTT:t.FX,f:t.DN,ff:t.pM,fff:t.Al,ffff:t.MC,F:t.h0,FF:t.AX,FFF:t.h3,FFFF:t.nt};class s{static create(e,t={}){return new s(e,t)}static parseFormat(e){let t=null,r="",n=!1;let a=[];for(let s=0;s<e.length;s++){let i=e.charAt(s);i==="'"?(r.length>0&&a.push({literal:n||/^\s+$/.test(r),val:r}),t=null,r="",n=!n):n||i===t?r+=i:(r.length>0&&a.push({literal:/^\s+$/.test(r),val:r}),r=i,t=i)}return r.length>0&&a.push({literal:n||/^\s+$/.test(r),val:r}),a}static macroTokenToFormatOpts(e){return a[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return(0,r.CF)(e,t);let n={...this.opts};return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(t,r){let a=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(e,r)=>this.loc.extract(t,e,r),l=e=>{return t.isOffsetFixed&&t.offset===0&&e.allowZ?"Z":(0,t.isValid?t.zone.formatOffset(t.ts,e.format):"")},c=(r,n)=>a?e.zH(t,r):o(n?{month:r}:{month:r,day:"numeric"},"month"),u=(r,n)=>a?e.DJ(t,r):o(n?{weekday:r}:{weekday:r,month:"long",day:"numeric"},"weekday"),m=e=>{let r=s.macroTokenToFormatOpts(e);return r?this.formatWithSystemDefault(t,r):(0,e)},h=r=>a?e.xS(t,r):o({era:r},"era"),f=r=>{switch(r){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return l({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return l({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return l({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return 0,a?e.tz(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return i?o({day:"numeric"},"day"):this.num(t.day);case"dd":return i?o({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return i?o({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return i?o({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return i?o({month:"numeric"},"month"):this.num(t.month);case"MM":return i?o({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return i?o({year:"numeric"},"year"):this.num(t.year);case"yy":return i?o({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return i?o({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return i?o({year:"numeric"},"year"):this.num(t.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return m(r)}};return n(s.parseFormat(r),f)}formatDurationFromString(e,t){let r=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},a=e=>t=>{let n=r(t);return n?this.num(e.get(n),t.length):(0,t)},i=s.parseFormat(t),o=i.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]);return n(i,a(e.shiftTo(...o.map(r).filter(e=>e))))}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},879771(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{$9:()=>o,E$:()=>c,KC:()=>i,eu:()=>s,i5:()=>l,o1:()=>u});var e=__webpack_require__(356583);var t=__webpack_require__(784225);var r=__webpack_require__(342672);var n=__webpack_require__(142827);var a=__webpack_require__(745085);function s(e){return(0,n.E8)(JSON.stringify(e),(0,r.eu)(e).validator)}function i([t,...n]){let a=(0,r.KC)([t,...n]);return new e._k({...a,schema:[t,...n]})}function o(e){return s(e)}function l(t){let r=t.map(e=>e.type==="union"&&Array.isArray(e.schema)?e.schema:e).flat(Infinity);let n=r.map(({schema:e})=>e.type.type);let s=r.reduce((e,t)=>{return e[JSON.parse(t.schema.type.type)]=t,e},{});return new e._k({type:"union",schema:r,*entries(e,t){if(!(0,a.Gv)(e)||!(0,a.i5)(e,"type")||typeof e.type!=="string")return;let{type:r}=e;let n=s[r];if(!n)return;for(let r of n.entries(e,t))yield r},coercer(e,t){if(!(0,a.Gv)(e)||!(0,a.i5)(e,"type")||typeof e.type!=="string")return e;let{type:r}=e;let n=s[r];return n?n.coercer(e,t):(0,e)},*refiner(e,t){let r=s[e.type];yield*r.refiner(e,t)},validator(e,t){if(!(0,a.Gv)(e)||!(0,a.i5)(e,"type")||typeof e.type!=="string")return`Expected type to be one of: ${n.join(", ")}, but received: undefined`;let{type:r}=e;let i=s[r];return i?i.validator(e,t):(0,`Expected type to be one of: ${n.join(", ")}, but received: "${r}"`)}})}function c(t){return new e._k({type:"union",schema:null,*entries(e,r){for(let n of t(e).entries(e,r))yield n},*refiner(e,r){let n=t(e);yield*n.refiner(e,r)},coercer(e,r){return t(e).coercer(e,r)},validator(e,r){return t(e).validator(e,r)}})}function u(e,n){return(0,t.YP)((0,r.g1)(e,n),"Non-empty record",e=>{return!Array.isArray(e)&&Object.keys(e).length>0})}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},879954(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>u});var e=__webpack_require__(765698);var t=__webpack_require__(57324);var r=__webpack_require__(978802);var n=__webpack_require__(314408);var a=__webpack_require__(793419);var s=__webpack_require__(339535);var i=__webpack_require__(515400);var o=__webpack_require__(56680);var l=__webpack_require__(956354);let c=[.1,.25];let u=(u,m={})=>{(0,l.z)((0,o.J)(()=>{let o=(0,n.X)("CLS",0);let l;let h=(0,r.N)();let f=(0,a.C)(m,s._);let d=e=>{for(let t of e)f._processEntry(t);f._sessionValue>o.value&&(o.value=f._sessionValue,o.entries=f._sessionEntries,l())};let p=(0,i.l)("layout-shift",d);p&&(l=(0,t.R)(u,o,c,m.reportAllChanges),h.onHidden(()=>{d(p.takeRecords()),l(!0)}),e.j?.setTimeout?.(l))}))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},886418(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{ed:()=>e,l_:()=>t,ll:()=>r,wq:()=>n}),__webpack_require__(777544);let e=Object.freeze({restrictReturnedAccounts:"restrictReturnedAccounts",restrictNetworkSwitching:"restrictNetworkSwitching"});let t=Object.freeze({permittedChains:"endowment:permitted-chains"});let r=Object.freeze({eth_accounts:"eth_accounts"});let n=Object.freeze({eth_accounts:"eth_accounts",snap_dialog:"snap_dialog",snap_notify:"snap_notify",snap_manageState:"snap_manageState",snap_getBip32PublicKey:"snap_getBip32PublicKey",snap_getBip32Entropy:"snap_getBip32Entropy",snap_getBip44Entropy:"snap_getBip44Entropy",snap_getEntropy:"snap_getEntropy",snap_getLocale:"snap_getLocale",snap_getPreferences:"snap_getPreferences",wallet_snap:"wallet_snap",snap_manageAccounts:"snap_manageAccounts"});Object.freeze({connection_permission:"connection_permission"}),Object.freeze({snapInstall:3,snapUpdateApprovedPermissions:3}),Object.freeze({eth_accounts:3,permittedChains:3,snap_dialog:4,snap_notify:4,snap_getBip32PublicKey:3,snap_getBip32Entropy:1,snap_getBip44Entropy:1,snap_getEntropy:3,snap_manageState:4,snap_getLocale:4,wallet_snap:4,endowment_networkAccess:3,endowment_assets:3,endowment_protocol:3,endowment_webassembly:4,endowment_transactionInsight:4,endowment_cronjob:4,endowment_ethereumProvider:4,endowment_multichainProvider:4,endowment_rpc:4,endowment_lifecycleHooks:4,endowment_pageHome:4,snap_manageAccounts:3,endowment_keyring:4,endowment_nameLookup:3,endowment_signatureInsight:4,connection_permission:3,unknown_permission:3})}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},889843(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{p:()=>i});var e=__webpack_require__(931263);var t=__webpack_require__(577102);var r=__webpack_require__(396102);var n=__webpack_require__(662925);var a=__webpack_require__(484413);var s=__webpack_require__(994398);let i=(0,t._C)(()=>{return{name:"BrowserSession",setupOnce(){if(s.jf.document===void 0){a.T&&r.Yz.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,e.J0)({ignoreDuration:!0}),(0,e.J5)(),(0,n._)(({from:t,to:r})=>{t!==undefined&&t!==r&&((0,e.J0)({ignoreDuration:!0}),(0,e.J5)())})}}})}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},891728(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{AX:()=>k,Al:()=>w,DN:()=>g,FX:()=>p,M$:()=>s,MC:()=>T,My:()=>h,Rb:()=>i,aY:()=>n,cE:()=>f,d6:()=>o,dO:()=>d,dz:()=>l,fO:()=>v,g5:()=>a,h0:()=>y,h3:()=>_,hF:()=>c,nt:()=>S,o:()=>m,oq:()=>u,pM:()=>b});let e="numeric",t="short",r="long";let n={year:e,month:e,day:e};let a={year:e,month:t,day:e};let s={year:e,month:t,day:e,weekday:t};let i={year:e,month:r,day:e};let o={year:e,month:r,day:e,weekday:r};let l={hour:e,minute:e};let c={hour:e,minute:e,second:e};let u={hour:e,minute:e,second:e,timeZoneName:t};let m={hour:e,minute:e,second:e,timeZoneName:r};let h={hour:e,minute:e,hourCycle:"h23"};let f={hour:e,minute:e,second:e,hourCycle:"h23"};let d={hour:e,minute:e,second:e,hourCycle:"h23",timeZoneName:t};let p={hour:e,minute:e,second:e,hourCycle:"h23",timeZoneName:r};let g={year:e,month:e,day:e,hour:e,minute:e};let y={year:e,month:e,day:e,hour:e,minute:e,second:e};let b={year:e,month:t,day:e,hour:e,minute:e};let k={year:e,month:t,day:e,hour:e,minute:e,second:e};let v={year:e,month:t,day:e,weekday:t,hour:e,minute:e};let w={year:e,month:r,day:e,hour:e,minute:e,timeZoneName:t};let _={year:e,month:r,day:e,hour:e,minute:e,second:e,timeZoneName:t};let T={year:e,month:r,day:e,weekday:r,hour:e,minute:e,timeZoneName:r};let S={year:e,month:r,day:e,weekday:r,hour:e,minute:e,second:e,timeZoneName:r}}}).call(__webpack_require__._LM_("luxon",{__webpack_exports__,__webpack_require__}))()},896639(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Bd:()=>l,ut:()=>o,vA:()=>i});var e=__webpack_require__(356583);var t=__webpack_require__(761788);function r(e){return Boolean(typeof e?.prototype?.constructor?.name=="string")}function n(e){return(0,t.u1)(e).replace(/\.$/u,"")}function a(e,t){return r(e)?new e({message:t}):(0,e({message:t}))}class s extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}}function i(e,t="Assertion failed.",r=s){if(!e){if(t instanceof Error)throw t;throw a(r,t)}}function o(t,r,i="Assertion failed",l=s){try{(0,e.vA)(t,r)}catch(e){throw a(l,`${i}: ${n(e)}.`)}}function l(e){throw new Error("Invalid branch reached. Should be detected during compilation.")}}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},901889(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{O:()=>e});let e=globalThis}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},902309(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>t});var e=__webpack_require__(123532);function t(r,n={},a=(0,e.o5)()){let{message:s,name:i,email:o,url:l,source:c,associatedEventId:u,tags:m}=r;let h={contexts:{feedback:{contact_email:o,name:i,message:s,url:l,source:c,associated_event_id:u}},type:"feedback",level:"info",tags:m};let f=a?.getClient()||(0,e.KU)();return f&&f.emit("beforeSendFeedback",h,n),a.captureEvent(h,n)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},902470(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>n});var e=__webpack_require__(123532);var t=__webpack_require__(577102);var r=__webpack_require__(78463);let n=(0,t._C)(()=>{return{name:"ConversationId",setup(t){t.on("spanStart",t=>{let n=(0,e.o5)().getScopeData();let a=(0,e.rm)().getScopeData();let s=n.conversationId||a.conversationId;s&&t.setAttribute(r.Fy,s)})}}})}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},903217(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>l});var e=__webpack_require__(78463);var t=__webpack_require__(123532);var r=__webpack_require__(18898);var n=__webpack_require__(396102);var a=__webpack_require__(306981);var s=__webpack_require__(814601);var i=__webpack_require__(821396);var o=__webpack_require__(33040);function l(e){let t=0;let r;if(!(0,o.Jy)("layout-shift"))return;let n=(0,i.a9)(({metric:e})=>{let n=e.entries[e.entries.length-1];if(!n)return;t=e.value,r=n},!0);(0,o.WF)(e,(e,a)=>{c(t,r,a,e),n()})}function c(i,l,c,u){s.T&&n.Yz.log(`Sending CLS span (${i})`);let m=l?(0,o.rv)(((0,a.k3)()||0)+l.startTime):(0,a.zf)();let h=(0,t.o5)().getScopeData().transactionName;let f=l?(0,r.Hd)(l.sources[0]?.node):"Layout shift";let d={[e.JD]:"auto.http.browser.cls",[e.uT]:"ui.webvital.cls",[e.jG]:0,"sentry.pageload.span_id":c,"sentry.report_event":u};l?.sources&&l.sources.forEach((e,t)=>{d[`cls.source.${t+1}`]=(0,r.Hd)(e.node)});let p=(0,o.kD)({name:f,transaction:h,attributes:d,startTime:m});p&&(p.addEvent("cls",{[e.Sn]:"",[e.xc]:i}),p.end(m))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},908743(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{H1:()=>T,SS:()=>d,SZ:()=>g,U$:()=>x,bo:()=>p,jU:()=>f,p3:()=>_,tQ:()=>w,x8:()=>b,zC:()=>h});var e=__webpack_require__(356583);var t=__webpack_require__(355608);var r=__webpack_require__(784225);var n=__webpack_require__(342672);var a=__webpack_require__(142827);var s=__webpack_require__(896639);var i=__webpack_require__(745085);let o=e=>(0,n.Ik)(e);function l({path:e,branch:t}){let r=e[e.length-1];return(0,i.i5)(t[t.length-2],r)}function c(t){return new e._k({...t,type:`optional ${t.type}`,validator:(e,r)=>!l(r)||t.validator(e,r),refiner:(e,r)=>!l(r)||t.refiner(e,r)})}function u(e){if(e===null||typeof e=="boolean"||typeof e=="string"||typeof e=="number"&&Number.isFinite(e))return!0;if(typeof e=="object"){let t=!0;if(Array.isArray(e)){for(let r=0;r<e.length;r++)if(!u(e[r])){t=!1;break}return t}let r=Object.entries(e);for(let e=0;e<r.length;e++)if(typeof r[e][0]!=="string"||!u(r[e][1])){t=!1;break}return t}return!1}let m=(0,a.E8)("JSON",e=>u(e));let h=(0,t.au)(m,(0,r.YP)((0,n.bz)(),"JSON",t=>(0,e.is)(t,m)),e=>JSON.parse(JSON.stringify(e,(e,t)=>{return e==="__proto__"||e==="constructor"?undefined:(0,t)})));function f(e){try{return d(e),!0}catch{return!1}}function d(t){return(0,e.vt)(t,h)}let p=(0,n.eu)("2.0");let g=(0,n.me)((0,n.KC)([(0,n.ai)(),(0,n.Yj)()]));let y=o({code:(0,n.nd)(),message:(0,n.Yj)(),data:c(h),stack:c((0,n.Yj)())});let b=(0,n.KC)([(0,n.g1)((0,n.Yj)(),h),(0,n.YO)(h)]);let k=o({id:g,jsonrpc:p,method:(0,n.Yj)(),params:c(b)});let v=o({jsonrpc:p,method:(0,n.Yj)(),params:c(b)});function w(t){return(0,e.is)(t,v)}function _(t){return(0,e.is)(t,k)}function T(e,t){(0,s.ut)(e,k,"Invalid JSON-RPC request",t)}(0,n.Ik)({id:g,jsonrpc:p,result:(0,n.lq)((0,n.L5)()),error:(0,n.lq)(y)});let S=o({id:g,jsonrpc:p,result:h});let j=o({id:g,jsonrpc:p,error:y});function x(t){return(0,e.is)(t,y)}(0,n.KC)([S,j])}}).call(__webpack_require__._LM_("@metamask/utils",{__webpack_require__,__webpack_exports__}))()},911216(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{w:()=>r});var e=__webpack_require__(858481);var t=__webpack_require__(682631);class r{constructor(t={}){this._traceId=t.traceId||(0,e.e)(),this._spanId=t.spanId||(0,e.Z)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:t.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},912276(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>E});var e=__webpack_require__(512986);var t=__webpack_require__(122552);var r=__webpack_require__(603476);var n=__webpack_require__(835060);var a=__webpack_require__(750628);let s={};function i(e,t={}){let r=JSON.stringify([e,t]);let n=s[r];return!n&&(n=new Intl.ListFormat(e,t),s[r]=n),n}let o={};function l(e,t={}){let r=JSON.stringify([e,t]);let n=o[r];return!n&&(n=new Intl.DateTimeFormat(e,t),o[r]=n),n}let c={};function u(e,t={}){let r=JSON.stringify([e,t]);let n=c[r];return!n&&(n=new Intl.NumberFormat(e,t),c[r]=n),n}let m={};function h(e,t={}){let{base:r,...n}=t;let a=JSON.stringify([e,n]);let s=m[a];return!s&&(s=new Intl.RelativeTimeFormat(e,t),m[a]=s),s}let f=null;function d(){return f||(0,f=new Intl.DateTimeFormat().resolvedOptions().locale)}let p={};function g(e){let t=p[e];if(!t){let r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,p[e]=t}return t}function y(e){let t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));let r=e.indexOf("-u-");if(r===-1)return[e];{let t;let n;try{t=l(e).resolvedOptions(),n=e}catch(s){let a=e.substring(0,r);t=l(a).resolvedOptions(),n=a}let{numberingSystem:a,calendar:s}=t;return[n,a,s]}}function b(e,t,r){return r||t?(!e.includes("-u-")&&(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)):void 0,e}function k(e){let t=[];for(let r=1;r<=12;r++){let a=n.A.utc(2009,r,1);t.push(e(a))}return t}function v(e){let t=[];for(let r=1;r<=7;r++){let a=n.A.utc(2016,11,13+r);t.push(e(a))}return t}function w(e,t,r,n){let a=e.listingMode();return a==="error"?null:(0,a==="en")?r(t):n(t)}function _(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:(0,e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn")}class T{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;let{padTo:n,floor:a,...s}=r;if(!t||Object.keys(s).length>0){let t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=u(e,t)}}format(t){if(this.inf){let e=this.floor?Math.floor(t):t;return this.inf.format(e)}{let r=this.floor?Math.floor(t):(0,e.GB)(t,3);return(0,e.CF)(r,this.padTo)}}}class S{constructor(e,t,r){this.opts=r,this.originalZone=undefined;let n;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let t=-1*(e.offset/60);let r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;e.offset!==0&&a.A.create(r).valid?(n=r,this.dt=e):(n="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,n=e.zone.name):(n="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=l(t,s)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):(0,this.dtf.format(this.dt.toJSDate()))}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if(e.type!=="timeZoneName")return e;{let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}}):(0,e)}resolvedOptions(){return this.dtf.resolvedOptions()}}class j{constructor(t,r,n){this.opts={style:"long",...n},!r&&(0,e.h3)()&&(this.rtf=h(t,n))}format(e,r){return this.rtf?this.rtf.format(e,r):(0,t.fw(r,e,this.opts.numeric,this.opts.style!=="long"))}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):(0,[])}}let x={firstDay:1,minimalDays:4,weekend:[6,7]};class E{static fromOpts(e){return E.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(t,n,a,s,i=!1){let o=t||r.A.defaultLocale;let l=o||(i?"en-US":d());let c=n||r.A.defaultNumberingSystem;return new E(l,c,a||r.A.defaultOutputCalendar,(0,e._v)(s)||r.A.defaultWeekSettings,o)}static resetCache(){f=null,o={},c={},m={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:n}={}){return E.create(e,t,r,n)}constructor(e,t,r,n,a){let[s,i,o]=y(e);this.locale=s,this.numberingSystem=t||i||null,this.outputCalendar=r||o||null,this.weekSettings=n,this.intl=b(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=a,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=_(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish();let t=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&t?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:(0,E.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,(0,e._v)(t.weekSettings)||this.weekSettings,t.defaultToEN||!1))}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return w(this,e,t.US,()=>{let t=r?{month:e,day:"numeric"}:{month:e},n=r?"format":"standalone";return!this.monthsCache[n][e]&&(this.monthsCache[n][e]=k(e=>this.extract(e,t,"month"))),this.monthsCache[n][e]})}weekdays(e,r=!1){return w(this,e,t.mx,()=>{let t=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=r?"format":"standalone";return!this.weekdaysCache[n][e]&&(this.weekdaysCache[n][e]=v(e=>this.extract(e,t,"weekday"))),this.weekdaysCache[n][e]})}meridiems(){return w(this,undefined,()=>t.us,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[n.A.utc(2016,11,13,9),n.A.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return w(this,e,t.qH,()=>{let t={era:e};return!this.eraCache[e]&&(this.eraCache[e]=[n.A.utc(-40,1,1),n.A.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,r){let n=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===r);return n?n.value:null}numberFormatter(e={}){return new T(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new S(e,this.intl,t)}relFormatter(e={}){return new j(this.intl,this.isEnglish(),e)}listFormatter(e={}){return i(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:(0,!(0,e.jv)())?x:g(this.locale)}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},913111(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{v:()=>n});var e=__webpack_require__(306981);var t=__webpack_require__(33040);function r(t){return t?(((0,e.k3)()||performance.timeOrigin)+t)/1e3:t}function n(n){let s={};if(n.nextHopProtocol!=undefined){let{name:e,version:r}=(0,t.Ep)(n.nextHopProtocol);s["network.protocol.version"]=r,s["network.protocol.name"]=e}return!((0,e.k3)()||(0,t.D)()?.timeOrigin)?s:(0,a({...s,"http.request.redirect_start":r(n.redirectStart),"http.request.redirect_end":r(n.redirectEnd),"http.request.worker_start":r(n.workerStart),"http.request.fetch_start":r(n.fetchStart),"http.request.domain_lookup_start":r(n.domainLookupStart),"http.request.domain_lookup_end":r(n.domainLookupEnd),"http.request.connect_start":r(n.connectStart),"http.request.secure_connection_start":r(n.secureConnectionStart),"http.request.connection_end":r(n.connectEnd),"http.request.request_start":r(n.requestStart),"http.request.response_start":r(n.responseStart),"http.request.response_end":r(n.responseEnd),"http.request.time_to_first_byte":n.responseStart!=null?n.responseStart/1e3:undefined}))}function a(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!=null))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},920938(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{h:()=>r});var e=__webpack_require__(943924);var t=__webpack_require__(39859);function r(r){let n=(0,e.Se)(r);return n.acs?n.acs:(0,(0,t.z)())}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},920942(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>r});var e=__webpack_require__(67912);var t=__webpack_require__(901889);function r(){return typeof window!=="undefined"&&(!(0,e.w)()||n())}function n(){let e=t.O.process;return e?.type==="renderer"}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},923533(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>e});let e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}}).call(__webpack_require__._LM_("uuid",{__webpack_exports__,__webpack_require__}))()},925075(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e){return"isRelative"in e}function t(e,t){let r=e.indexOf("://")<=0&&e.indexOf("//")!==0;let n=t??(r?"thismessage:/":undefined);try{if("canParse"in URL&&!URL.canParse(e,n))return undefined;let t=new URL(e,n);if(r)return{isRelative:r,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}return undefined}function r(t){if(e(t))return t.pathname;let r=new URL(t);return r.search="",r.hash="",["80","443"].includes(r.port)&&(r.port=""),r.password&&(r.password="%filtered%"),r.username&&(r.username="%filtered%"),r.toString()}__webpack_require__.d(__webpack_exports__,{CH:()=>r,Dl:()=>n,f:()=>a,kg:()=>t,nt:()=>e,zm:()=>s});function n(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"";let n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function a(e){return e.split(/[?#]/,1)[0]}function s(e,t=!0){if(e.startsWith("data:")){let r=e.match(/^data:([^;,]+)/);let n=r?r[1]:"text/plain";let a=e.includes(";base64,");let s=e.indexOf(",");let i="";if(t&&s!==-1){let t=e.slice(s+1);i=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${n}${a?",base64":""}${i?`,${i}`:""}`}return e}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},931263(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Cp:()=>a,J0:()=>m,J5:()=>d,NA:()=>l,Ol:()=>u,Q:()=>c,o:()=>o,r:()=>i,wd:()=>s});var e=__webpack_require__(123532);var t=__webpack_require__(172900);var r=__webpack_require__(612717);var n=__webpack_require__(901889);function a(t,n){return(0,e.o5)().captureException(t,(0,r.li)(n))}function s(t,r){let n=typeof r=="string"?r:undefined;let a=typeof r!=="string"?{captureContext:r}:undefined;return(0,e.o5)().captureMessage(t,n,a)}function i(t,r){return(0,e.o5)().captureEvent(t,r)}function o(t,r){(0,e.rm)().setContext(t,r)}function l(t,r){(0,e.rm)().setTag(t,r)}function c(){return(0,e.rm)().lastEventId()}function u(){let t=(0,e.KU)();return t?.getOptions().enabled!==!1&&!!t?.getTransport()}function m(r){let a=(0,e.rm)();let s=(0,e.o5)();let{userAgent:i}=n.O.navigator||{};let o=(0,t.fj)({user:s.getUser()||a.getUser(),...i&&{userAgent:i},...r});let l=a.getSession();return l?.status==="ok"&&(0,t.qO)(l,{status:"exited"}),h(),a.setSession(o),o}function h(){let r=(0,e.rm)();let n=(0,e.o5)().getSession()||r.getSession();n&&(0,t.Vu)(n),f(),r.setSession()}function f(){let t=(0,e.rm)();let r=(0,e.KU)();let n=t.getSession();n&&r&&r.captureSession(n)}function d(e=!1){if(e){h();return}f()}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},937053(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Pm:()=>e_,Sw:()=>eS});var e=__webpack_require__(784225);var t=__webpack_require__(342672);var r=__webpack_require__(142827);var n=__webpack_require__(142282);var a=__webpack_require__(760184);var s=__webpack_require__(908743);var i=__webpack_require__(745085);var o=__webpack_require__(188320);var l=__webpack_require__(879771);var c=__webpack_require__(614130);var u=__webpack_require__(797999);var m=__webpack_require__(609948);var h=__webpack_require__(544299);var f=__webpack_require__(186119);let d=(0,c.J)([(0,t.Yj)(),(0,t.ai)()]);let p=y([(0,t.Yj)()]);function g(e){let n=(0,l.E$)(a=>{return Array.isArray(a)?(0,t.YO)((0,r.RZ)(()=>n)):(0,e)});return n}function y(e){let r=e.length===1?e[0]:(0,c.J)(e);return g((0,t.me)((0,l.E$)(e=>{return typeof e=="boolean"?(0,t.zM)():(0,r)})))}function b(e){return(0,t.me)((0,l.E$)(r=>{return typeof r=="boolean"?(0,t.zM)():(0,e)}))}function k(e,r={}){return(0,t.Ik)({type:(0,l.eu)(e),props:(0,t.Ik)(r),key:(0,t.me)(d)})}function v(e,r){return(0,t.Ik)({type:(0,l.eu)(e),props:(0,l.E$)(r),key:(0,t.me)(d)})}(0,t.Ik)({type:(0,t.Yj)(),props:(0,t.g1)((0,t.Yj)(),s.zC),key:(0,t.me)(d)});let w=(0,c.J)([(0,l.eu)("none"),(0,l.eu)("medium"),(0,l.eu)("full")]);let _=k("Image",{src:(0,c.J)([(0,u.J)(),(0,h.H)({protocol:(0,l.eu)("https:")})]),alt:(0,t.lq)((0,t.Yj)()),borderRadius:(0,t.lq)(w),width:(0,t.lq)((0,t.ai)()),height:(0,t.lq)((0,t.ai)())});let T=k("Icon",{name:(0,c.J)(Object.values(o.$).map(e=>(0,l.eu)(e))),color:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("primary"),(0,l.eu)("muted"),(0,l.eu)("error"),(0,l.eu)("success"),(0,l.eu)("warning")])),size:(0,t.lq)((0,c.J)([(0,l.eu)("md"),(0,l.eu)("inherit")]))});let S=k("Button",{children:y([p,_,T]),name:(0,t.lq)((0,t.Yj)()),type:(0,t.lq)((0,c.J)([(0,l.eu)("button"),(0,l.eu)("submit")])),variant:(0,t.lq)((0,c.J)([(0,l.eu)("primary"),(0,l.eu)("destructive")])),size:(0,t.lq)((0,c.J)([(0,l.eu)("sm"),(0,l.eu)("md")])),disabled:(0,t.lq)((0,t.zM)()),loading:(0,t.lq)((0,t.zM)()),form:(0,t.lq)((0,t.Yj)())});let j=k("Checkbox",{name:(0,t.Yj)(),checked:(0,t.lq)((0,t.zM)()),label:(0,t.lq)((0,t.Yj)()),variant:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("toggle")])),disabled:(0,t.lq)((0,t.zM)())});let x=(0,t.Ik)({name:(0,t.Yj)(),value:(0,t.lq)((0,t.Yj)()),placeholder:(0,t.lq)((0,t.Yj)()),disabled:(0,t.lq)((0,t.zM)())});let E=(0,r.kp)(x,(0,t.Ik)({type:(0,l.eu)("text")}));let A=(0,r.kp)(x,(0,t.Ik)({type:(0,l.eu)("password")}));let O=(0,r.kp)(x,(0,t.Ik)({type:(0,l.eu)("number"),min:(0,t.lq)((0,t.ai)()),max:(0,t.lq)((0,t.ai)()),step:(0,t.lq)((0,t.ai)())}));let L=v("Input",e=>{if((0,i.Qd)(e)&&(0,i.i5)(e,"type"))switch(e.type){case"text":return E;case"password":return A;case"number":return O;default:return x}return x});let R=k("AddressInput",{name:(0,t.Yj)(),chainId:n.dg,value:(0,t.lq)((0,t.Yj)()),placeholder:(0,t.lq)((0,t.Yj)()),disabled:(0,t.lq)((0,t.zM)()),displayAvatar:(0,t.lq)((0,t.zM)())});let C=k("Option",{value:(0,t.Yj)(),children:(0,t.Yj)(),disabled:(0,t.lq)((0,t.zM)())});let M=k("Dropdown",{name:(0,t.Yj)(),value:(0,t.lq)((0,t.Yj)()),children:y([C]),disabled:(0,t.lq)((0,t.zM)())});let I=k("DateTimePicker",{name:(0,t.Yj)(),type:(0,t.lq)((0,c.J)([(0,l.eu)("date"),(0,l.eu)("time"),(0,l.eu)("datetime")])),placeholder:(0,t.lq)((0,t.Yj)()),disabled:(0,t.lq)((0,t.zM)()),disablePast:(0,t.lq)((0,t.zM)()),disableFuture:(0,t.lq)((0,t.zM)()),value:(0,t.lq)(m.U)});let D=k("Address",{address:(0,l.E$)(e=>{return typeof e=="string"&&e.startsWith("0x")?a.UG:(0,n.FX)}),truncate:(0,t.lq)((0,t.zM)()),displayName:(0,t.lq)((0,t.zM)()),avatar:(0,t.lq)((0,t.zM)())});let N=k("AccountSelector",{name:(0,t.Yj)(),hideExternalAccounts:(0,t.lq)((0,t.zM)()),chainIds:(0,t.lq)((0,t.YO)(n.dg)),switchGlobalAccount:(0,t.lq)((0,t.zM)()),value:(0,t.lq)(n.FX),disabled:(0,t.lq)((0,t.zM)())});let q=k("Card",{image:(0,t.lq)((0,t.Yj)()),title:(0,l.E$)(e=>{return typeof e=="object"?D:(0,(0,t.Yj)())}),description:(0,t.lq)((0,t.Yj)()),value:(0,t.Yj)(),extra:(0,t.lq)((0,t.Yj)())});let z=k("SelectorOption",{value:(0,t.Yj)(),children:q,disabled:(0,t.lq)((0,t.zM)())});let $=k("Selector",{name:(0,t.Yj)(),title:(0,t.Yj)(),value:(0,t.lq)((0,t.Yj)()),children:y([z]),disabled:(0,t.lq)((0,t.zM)())});let P=k("AssetSelector",{name:(0,t.Yj)(),addresses:f.j6,chainIds:(0,t.lq)((0,t.YO)(f.s1)),value:(0,t.lq)(f._g),disabled:(0,t.lq)((0,t.zM)())});let H=k("Radio",{value:(0,t.Yj)(),children:(0,t.Yj)(),disabled:(0,t.lq)((0,t.zM)())});let F=k("RadioGroup",{name:(0,t.Yj)(),value:(0,t.lq)((0,t.Yj)()),children:y([H]),disabled:(0,t.lq)((0,t.zM)())});let G=k("FileInput",{name:(0,t.Yj)(),accept:(0,c.J)([(0,t.lq)((0,t.YO)((0,t.Yj)()))]),compact:(0,t.lq)((0,t.zM)()),disabled:(0,t.lq)((0,t.zM)())});let U=[b((0,r.RZ)(()=>ev)),L];let B=[L,b((0,r.RZ)(()=>ev))];let Y=[b((0,r.RZ)(()=>ev)),L,b((0,r.RZ)(()=>ev))];let W=[P,R,N,L,M,F,G,j,$,I];(0,c.J)([...W,...U,...B,...Y]);let V=(0,l.E$)(e=>{let r=Array.isArray(e);return r&&e.length===3?(0,t.PV)(Y):(0,r&&e.length===2)?e[0]?.type==="Box"?(0,t.PV)(U):(0,t.PV)(B):(0,(0,l.i5)(W))});let J=k("Field",{label:(0,t.lq)((0,t.Yj)()),error:(0,t.lq)((0,t.Yj)()),children:V});let Z=k("Bold",{children:y([(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,K)})])});let K=k("Italic",{children:y([(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,Z)})])});let X=(0,l.i5)([Z,K]);let Q=k("Avatar",{address:n.FX,size:(0,t.lq)((0,c.J)([(0,l.eu)("sm"),(0,l.eu)("md"),(0,l.eu)("lg")]))});let ee=y([(0,r.RZ)(()=>ev)]);let et=k("Box",{children:ee,direction:(0,t.lq)((0,c.J)([(0,l.eu)("horizontal"),(0,l.eu)("vertical")])),alignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end"),(0,l.eu)("space-between"),(0,l.eu)("space-around")])),crossAlignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end")])),center:(0,t.lq)((0,t.zM)())});let er=k("Form",{children:ee,name:(0,t.Yj)()});let en=(0,e.YP)(S,"FooterButton",e=>{if(typeof e.props.children=="string"||typeof e.props.children=="boolean"||e.props.children===null)return!0;if(Array.isArray(e.props.children)){if(!e.props.children.some(e=>typeof e!=="string"&&typeof e!=="boolean"&&e!==null))return!0}return"Footer buttons may only contain text."});let ea=k("Section",{children:ee,direction:(0,t.lq)((0,c.J)([(0,l.eu)("horizontal"),(0,l.eu)("vertical")])),alignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end"),(0,l.eu)("space-between"),(0,l.eu)("space-around")]))});let es=k("CollapsibleSection",{children:ee,label:(0,t.Yj)(),isLoading:(0,t.lq)((0,t.zM)()),isExpanded:(0,t.lq)((0,t.zM)()),direction:(0,t.lq)((0,c.J)([(0,l.eu)("horizontal"),(0,l.eu)("vertical")])),alignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end"),(0,l.eu)("space-between"),(0,l.eu)("space-around")]))});let ei=k("Footer",{children:(0,l.E$)(e=>{return Array.isArray(e)?(0,t.PV)([en,en]):(0,en)})});let eo=k("Copyable",{value:(0,t.Yj)(),sensitive:(0,t.lq)((0,t.zM)())});let el=k("Divider");let ec=k("Heading",{children:p,size:(0,t.lq)((0,c.J)([(0,l.eu)("sm"),(0,l.eu)("md"),(0,l.eu)("lg")]))});let eu=k("Link",{href:(0,t.Yj)(),children:y([(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,(0,l.i5)([X,T,_,D]))})])});let em=k("Skeleton",{width:(0,t.lq)((0,t.KC)([(0,t.ai)(),(0,t.Yj)()])),height:(0,t.lq)((0,t.KC)([(0,t.ai)(),(0,t.Yj)()])),borderRadius:(0,t.lq)(w)});let eh=k("Text",{children:y([(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,(0,l.i5)([Z,K,eu,T,em]))})]),alignment:(0,t.lq)((0,c.J)([(0,l.eu)("start"),(0,l.eu)("center"),(0,l.eu)("end")])),color:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("alternative"),(0,l.eu)("muted"),(0,l.eu)("error"),(0,l.eu)("success"),(0,l.eu)("warning")])),size:(0,t.lq)((0,c.J)([(0,l.eu)("sm"),(0,l.eu)("md")])),fontWeight:(0,t.lq)((0,c.J)([(0,l.eu)("regular"),(0,l.eu)("medium"),(0,l.eu)("bold")]))});let ef=k("Value",{value:(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,eh)}),extra:(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,eh)})});let ed=(0,l.E$)(e=>{return typeof e=="boolean"?(0,t.zM)():(0,(0,l.i5)([eh,Z,K,eu,_,T]))});let ep=(0,l.E$)(e=>{return typeof e=="string"?(0,t.Yj)():(0,(0,l.i5)([eh,Z,K,eu,T]))});let eg=k("Tooltip",{children:(0,t.me)(ed),content:ep});let ey=k("Banner",{children:y([(0,l.i5)([eh,eu,T,S,Z,K,em])]),title:(0,t.Yj)(),severity:(0,t.KC)([(0,l.eu)("danger"),(0,l.eu)("info"),(0,l.eu)("success"),(0,l.eu)("warning")])});let eb=k("Row",{label:(0,t.Yj)(),children:(0,r.RZ)(()=>(0,l.i5)([ef,ev])),variant:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("warning"),(0,l.eu)("critical")])),tooltip:(0,t.lq)((0,t.Yj)())});let ek=k("Spinner");let ev=(0,l.i5)([N,D,P,R,Z,et,S,eo,I,el,M,F,J,G,er,ec,L,_,K,eu,eb,ek,eh,eg,j,q,T,$,ea,Q,ey,em,es]);let ew=k("Container",{children:(0,l.E$)(e=>{return Array.isArray(e)?(0,t.PV)([ev,ei]):(0,ev)}),backgroundColor:(0,t.lq)((0,c.J)([(0,l.eu)("default"),(0,l.eu)("alternative")]))});let e_=(0,l.i5)([ev,ew]);let eT=(0,l.i5)([P,R,N,S,L,G,J,er,Z,K,D,et,eo,I,el,ec,_,eu,eb,ek,eh,M,C,F,H,ef,eg,j,ei,ew,q,T,$,z,ea,Q,ey,em,es]);function eS(e){return(0,i.Qd)(e)&&(0,i.i5)(e,"type")&&(0,i.i5)(e,"props")&&(0,i.i5)(e,"key")}}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},939543(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>t});var e=__webpack_require__(419142);function t(r,n,a=[n],s="npm"){let i=r._metadata||{};!i.sdk&&(i.sdk={name:`sentry.javascript.${n}`,packages:a.map(t=>({name:`${s}:@sentry/${t}`,version:e.M})),version:e.M}),r._metadata=i}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},942566(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";function e(e,t){let r=e==="production"?"metamask-extension":`metamask-extension-test`;return`${r}@${t}`}__webpack_require__.d(__webpack_exports__,{n:()=>e})}}).call(__webpack_require__._LM_("$root$",{__webpack_exports__,__webpack_require__}))()},943924(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{BY:()=>a,EU:()=>r,Se:()=>n});var e=__webpack_require__(419142);var t=__webpack_require__(901889);function r(){return n(t.O),t.O}function n(t){let r=t.__SENTRY__=t.__SENTRY__||{};return r.version=r.version||e.M,r[e.M]=r[e.M]||{}}function a(r,n,s=t.O){let i=s.__SENTRY__=s.__SENTRY__||{};let o=i[e.M]=i[e.M]||{};return o[r]||(o[r]=n())}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},944117(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{k:()=>n});var e=__webpack_require__(765698);var t=__webpack_require__(580436);var r=__webpack_require__(56680);let n=n=>{let a=e.j.requestIdleCallback||e.j.setTimeout;e.j.document?.visibilityState==="hidden"?n():(n=(0,r.J)(n),(0,t.d)("visibilitychange",n,{once:!0,capture:!0}),(0,t.d)("pagehide",n,{once:!0,capture:!0}),a(()=>{n(),(0,t.Q)("visibilitychange",n,{capture:!0}),(0,t.Q)("pagehide",n,{capture:!0})}))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},944887(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>c});var e=__webpack_require__(920938);var t=__webpack_require__(943924);var r=__webpack_require__(123532);var n=__webpack_require__(931263);var a=__webpack_require__(396102);var s=__webpack_require__(682631);var i=__webpack_require__(98154);var o=__webpack_require__(620772);var l=__webpack_require__(605816);function c(h={}){let f=h.client||(0,r.KU)();if(!(0,n.Ol)()||!f)return{};let d=(0,t.EU)();let p=(0,e.h)(d);if(p.getTraceData)return p.getTraceData(h);let g=h.scope||(0,r.o5)();let y=h.span||(0,s.Bk)();let b=y?(0,s.Qh)(y):u(g);let k=y?(0,i.k1)(y):(0,i.ao)(f,g);let v=(0,o.De)(k);if(!l.MI.test(b))return a.Yz.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let w={"sentry-trace":b,baggage:v};return h.propagateTraceparent&&(w.traceparent=y?(0,s.G_)(y):m(g)),w}function u(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,l.TC)(t,n,r)}function m(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,l.Iy)(t,n,r)}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},945582(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>l});var e=__webpack_require__(78463);var t=__webpack_require__(123532);var r=__webpack_require__(18898);var n=__webpack_require__(396102);var a=__webpack_require__(306981);var s=__webpack_require__(814601);var i=__webpack_require__(821396);var o=__webpack_require__(33040);function l(e){let t=0;let r;if(!(0,o.Jy)("largest-contentful-paint"))return;let n=(0,i.Pt)(({metric:e})=>{let n=e.entries[e.entries.length-1];if(!n)return;t=e.value,r=n},!0);(0,o.WF)(e,(e,a)=>{c(t,r,a,e),n()})}function c(i,l,c,u){s.T&&n.Yz.log(`Sending LCP span (${i})`);let m=(0,o.rv)(((0,a.k3)()||0)+(l?.startTime||0));let h=(0,t.o5)().getScopeData().transactionName;let f=l?(0,r.Hd)(l.element):"Largest contentful paint";let d={[e.JD]:"auto.http.browser.lcp",[e.uT]:"ui.webvital.lcp",[e.jG]:0,"sentry.pageload.span_id":c,"sentry.report_event":u};l&&(l.element&&(d["lcp.element"]=(0,r.Hd)(l.element)),l.id&&(d["lcp.id"]=l.id),l.url&&(d["lcp.url"]=l.url),l.loadTime!=null&&(d["lcp.loadTime"]=l.loadTime),l.renderTime!=null&&(d["lcp.renderTime"]=l.renderTime),l.size!=null&&(d["lcp.size"]=l.size));let p=(0,o.kD)({name:f,transaction:h,attributes:d,startTime:m});p&&(p.addEvent("lcp",{[e.Sn]:"millisecond",[e.xc]:i}),p.end(m))}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},948643(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>e});let e={trace:1,debug:5,info:9,warn:13,error:17,fatal:21}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_exports__,__webpack_require__}))()},948972(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>t});var e=__webpack_require__(835203);class t extends e.A{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},955187(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>a});var e=__webpack_require__(342672);var t=__webpack_require__(142827);var r=__webpack_require__(879771);var n=__webpack_require__(676358);let a=(0,t.kp)(n.Tl,(0,e.Ik)({type:(0,r.eu)(n.Z6.Text),value:(0,e.Yj)(),markdown:(0,e.lq)((0,e.zM)())}))}}).call(__webpack_require__._LM_("@metamask/snaps-sdk",{__webpack_require__,__webpack_exports__}))()},956354(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>o});var e=__webpack_require__(57324);var t=__webpack_require__(51450);var r=__webpack_require__(978802);var n=__webpack_require__(314408);var a=__webpack_require__(515400);var s=__webpack_require__(768571);let i=[1800,3e3];let o=(o,l={})=>{(0,s.I)(()=>{let s=(0,r.N)();let c=(0,n.X)("FCP");let u;let m=(0,a.l)("paint",e=>{for(let r of e)r.name==="first-contentful-paint"&&(m.disconnect(),r.startTime<s.firstHiddenTime&&(c.value=Math.max(r.startTime-(0,t.b)(),0),c.entries.push(r),u(!0)))});m&&(u=(0,e.R)(o,c,i,l.reportAllChanges))})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},956902(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>n});var e=__webpack_require__(513234);var t=__webpack_require__(169869);var r=__webpack_require__(74342);function n(a,s=(0,r.qd)("fetch")){let i=0;let o=0;async function l(e){let t=e.body.length;i+=t,o++;let n={body:e.body,method:"POST",referrerPolicy:"strict-origin",headers:a.headers,keepalive:i<=6e4&&o<15,...a.fetchOptions};try{let e=await s(a.url,n);return{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}}catch(e){throw(0,r.y7)("fetch"),e}finally{i-=t,o--}}return(0,e.o)(a,l,(0,t.C)(a.bufferSize||40))}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},958084(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>e});class e{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_exports__,__webpack_require__}))()},960767(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>a});var e=__webpack_require__(352158);var t=__webpack_require__(577102);var r=__webpack_require__(396102);var n=__webpack_require__(6929);let a=(0,t._C)(()=>{let t;return{name:"Dedupe",processEvent(n){if(n.type)return n;try{if(s(n,t))return e.T&&r.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=n}}});function s(e,t){return!t?!1:(0,i(e,t)||o(e,t))?!0:(0,!1)}function i(e,t){let r=e.message;let n=t.message;return!r&&!n||r&&!n||!r&&n||r!==n||!c(e,t)||!l(e,t)?!1:(0,!0)}function o(e,t){let r=u(t);let n=u(e);return!r||!n||r.type!==n.type||r.value!==n.value||!c(e,t)||!l(e,t)?!1:(0,!0)}function l(e,t){let r=(0,n.RV)(e);let a=(0,n.RV)(t);if(!r&&!a)return!0;if(r&&!a||!r&&a||(r=r,(a=a).length!==r.length))return!1;for(let e=0;e<a.length;e++){let t=a[e];let n=r[e];if(t.filename!==n.filename||t.lineno!==n.lineno||t.colno!==n.colno||t.function!==n.function)return!1}return!0}function c(e,t){let r=e.fingerprint;let n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;r=r,n=n;try{return r.join("")===n.join("")}catch{return!1}}function u(e){return e.exception?.values?.[0]}}}).call(__webpack_require__._LM_("@sentry/core",{__webpack_require__,__webpack_exports__}))()},964451(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>n,K:()=>a});var e=__webpack_require__(413279);var t=__webpack_require__.n(e);let r=__webpack_require__(796213).dI.UNKNOWN;let n=async()=>{try{let e=await t().management.getSelf();e.installType&&(r=e.installType)}catch(e){console.error("Error getting extension installType",e)}return r};let a=()=>{return r}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},972991(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>a});var e=__webpack_require__(18898);var t=__webpack_require__(396102);var r=__webpack_require__(484413);var n=__webpack_require__(994398);function a(){return s()?(r.T&&(0,t.pq)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):(0,!1)}function s(){if(n.jf.window===void 0)return!1;let t=n.jf;if(t.nw)return!1;let r=t["chrome"]||t["browser"];if(!r?.runtime?.id)return!1;let a=(0,e.$N)();return!(n.jf===n.jf.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(e=>a.startsWith(`${e}://`)))}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()},975431(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>r});var e=__webpack_require__(765698);var t=__webpack_require__(580436);let r=r=>{let n=t=>{(t.type==="pagehide"||e.j.document?.visibilityState==="hidden")&&r(t)};(0,t.d)("visibilitychange",n,{capture:!0,once:!0}),(0,t.d)("pagehide",n,{capture:!0,once:!0})}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},978802(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{N:()=>i});var e=__webpack_require__(765698);var t=__webpack_require__(51450);var r=__webpack_require__(580436);let n=-1;let a=new Set;let s=e=>{if(o(e)&&n>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(let e of a)e();!isFinite(n)&&(n=e.type==="visibilitychange"?e.timeStamp:0,(0,r.Q)("prerenderingchange",s,!0))}};let i=()=>{if(e.j.document&&n<0){let a=(0,t.b)();n=(!e.j.document.prerendering?globalThis.performance.getEntriesByType("visibility-state").filter(e=>e.name==="hidden"&&e.startTime>a)[0]?.startTime:undefined)??(e.j.document?.visibilityState==="hidden"&&!e.j.document?.prerendering?0:Infinity),(0,r.d)("visibilitychange",s,!0),(0,r.d)("pagehide",s,!0),(0,r.d)("prerenderingchange",s,!0)}return{get firstHiddenTime(){return n},onHidden(e){a.add(e)}}};function o(t){return t.type==="pagehide"||e.j.document?.visibilityState==="hidden"}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},984381(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{c9:()=>e.A,dw:()=>t.Ay});var e=__webpack_require__(835060);var t=__webpack_require__(600473);__webpack_require__(317588),__webpack_require__(991213),__webpack_require__(835203),__webpack_require__(774810),__webpack_require__(750628),__webpack_require__(948972),__webpack_require__(597054),__webpack_require__(603476)}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},991213(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>i});var e=__webpack_require__(835060);var t=__webpack_require__(603476);var r=__webpack_require__(912276);var n=__webpack_require__(750628);var a=__webpack_require__(232712);var s=__webpack_require__(512986);class i{static hasDST(r=t.A.defaultZone){let n=e.A.now().setZone(r).set({month:12});return!r.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return n.A.isValidZone(e)}static normalizeZone(e){return(0,a.q)(e,t.A.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||r.A.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||r.A.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||r.A.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:a=null,outputCalendar:s="gregory"}={}){return(a||r.A.create(t,n,s)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:a=null,outputCalendar:s="gregory"}={}){return(a||r.A.create(t,n,s)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:a=null}={}){return(a||r.A.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:a=null}={}){return(a||r.A.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return r.A.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return r.A.create(t,null,"gregory").eras(e)}static features(){return{relative:(0,s.h3)(),localeWeek:(0,s.jv)()}}}}}).call(__webpack_require__._LM_("luxon",{__webpack_require__,__webpack_exports__}))()},993671(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{Er:()=>a,Mn:()=>s});var e=__webpack_require__(545407);var t=__webpack_require__(632356);var r=__webpack_require__(306981);var n=__webpack_require__(765698);let a="__sentry_xhr_v3__";function s(t){(0,e.s5)("xhr",t),(0,e.AS)("xhr",i)}function i(){if(!n.j.XMLHttpRequest)return;let s=XMLHttpRequest.prototype;s.open=new Proxy(s.open,{apply(n,s,i){let l=new Error;let c=(0,r.zf)()*1e3;let u=(0,t.Kg)(i[0])?i[0].toUpperCase():undefined;let m=o(i[1]);if(!u||!m)return n.apply(s,i);s[a]={method:u,url:m,request_headers:{}},u==="POST"&&m.match(/sentry_key/)&&(s.__sentry_own_request__=!0);let h=()=>{let t=s[a];if(!t)return;if(s.readyState===4){try{t.status_code=s.status}catch{}let n={endTimestamp:(0,r.zf)()*1e3,startTimestamp:c,xhr:s,virtualError:l};(0,e.aj)("xhr",n)}};return"onreadystatechange"in s&&typeof s.onreadystatechange=="function"?s.onreadystatechange=new Proxy(s.onreadystatechange,{apply(e,t,r){return h(),e.apply(t,r)}}):s.addEventListener("readystatechange",h),s.setRequestHeader=new Proxy(s.setRequestHeader,{apply(e,r,n){let[s,i]=n;let o=r[a];return o&&(0,t.Kg)(s)&&(0,t.Kg)(i)&&(o.request_headers[s.toLowerCase()]=i),e.apply(r,n)}}),n.apply(s,i)}}),s.send=new Proxy(s.send,{apply(t,n,s){let i=n[a];if(!i)return t.apply(n,s);s[0]!==undefined&&(i.body=s[0]);let o={startTimestamp:(0,r.zf)()*1e3,xhr:n};return(0,e.aj)("xhr",o),t.apply(n,s)}})}function o(e){if((0,t.Kg)(e))return e;try{return e.toString()}catch{}return undefined}}}).call(__webpack_require__._LM_("@sentry/browser>@sentry-internal/browser-utils",{__webpack_require__,__webpack_exports__}))()},994398(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{AP:()=>m,LV:()=>u,jN:()=>l,jf:()=>i});var e=__webpack_require__(931263);var t=__webpack_require__(123532);var r=__webpack_require__(18898);var n=__webpack_require__(901889);var a=__webpack_require__(392316);var s=__webpack_require__(563023);let i=n.O;let o=0;function l(){return o>0}function c(){o++,setTimeout(()=>{o--})}function u(r,n={}){;if(!(typeof r=="function"))return r;try{let e=r.__sentry_wrapped__;if(e){if(typeof e=="function")return e;return r}if((0,s.sp)(r))return r}catch{return r}let i=function(...s){try{let e=s.map(e=>u(e,n));return r.apply(this,e)}catch(r){throw c(),(0,t.v4)(t=>{t.addEventProcessor(e=>{return n.mechanism&&((0,a.gO)(e,undefined,undefined),(0,a.M6)(e,n.mechanism)),e.extra={...e.extra,arguments:s},e}),(0,e.Cp)(r)}),r}};try{for(let e in r)Object.prototype.hasOwnProperty.call(r,e)&&(i[e]=r[e])}catch{}(0,s.pO)(i,r),(0,s.my)(r,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get(){return r.name}})}catch{}return i}function m(){let e=(0,r.$N)();let{referrer:t}=i.document||{};let{userAgent:n}=i.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}}}).call(__webpack_require__._LM_("@sentry/browser",{__webpack_require__,__webpack_exports__}))()}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.m=__webpack_modules__;var location=globalThis.location,setTimeout=globalThis.setTimeout,clearTimeout=globalThis.clearTimeout,document=globalThis.document,trustedTypes=globalThis.trustedTypes,self=globalThis.self;let LOCKDOWN_SHIMS=[];__webpack_require__.amdO={},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,r)=>(__webpack_require__.f[r](e,t),t),[])),__webpack_require__.u=e=>""+e+"."+({283:"caded4b68903685bbdc1",374:"9a5927e3b70061414fe2",937:"80a2bbc5b829bb35cc48",1923:"e0c85d801c3580e1f1c4",3107:"c9779a8037f5f325936d",3351:"0a50b1658c8f976b01f2",3366:"8ac9f9891aba774c4779",4337:"ad30320b39dad7eed4d6",4558:"c7adab6a7132b06d1037",4661:"a87e82982df078afb5d1",5150:"80b361333c70481b6ef4",5819:"7de4e93ebb691ca1a2e3",6063:"223c47e2c0c6dedc07ba",6951:"450e461b37d6ec2732a4",7193:"e56a39dacc48477a6a91",7203:"76822724c986ea741546",7416:"6c815e089eb433e2cc05",7446:"86e3bfc9fde5ed3e8d39",7829:"73f890fcf555b5f5e938",8452:"b36e5f885ad5b78c2c6e",8942:"55f50ac3401d6f9da0c8",9256:"b541ab50b48adf414b6d",9476:"36b655fbfabb534d9314",9504:"3b67824dd6b251885d54",9510:"d7a3269d3ac2d1b8bb9b",9543:"bde3d594ce2a614d20e1",9828:"db8da0e3d3ea07223635"})[e]+".js",__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),LOCKDOWN_SHIMS.push(e=>{Error.stackTraceLimit=50}),LOCKDOWN_SHIMS.push(e=>{globalThis.stateHooks??=Object.create(Object.prototype)}),Object.freeze(LOCKDOWN_SHIMS),__webpack_require__.p="",(()=>{__webpack_require__.b=self.location+"";var e={1818:1,5864:1};__webpack_require__.f.i=(t,r)=>{e[t]||importScripts(__webpack_require__.p+__webpack_require__.u(t))};var t=globalThis.webpackChunk=globalThis.webpackChunk||[],r=t.push.bind(t);t.push=t=>{var[n,a,s]=t;for(var i in a)__webpack_require__.o(a,i)&&(__webpack_require__.m[i]=a[i]);for(s&&s(__webpack_require__);n.length;)e[n.pop()]=1;r(t)}})(),(()=>{let e=Object.create(null);e.root="$root$",e.idmap=[["$root$",[100008,100055,100573,100862,101719,101743,102190,102320,102609,102801,102905,102985,103261,103321,103396,103651,104231,104429,104758,105049,105178,105241,105522,105557,105557,106105,106356,106828,107048,107230,107284,107381,107580,107804,107804,107874,107886,108116,108120,108120,108178,108439,108474,108611,108700,108933,110010,11021,110303,110407,110814,110927,111644,111985,112094,11233,11253,112604,112652,113337,113366,113737,113956,114168,114174,114199,114274,115726,115726,115782,115884,116048,116255,116255,116372,116739,116882,117253,117567,11775,117903,11795,118055,118670,118834,118997,119023,119023,11917,119278,119278,119457,119681,119939,120054,120433,120584,120584,12074,120776,120925,121216,121854,122175,122536,123231,123391,123455,123455,12353,12376,12376,123784,123799,124599,125393,125894,126142,126142,126177,126660,126980,127015,127388,127565,128256,128364,128567,130289,130428,130780,130920,131074,13126,131276,131276,131666,131669,13176,131811,132019,132516,13286,13296,133195,13325,133714,133714,134236,134727,135047,136088,136272,136303,136426,136447,136862,137184,137557,137622,137937,137983,1381,138409,138623,138865,138915,139,139284,139354,139768,139833,139842,139976,14029,140775,140778,141057,141573,141784,142014,142064,143195,143394,143472,144586,144944,144988,145034,145102,145502,145657,145865,14600,146188,146194,146740,146759,146802,146869,147099,147133,147278,147599,148099,148249,148496,148887,149040,149177,149235,149235,149235,149235,149861,150320,150350,151235,15151,151958,152256,152336,15250,15289,153059,153068,153294,153692,153753,15392,154260,154565,155180,155246,155309,155862,156292,156429,156540,156549,156852,157187,157234,157395,157479,157794,157944,157960,157962,158175,158221,158259,158265,158308,158332,158332,158374,158637,158637,158843,15890,159163,15923,159307,159315,159454,159472,159472,159667,160002,160087,160099,16026,160461,160873,161356,161413,161863,162393,162444,162560,163305,163305,163310,163636,163723,16415,16467,164684,164899,164983,16512,16530,165404,165788,165851,165927,165937,165972,166034,166133,166352,166879,166939,167290,167472,16750,167643,16809,168671,168798,168960,16930,169518,169727,16979,169816,169889,17e4,170024,170232,170237,170450,170455,170490,170524,17079,170904,170951,171090,171209,171229,17198,172013,172153,172745,173030,173249,173381,173611,174131,174199,174345,174520,174869,17513,175150,175436,175449,175917,17691,17691,177505,177540,177540,177540,178100,178121,17856,178665,178712,178755,179099,179113,179113,179408,179564,17967,179913,179946,180415,180415,180439,180589,181231,181443,181726,181768,181798,181824,182020,182321,182711,182721,182747,182824,18361,183876,184790,184899,185119,185127,185164,185331,185362,185433,185458,185517,185615,185734,185734,185878,186030,186050,186324,186339,186362,186495,186495,186644,186943,187090,187306,188175,188189,188221,188614,18921,189241,189249,189332,189332,189383,189596,189692,189726,190032,192238,192361,192449,192671,192732,19293,193035,193055,19374,193945,193969,194181,194351,194510,194735,194776,194895,195348,195439,195603,195993,195993,196201,196358,196425,19684,197067,197081,197356,197852,197875,198339,198444,198494,198588,199170,199238,199448,199715,200006,200266,201029,201242,201249,201631,201686,202064,202431,202431,202561,202565,202716,20317,20327,203531,204007,20429,204427,20450,204502,204582,205009,205009,205009,205009,205033,205136,205756,205818,206252,206252,206260,206436,206538,206611,20760,208459,208566,208750,208830,208889,209062,209234,209284,209417,209469,210147,210296,210462,210509,210615,210771,211157,212290,212517,212528,212814,212971,213650,213666,213751,213906,213948,214592,214597,214597,215353,216415,216939,217702,217865,217890,218033,218033,218033,218033,218033,218033,218725,21873,218924,219115,21920,219336,219500,220031,220180,220202,220236,220313,220372,220464,220562,220566,220693,220893,220893,221349,221475,221526,221527,221527,221628,221656,221677,222236,222236,222455,22249,22335,223450,224031,224052,224259,224451,224610,225087,225133,225761,225813,226183,226535,226535,226535,226535,22677,227323,227481,227598,227662,227858,227894,22793,227980,228153,228394,228677,228816,229326,229499,22958,229640,229871,229880,2299,230027,230562,230879,231008,231728,23176,232853,232989,23299,233651,233651,234456,234852,234950,234958,235029,235193,23560,235633,23565,235807,236123,236301,236538,236622,236669,236940,236954,237095,237106,237154,237219,237837,237997,238175,238304,23876,238886,239116,239231,240066,240314,240474,240497,240501,240541,240735,240854,24094,241797,241912,242100,242326,242376,24296,243160,243176,243403,243549,243549,243562,244174,244497,244894,244970,245806,24609,246260,247042,247392,247404,247404,247435,247722,247755,247786,247924,247938,24809,248313,248463,248866,249071,249257,249257,249824,250095,250286,25038,250594,250670,251008,25102,251087,251239,251474,25183,251845,251922,252446,252552,253042,253127,253410,253529,253573,253601,253628,253707,253814,254042,254113,254174,254239,254518,254518,25456,254612,254629,254629,254735,255018,255301,255544,255734,256080,256102,256638,257375,258380,25860,25860,258833,259016,259416,259623,259859,25990,26,260105,260133,260199,260263,260467,260677,260723,260723,261523,261645,262371,262541,262541,262667,263022,26319,263294,263458,263738,263831,263880,264013,264070,264070,264085,264198,264258,264377,264607,264727,265396,265724,266180,266203,266391,266452,266692,266892,266923,267069,267208,267208,26765,267782,268282,268916,269185,269243,269256,26956,269627,26973,270006,270204,270204,27057,270642,270692,270965,271077,271326,271525,271641,272,272189,27223,272323,272342,272491,272721,273136,273370,273404,273573,273978,274068,274584,274709,275024,275059,275148,276814,277121,277258,277315,277336,277933,278072,278332,278356,278438,278441,278457,27906,279170,279323,279623,280560,280821,280838,280889,281351,281753,281790,281995,282078,282078,282644,282834,282835,283003,283010,283042,283122,283756,283802,283875,283941,2841,2844,284999,284999,284999,284999,285053,28508,285133,285217,285412,285554,285749,285820,285921,286206,286418,286434,286524,286545,286683,286831,287075,287838,287867,287961,288157,288166,288827,289127,289561,289648,289750,2899,290185,290194,290254,290944,291319,291319,291323,291680,291705,291960,2920,292106,292485,292830,293460,294150,294151,294155,294366,29438,29472,294777,294777,294935,294938,295494,295627,29563,295857,296053,296260,29667,296780,297075,297177,297292,298079,298136,298191,298298,298789,298914,299150,299150,299150,299211,299401,299539,29963,29963,299871,300046,300047,300110,300425,300425,300798,300833,301622,302390,302684,302764,302876,302939,30294,303124,303374,303643,303727,303879,304002,304473,304473,304614,304961,306120,306214,30642,30642,306544,306585,306639,306650,306814,307136,307201,308203,308206,308734,308989,308989,309013,309026,309037,309114,309172,309198,309281,30943,30943,30943,30943,309724,309750,309950,310311,310728,310728,311441,311532,311734,311734,311734,311736,311770,31213,312332,31234,312584,312641,312680,312710,312787,31309,313400,313418,313418,31342,313484,313535,313847,3139,31402,314793,314876,315282,315313,316358,316555,317021,317095,317161,318443,318630,318768,318800,318808,319381,319424,319961,320059,320175,320337,32052,320821,321194,321505,321545,321602,322064,322170,322244,322600,323291,324039,324143,324357,324396,324457,324575,325135,326162,326325,32667,32667,32667,32667,327253,327563,328123,328436,328746,328861,329444,329825,329904,329904,330519,330965,331134,331276,331329,331351,331651,331722,331726,331747,331822,332028,332116,332133,332414,332427,332471,332567,332647,332764,332764,332825,333332,333530,333592,33397,334111,334205,334265,334823,334836,334959,334990,335115,335270,335270,335480,335517,335517,335683,336576,336680,336795,336866,337208,337214,337214,337735,337736,338028,338060,338184,338865,339169,33922,339566,339745,339829,34045,340687,340737,340976,34121,34125,341441,341595,341613,341616,341695,342598,342951,343415,344248,344531,344531,344617,34474,344815,344827,345297,345661,345791,345949,346375,346667,346706,348227,348228,348228,348264,348632,348826,348826,348826,348826,348826,348826,34899,349028,349450,349465,349723,350072,350241,350527,350527,35091,350924,351309,351441,351609,351793,351794,351806,351806,352136,352996,353183,353183,353660,354699,354779,355123,355816,355852,355852,355933,356743,357262,357470,357594,357801,358202,358254,358343,358383,358623,35986,360184,360402,361507,361705,361713,361719,361734,362254,362418,363086,363910,364289,364496,364679,364756,365161,365337,365337,365377,365521,365919,365919,366756,36690,367058,367149,367149,367611,367699,36779,36830,368519,368656,368872,369107,369436,369436,369436,369436,369920,370236,37083,371052,371379,372171,372222,372363,372908,37315,373177,373208,373472,373492,373748,373889,374064,37408,374195,374371,374470,374753,375185,37557,375837,376012,37615,376213,376213,376214,376577,376906,377109,377163,377204,377558,377652,377946,37803,378033,378247,378456,37855,378715,378831,378831,378831,37902,379049,379144,379277,379336,379738,380076,380127,380855,380855,380980,381122,382043,382045,382583,382622,383026,383046,383073,383145,383280,383280,383282,383687,383708,384043,38439,38493,385319,385672,386019,386344,386516,386522,386522,386645,386691,387131,387192,387517,387651,38780,388064,388205,388296,389097,389316,389345,389461,389610,389726,390340,390764,390764,391163,391327,391677,39226,392275,392667,392838,392838,392968,393177,39321,39357,393582,393740,39377,393822,393980,394502,394579,394749,394810,395448,395648,396132,396277,396602,396973,397171,39719,397361,397773,397937,398011,398612,398778,398785,399151,399431,399475,399707,400078,400566,401138,401379,401515,401624,401781,401864,401870,402143,402711,402735,402972,403225,403416,403485,403634,403803,403933,404186,404437,404475,404499,405970,406363,406515,406639,406861,407365,407711,407740,408359,408866,409325,409493,409629,409823,410006,410111,410716,41073,41073,410931,411290,411360,411419,411449,411504,41189,411926,411969,412079,412522,412750,413441,41348,413700,414016,414131,4142,414410,414437,414454,414483,414580,414744,414774,41488,415021,415221,415344,41601,416211,416595,416606,418092,418254,418635,419309,419362,41937,419654,420151,420322,420736,420765,421008,421093,422113,422132,42250,422607,422638,422909,423262,423533,423533,423650,423694,42395,424068,424073,424075,424584,424727,424727,424731,424898,425195,425324,425337,425348,425348,425462,425784,426021,426021,426171,426195,426613,426639,426898,426939,427495,42768,428050,428484,429120,429176,429184,42972,429752,429758,429780,429866,429891,430167,430480,430560,430679,430801,43089,430900,431218,431319,431423,431618,43186,431877,432121,432514,433285,433917,434024,434062,434062,434062,434062,434188,434268,434296,434424,434599,434663,434718,435e3,435210,435602,435766,43588,435956,435964,436199,436232,436649,436892,436954,437054,43710,437165,437173,437313,4374,437622,437628,437628,438174,438376,438552,438749,438797,438835,438839,439081,439113,439117,439122,439212,439281,439728,439748,439786,439984,440193,440369,440490,44056,440770,440776,440900,440900,440948,440952,440976,441,44135,441465,441670,441670,442058,442104,442722,442722,442938,443068,443634,443780,443820,443900,444375,444504,444655,444837,445272,445272,445274,445495,44585,446068,446084,446649,447213,447238,447521,447614,448138,448139,448350,4486,448849,449024,449367,449540,44970,449802,450060,450190,450951,451069,451083,451249,451432,451753,45181,451881,452489,452614,452797,45294,45294,453189,453450,453643,454050,454293,454704,454735,454744,454752,454867,455122,455333,455478,455918,456292,456401,456447,456568,456614,456641,4568,4568,456825,456827,45779,45779,457965,458156,458261,458416,458417,458446,45851,458606,45901,459766,459837,459979,460333,460383,46127,46128,461297,461386,461487,46164,461698,462893,463885,464183,464478,464795,465188,465243,465581,465594,466213,466808,46754,467648,467907,46847,468966,469104,469496,46985,469885,469964,470796,471326,471326,471620,471641,471957,472094,47255,472961,473025,473377,473385,473625,473907,474185,474637,474787,474787,475112,475165,475252,475274,475281,475308,476407,476637,476857,476857,477055,477082,477082,477232,477305,477479,477738,478106,478110,478367,478420,478976,47913,479248,479248,479376,479447,479720,479731,480021,480021,480031,480242,481108,481343,481382,481394,481654,482118,482133,482284,482442,482465,482747,482747,483388,483405,483596,483801,483885,483906,484157,484179,484302,484332,485516,485597,48569,486840,487115,487135,487208,487429,48750,488862,488951,489019,489060,489076,489096,489220,489242,490219,49025,490335,490335,491305,491698,491754,492949,4930,493059,493063,493070,493332,493404,493816,493999,494142,494641,494750,495560,495749,495958,496017,496324,496775,496920,497023,497305,497432,497825,497946,498387,498603,498615,498624,498784,499421,499685,499749,499937,499985,499985,500330,500602,500855,500855,501047,501056,501100,501115,50133,502459,503157,503344,503741,504423,504507,504580,504580,504622,50468,504732,505071,505071,505180,50550,506126,506484,506484,506620,507003,507096,507206,507307,507321,507335,507408,507475,507604,507837,508112,508874,509289,509486,509589,510172,510353,510888,510995,511357,511475,511619,511716,511848,512115,512364,512620,512664,512755,513143,514509,514715,514753,514800,514919,514981,515405,515672,515923,516020,516463,516463,516776,517186,517299,517452,517846,517899,518176,518307,518332,518684,518706,518805,518833,518992,519001,519128,519136,519136,519387,51953,519632,51966,519740,520124,520143,520169,520201,520425,520989,521112,521128,521276,521607,521640,521981,52212,522317,522442,523162,523311,523315,523391,523414,523891,524512,524670,52519,525721,52599,527011,52705,527122,528804,528889,529,529023,52918,5292,529244,529247,529807,529840,529944,529979,530175,530690,530932,530980,531004,531325,531381,531728,531888,532115,532203,532690,532747,532912,533132,533346,533363,5338,534115,5343,534863,535177,535411,536006,536084,536112,536188,536266,536327,536529,536694,536827,537127,537238,537324,537324,537610,537931,538093,538710,538710,538874,538874,539322,539645,539870,539906,540603,540866,541417,541909,541909,542159,542386,542429,5427,542780,543007,54309,54318,543246,543366,543427,543960,544187,544323,545149,545423,545654,545791,546219,546243,546690,546938,54724,547928,547950,548153,548764,549169,549991,550141,55035,550624,551044,552122,552342,55236,55258,55273,553038,553346,553607,553827,553827,554218,554376,554435,554606,554659,555426,556097,556109,556354,55638,556888,557213,557213,55768,558072,558203,558726,55902,559133,559167,559256,559384,559873,560304,560670,561012,561092,561864,562421,562719,562833,563451,563452,563632,563712,564039,564130,564260,564570,564993,565478,565654,565795,565861,56675,566805,567064,567107,567230,567637,5685,568515,568615,568893,568936,569337,569805,570029,570330,570601,570668,570914,571745,572056,572213,572330,572356,57260,572640,573139,573630,573713,573873,574193,574211,574356,574618,574618,575214,575217,575353,575483,575510,57562,57562,575738,575774,575790,57593,576384,576988,577205,577237,577265,577279,577300,577560,577576,577683,578423,578423,578926,578944,579303,579847,580253,580445,580585,580610,580832,581207,581716,581831,581843,582304,582495,583064,583078,583078,584243,584358,584444,584614,585134,585152,585152,585178,585258,585453,585658,585670,58568,585844,585876,585928,586143,586297,586297,586297,586297,58631,586577,586614,586677,587,587279,587279,587295,588298,58836,588498,588575,588914,588917,589022,58925,589562,589569,589628,589642,590151,590343,590446,591049,591058,591197,591301,591425,592181,592492,592492,592671,59293,592990,593130,593226,593258,593457,59391,594108,594450,594756,594768,595468,595502,596271,596364,596396,596414,596472,596790,596829,596829,597106,597436,598667,599e3,599224,59939,599425,599645,599898,599948,599962,600275,600369,60046,600537,600540,600831,601392,601504,60192,602183,602532,602668,603343,603534,603555,603735,603742,604239,604331,605868,606122,606308,606582,606760,606807,606965,607335,607777,607967,608182,608182,608416,608416,608639,608670,608670,60872,608972,609654,609670,609706,609949,609989,610332,610332,610378,610378,610597,610696,610923,611012,611205,611727,611770,6121,612650,61283,613518,613987,614323,614596,614781,614821,614852,614855,614855,614988,615087,615924,616212,616245,61625,61625,616367,616713,617209,617209,617318,617651,617936,618052,618277,618693,618830,618932,619232,619454,619469,619470,619486,619602,619745,619926,619928,620329,62037,621125,621358,621902,621956,622713,622784,622922,623654,624034,624250,624404,624720,625526,625564,625862,626041,626438,626481,627009,627009,627339,627682,6280,628367,628478,628530,629265,629273,629456,629650,629909,630496,630496,630841,631193,631275,631442,63260,632690,633090,63342,633683,633690,633785,634120,634419,635299,635349,635577,635607,635800,635876,635876,636447,63681,63682,636925,636925,636925,636925,636934,637241,637312,637330,63739,637778,638063,638063,638228,638670,638846,638927,638932,638940,638953,639036,639049,639498,639698,639700,639898,64006,640421,640469,640469,640469,640469,640655,640674,640758,641315,641316,641334,641540,641663,641762,64235,642350,642540,643246,644757,644854,645086,645444,646083,646178,646241,646289,646552,646826,647168,647731,647775,648210,648273,64858,648954,648954,649071,649564,649614,649853,649943,650,65068,650710,650710,650836,651095,651571,651625,652119,652167,652318,652499,653098,653107,653346,654046,654270,654352,654639,655170,655204,655204,655335,655850,656054,656244,656252,656317,656615,656685,656773,656860,657218,657218,65725,657700,657754,657927,658116,658152,658684,658718,658805,658924,65896,659173,659195,659212,659212,659579,659579,659677,659677,660063,660770,660955,661287,661287,661377,661692,661796,661867,662067,662090,662509,662664,66305,663870,66406,664254,665028,665309,665541,666011,666499,666499,666766,666771,66681,667202,667436,667551,66760,667618,667629,667855,66822,668673,668751,668795,668852,6690,669165,669217,669378,669909,670342,670402,67093,671075,671656,671839,672487,672632,672673,672911,673265,673913,674108,674156,674342,674382,674551,674621,674924,675274,675616,675620,675656,67606,676333,676432,676525,67661,676864,677203,677245,677465,677890,678558,678606,678863,678999,67906,679140,679228,67925,679545,67957,680201,680245,680440,680927,68102,681186,681292,682398,682428,682504,682566,682685,682705,682984,682988,682988,683,68306,683061,683061,683676,683683,683683,683996,684289,684289,684748,684835,684936,685641,685780,685986,686834,686898,686898,686898,686898,687165,687507,6877,68772,68806,689786,689851,690109,690134,690223,690294,690554,691232,691241,691897,692002,692322,692322,692499,693281,694,694027,694068,695094,695598,696054,696128,696278,696570,696778,696914,697136,697141,697179,697363,69738,697397,697880,698097,698208,698694,699201,699452,69953,700046,700124,700159,700485,700823,700850,700898,700900,70094,701611,701814,702176,702176,70229,702294,702768,702802,703279,703303,703346,703613,703796,704169,70435,704588,704901,705098,705106,705120,705195,705406,705612,706439,70686,706890,706890,706902,706928,706990,707330,707380,707455,707797,708468,709093,70935,70935,709562,709723,709971,710100,710124,7103,710308,710335,710362,711023,711024,711055,711139,711457,711496,711540,711615,711994,712177,712383,712383,71239,712587,712894,713117,713376,71353,713633,713700,713856,71427,714725,714879,71507,715276,715303,715390,715918,716004,716122,716134,716214,716229,716297,716304,716650,717058,71707,717271,71801,718246,71826,718807,719008,719069,72e3,720063,720063,720159,720262,720578,720578,720698,721127,721127,721755,72187,722198,72297,722999,723061,724180,724194,724270,724593,724803,724935,725018,725103,725115,725115,725131,725411,725528,725613,725629,725736,725873,726126,72617,72617,726249,726607,726999,727008,727300,727300,727975,728211,72828,728284,728497,728620,728857,728966,729021,729866,730021,730027,730155,730280,73050,730597,73095,730968,730994,731047,731136,731174,731409,731728,732006,732186,732462,732623,733072,73338,733679,733686,733814,734041,734221,734811,734845,734910,735191,735311,735434,735641,735641,73579,735929,736054,736170,736172,736552,736711,736897,737117,737185,737513,737739,738,738012,738215,738315,738663,738749,738903,739164,739195,739472,739610,739646,740242,740366,740674,740764,740953,740953,740953,740953,740966,741070,741212,741347,742303,742830,743207,743241,743771,743890,744093,744191,744239,744690,744850,745e3,745095,745110,745332,745565,745671,745766,746461,746769,746828,74759,747598,747598,747707,747748,747835,748049,748222,748717,748792,748811,748994,749035,749153,749201,749279,749728,749965,7500,750001,751430,751490,751557,751741,752271,752351,752870,7533,75359,753642,753808,753908,75433,754486,754720,755047,755057,755059,75514,755935,756028,756036,756098,756147,756497,756509,757011,757305,757330,757559,757867,758007,758285,758363,758438,758918,759027,759595,759791,760191,760191,760264,760994,761649,76184,761906,762115,762418,762430,762526,762550,762661,762780,763052,763073,76318,763220,763548,763639,763797,763985,764130,764130,764522,764540,764670,764960,765124,765844,765919,766204,766322,766372,766597,766707,767248,767807,767902,768110,768132,768344,768427,768427,768466,768968,769196,769544,769604,769682,770100,770399,770418,770845,771042,771085,771201,771669,771800,772294,772364,772409,772638,772961,773318,773417,773864,774153,774243,774281,774346,775072,77526,775444,775481,775775,776141,776320,776500,776500,776598,776844,77691,777006,777006,777051,777544,777544,777544,777732,778063,778093,778368,779370,779719,779865,780094,780305,78052,780555,780572,780578,780671,780829,780991,781342,781448,781687,782113,782189,782219,782219,782343,782399,782895,783058,783096,783169,783431,783566,783714,783714,784108,784289,784289,784598,784671,784686,785015,785449,785591,785859,785935,786748,786881,78714,787544,787561,787631,787631,78766,788289,788614,788787,788854,788932,789006,789151,790453,790803,790804,790882,791774,791791,791796,792172,79222,792570,792757,793017,793174,793574,793735,793923,794163,794360,79443,794646,794857,794921,795223,795792,796178,796213,796213,796213,796267,797056,797095,797095,797300,797438,797948,798328,798384,798660,798806,798975,799580,800014,800609,800877,801121,801189,801214,801251,80127,80157,801689,802184,8024,802870,80339,803402,804154,804647,804647,804647,804647,804647,804647,805102,805326,805527,805626,80583,806084,806201,806201,806625,806806,806852,806911,807605,807720,807895,808069,808069,808075,808227,808681,809120,80931,809581,809654,809726,809745,809873,810263,810437,810462,810649,810814,810839,810964,811077,811437,811491,81170,811835,811940,812045,812312,812553,812582,812994,813210,813221,813278,813321,813321,813444,813498,813586,813897,813908,814086,814378,814393,815201,81523,815268,815583,815614,815629,815765,815841,815953,81598,816245,816402,816402,816402,816402,816467,816519,816752,816752,817008,817111,817856,818658,818798,818881,818906,81892,819073,819157,819157,81943,820311,821328,821436,821781,821858,822376,822376,82353,823673,824017,824240,824759,824781,82488,825057,825066,825133,825361,825461,825617,825745,826042,826596,826686,827013,827368,827370,827460,828079,828126,828305,828787,829140,829751,83014,830377,83046,830636,83075,831125,831329,83149,831553,831703,831878,832065,832430,832514,832670,832678,833628,833671,833878,834018,83432,834923,835391,83555,835623,835729,835729,835738,836293,836401,836441,836658,836658,836665,83679,837112,837287,8375,837844,837871,837926,838048,838269,838517,839248,839272,839622,839812,840374,840446,840483,840658,841103,841612,841646,841759,841929,841972,841993,842004,84274,842856,843570,843579,844418,845382,845551,8456,845995,846442,84701,847258,847486,847824,84789,847993,84849,84852,848587,848843,84886,848894,849177,849443,84955,850089,850891,851365,851389,851711,851887,851987,852480,852991,85317,853249,853619,854029,854110,854353,854598,854759,854912,855451,855635,855637,855769,856034,856928,857172,857243,857665,858032,858067,858270,858323,858323,858493,858572,858572,858753,858753,858863,858928,859075,859504,85965,859689,859830,859870,860007,860339,860603,86098,861029,86111,862262,863294,863373,863459,863566,863635,863635,86428,864468,865070,865137,865179,865210,865797,865985,866625,86664,866708,866766,866766,866814,866900,866952,866991,868415,86907,869348,86965,869782,870087,870445,870543,870721,870721,871251,871291,87191,87203,872200,872582,873084,87314,8737,873702,874037,874088,874794,87488,875258,875408,875450,875532,876488,877073,877223,877258,878066,878202,878469,878875,878946,879271,879271,879429,879850,879932,879958,879958,879974,87998,880009,880416,88060,880687,880724,88087,880909,880909,880933,881061,881245,881882,882016,882298,882409,88247,882584,882584,88320,883540,883682,883775,883931,885175,885276,885662,885711,885830,886018,886067,886125,886363,886376,886418,886418,886418,886705,887267,887281,887590,887717,887773,888120,88834,888780,888867,889767,889814,890051,890154,890194,890393,891402,891545,892014,892267,892776,893081,893638,894123,894193,894521,894521,894521,894521,894521,894521,895055,895109,895175,89540,895462,896090,896123,896289,896290,896336,896686,896832,896832,89724,897360,898837,899184,899210,899414,899497,899869,90004,900311,900463,901497,901506,901773,90260,902635,902820,90317,9038,904247,904249,904346,904438,904445,904497,904573,904678,90507,905226,905369,905564,905687,906057,906153,906283,906309,906588,906980,907109,907168,907606,907781,907824,907830,908226,908226,908328,908355,908881,909122,909300,909344,909381,909478,909521,909521,909581,909582,909764,909904,91030,91050,910606,910689,910894,910919,910935,911134,911361,911361,911455,911485,911552,911873,912047,912200,912231,912445,91348,913620,913702,913702,913887,913897,914022,914125,914475,914515,914703,914826,914827,914878,915021,915288,915742,915785,915925,916174,916272,916398,916595,916824,916926,917167,917214,918227,918449,918540,918691,918935,919074,91909,919388,920038,920117,920122,920342,920427,920499,920540,920623,920695,921239,921754,921787,921828,921836,922047,922749,922945,92326,923286,923381,923484,923682,923798,923956,924056,924066,924327,924736,92491,924968,92513,92531,926266,92627,926412,926745,926791,926912,927038,927166,927166,927534,927737,92786,928062,92807,928113,928710,929354,929366,929371,92984,92988,930171,930171,930291,930574,930626,931025,931043,931507,932209,932586,932791,933887,934379,934381,934460,934644,934812,934837,934899,935276,93534,935603,935614,935892,936007,936112,936276,936618,936854,936912,937380,937403,937510,93769,937746,938191,938603,938685,938732,938742,939036,939195,939284,939284,93990,94061,94094,940962,941311,941503,941543,941581,941731,941920,942236,942566,942566,942895,943202,943398,943804,943819,943908,943912,943971,944220,944661,944674,944833,944976,945519,946235,946251,94630,946502,946554,946802,946899,94722,947266,947276,947290,947374,947446,948362,948569,948835,949320,949928,950230,950544,950659,950887,950913,9510,9510,9510,9510,9510,9510,951238,951407,951571,95180,951903,953118,953215,95350,953626,954280,954349,954376,954376,954574,954614,954726,954870,955546,955706,955944,956166,956452,956517,956853,956861,957355,957449,957604,957854,957948,958345,958709,958871,958927,959519,959588,959588,959614,960085,960085,960117,960178,960315,960540,961276,962331,962857,962957,962986,963266,963407,963493,964451,964451,964779,96537,965519,965639,965657,966383,966631,967142,96735,967369,968055,968255,968565,968565,968829,9690,969124,969402,969402,969617,969716,969716,969866,969898,970276,970945,970962,971301,972160,972165,972238,972380,972443,972866,972896,972962,973629,973802,974209,974280,97441,974415,974535,974672,975269,975434,975762,975908,976907,97695,97719,977222,97740,97813,97813,978512,978512,978595,978969,979493,979536,97966,980062,980124,980234,980276,980385,9805,980785,980865,981119,981344,981834,981909,982287,982587,982622,982629,982773,983375,983556,983736,983916,983916,984409,984423,984580,985728,986848,986905,986998,98703,987462,987701,988110,988600,988847,989052,989052,989288,98934,989433,989530,989885,990076,990087,990105,99027,99076,990790,991074,991697,992377,992396,992396,992565,992582,993051,994682,994864,99490,994970,995451,995477,9957,995850,996294,99643,996525,996526,996697,996788,997100,997403,997468,997468,997595,997783,998125,998797,998879,999156,999394,99981,999920]],["@babel/runtime",[124255,127119,127119,138312,138312,266103,266103,34276,34276,369953,369953,387539,387539,406527,406527,440484,440484,449859,449859,451055,45735,45735,457812,457812,463565,463565,474658,474658,498421,498421,500069,502349,502349,560458,562954,612823,612823,6490,6490,688947,688947,709371,709371,71586,71586,757709,757709,779786,779786,783093,783093,800928,800928,810356,810356,824076,824076,841024,841024,854717,854717,871820,877159,877159,896478,896478,935191,935191,979245,98105,98105,999227,999227]],["@blockaid/ppom_release",[635675,89962]],["@emotion/react",[230908,954541]],["@emotion/react>@emotion/cache",[145319]],["@emotion/react>@emotion/cache>@emotion/memoize",[880657]],["@emotion/react>@emotion/cache>@emotion/sheet",[849159]],["@emotion/react>@emotion/cache>stylis",[176154,272480,292907,709823,857267,985114]],["@emotion/react>@emotion/serialize",[612093]],["@emotion/react>@emotion/serialize>@emotion/hash",[866385]],["@emotion/react>@emotion/serialize>@emotion/unitless",[591217]],["@emotion/react>@emotion/use-insertion-effect-with-fallbacks",[128999]],["@emotion/react>@emotion/utils",[839145]],["@emotion/styled",[266708,551187]],["@emotion/styled>@emotion/is-prop-valid",[262835]],["@ensdomains/content-hash",[509411,575298,761166]],["@ensdomains/content-hash>cids",[332906,342757]],["@ensdomains/content-hash>cids>multibase",[234746,436281,835652,856745,930699]],["@ensdomains/content-hash>cids>multibase>@multiformats/base-x",[196780]],["@ensdomains/content-hash>cids>multihashes",[341718,417971]],["@ensdomains/content-hash>cids>multihashes>uint8arrays",[395294,509085,959154]],["@ensdomains/content-hash>cids>multihashes>varint",[286240,662984,846980,886826]],["@ensdomains/content-hash>cids>uint8arrays",[186967,589996,868149]],["@ensdomains/content-hash>js-base64",[192943]],["@ensdomains/content-hash>multicodec",[291901,624245,675970,982917]],["@ensdomains/content-hash>multicodec>uint8arrays",[115686,218737,263454,297907,406611,985066]],["@ensdomains/content-hash>multihashes",[588856,632145]],["@ensdomains/content-hash>multihashes>buffer",[972417]],["@ensdomains/content-hash>multihashes>multibase",[199431,217597,276626,555403,966920]],["@ensdomains/content-hash>multihashes>multibase>base-x",[874484,874484]],["@ensdomains/content-hash>multihashes>varint",[264713,371057,752263,987067]],["@ensdomains/content-hash>multihashes>web-encoding",[580731]],["@ethereumjs/tx",[100452,100452,126896,126896,127314,127314,127469,127469,155e3,155e3,215366,215366,242676,242676,279528,279528,282703,282703,325733,325733,407539,407539,443901,443901,571637,571637,815357,815357,830723,830723,986319,986319,988296,988296]],["@ethereumjs/tx>@ethereumjs/common",[138049,138049,207769,207769,428097,428097,440598,440598,617778,617778,77547,77547,921628,921628,932733,932733]],["@ethereumjs/tx>@ethereumjs/rlp",[626536,626536,971047]],["@ethereumjs/tx>@ethereumjs/util",[160942,160942,18546,197133,197133,199456,199456,211645,211645,262336,262336,29433,296648,310188,336422,341872,349456,349456,384377,388655,388655,416527,437881,448578,448578,478459,47909,47909,543178,580203,580203,586720,596187,596187,632496,657076,657076,671762,741736,741736,783798,783798,83895,83895,855224,855224,874349,881019,881019,888838,890415,892667,898069,899217,906238,932477,932477,99683,99683]],["@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography",[110377,219828,301302,301302,401868,401868,452197,535309,567417,567417,732]],["@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/curves",[107004,107004,108099,224981,266786,278956,278956,495448,617072,617072,622643,671003,671003,678298,678298,710609,710609,762871,796262]],["@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes",[10780,224683,224683,285861,285861,321705,321705,359750,445115,447856,476244,476244,481449,481449,533968,533968,543657,543657,610068,813303,813303,915253,929920,963426]],["@ethereumjs/tx>ethereum-cryptography",[271465,271465,81446,81446]],["@ethereumjs/tx>ethereum-cryptography>@noble/hashes",[130407,130407,224661,224661,362180,362180,532953,532953]],["@ethersproject/abi",[207619,207619,2720,2720,290117,290117,380106,380106,393718,393718,402741,402741,403119,403119,408505,408505,450337,450337,485050,485050,552281,552281,552364,552364,611782,611782,651911,651911,715904,715904,871050,871050]],["@ethersproject/bignumber",[323489,323489,367302,367302,631229,631229,726731,726731]],["@ethersproject/bytes",[524443,524443,993558,993558]],["@ethersproject/contracts",[264926,264926,295523,295523]],["@ethersproject/hdnode",[42014,42014,563965,563965]],["@ethersproject/providers",[144240,144240,203284,203284,235086,235086,272585,272585,286156,286156,375693,375693,380392,380392,396515,396515,416895,416895,504409,504409,675682,675682,683411,683411,702541,702541,728024,728024,732500,732500,806355,806355,819790,819790,930847,930847,935424,935424,981328,981328]],["@ethersproject/providers>bech32",[579841,579841]],["@ethersproject/transactions",[482925,482925,894e3,894e3]],["@fortawesome/fontawesome-free",[1527,1527,1527,1527,411525,411525,411525,411525,70035,70035,70035,70035]],["@google/genai>protobufjs",[119463,119463,151942,151942,179394,179394,19298,19298,218825,218825,233393,233393,265120,265120,275867,275867,277049,277049,28e3,28e3,281537,281537,299467,299467,31787,31787,350553,350553,35271,35271,411124,411124,481277,481277,488703,488703,540186,540186,54984,54984,550602,550602,649399,649399,677694,677694,762632,762632,792509,792509,798572,798572,817362,817362,829594,829594,864122,864122,929078,929078,960613,960613,961051,961051]],["@google/genai>protobufjs>@protobufjs/aspromise",[35757,35757]],["@google/genai>protobufjs>@protobufjs/base64",[380567,380567]],["@google/genai>protobufjs>@protobufjs/codegen",[80225,80225]],["@google/genai>protobufjs>@protobufjs/eventemitter",[846230,846230]],["@google/genai>protobufjs>@protobufjs/fetch",[890554,890554,895260,895260]],["@google/genai>protobufjs>@protobufjs/float",[179442,179442]],["@google/genai>protobufjs>@protobufjs/path",[437271,437271]],["@google/genai>protobufjs>@protobufjs/pool",[476366,476366]],["@google/genai>protobufjs>@protobufjs/utf8",[843255,843255]],["@google/genai>protobufjs>long",[35849,35849]],["@hello-pangea/dnd",[300039]],["@hello-pangea/dnd>css-box-model",[200635]],["@hello-pangea/dnd>css-box-model>tiny-invariant",[387325]],["@hello-pangea/dnd>memoize-one",[62147]],["@hello-pangea/dnd>raf-schd",[930197]],["@hello-pangea/dnd>use-memo-one",[214897]],["@keystonehq/bc-ur-registry-eth",[2593,544829]],["@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",[124e3,191052,231626,249615,265655,2977,459024,467722,527355,534855,564315,573995,57636,646539,67798,682001,747747,773884,794735,804119,867283,883483,927029,939286,976399,987339]],["@lavamoat/lavadome-react",[494708]],["@lavamoat/webpack>json-stable-stringify>isarray",[664074,664074]],["@lavamoat/webpack>json-stable-stringify>object-keys",[266165,266165,69051,69051,910229,910229]],["@ledgerhq/errors",[30649,30649,315100,315100]],["@ledgerhq/hw-app-eth",[104027,104586,113800,268879,30606,383317,463313,536227,551257,568746,63684,687439,705565,906779]],["@ledgerhq/hw-app-eth>@ledgerhq/cryptoassets-evm-signatures",[116736,116736,124859,124859,163015,163015,169781,169781,199597,199597,210703,210703,230970,236883,236883,248848,248848,250685,250685,255154,255154,258052,258052,274109,274109,322847,322847,334270,334270,347020,347020,366551,366551,369002,37908,37908,384717,384717,404282,404282,416093,416093,419682,419682,443852,443852,462622,462622,477649,477649,480075,480075,518851,518851,519988,519988,524815,524815,527390,527390,545688,545688,579237,579237,590888,590888,591272,591272,594750,594750,605933,605933,610625,610625,616814,616814,626884,626884,668059,668059,672311,672311,67928,67928,696055,696055,730571,730571,743225,743225,745686,745686,762051,762051,765119,78373,78373,787985,787985,819889,819889,835776,835776,848707,848707,867849,867849,89350,89350,895421,895421,902902,902902,908299,908299,9231,9231,938612,938612,950401,950401,95776,95776,983883,983883]],["@ledgerhq/hw-app-eth>@ledgerhq/domain-service",[224675,565967,862553]],["@ledgerhq/hw-app-eth>@ledgerhq/evm-tools",[454077,819304,977702]],["@ledgerhq/hw-app-eth>@ledgerhq/evm-tools>@ledgerhq/live-env",[265370,373941]],["@ledgerhq/hw-app-eth>@ledgerhq/logs",[878528,878528]],["@ledgerhq/hw-app-eth>bignumber.js",[784124]],["@ledgerhq/hw-transport",[912015]],["@ledgerhq/hw-transport-webhid",[53406]],["@ledgerhq/hw-transport-webhid>@ledgerhq/devices",[42324,695006]],["@ledgerhq/hw-transport-webhid>@ledgerhq/devices>semver",[122508,124306,153063,156827,196336,206080,219259,238402,248308,254004,273435,281017,2911,292487,308262,327803,35765,375822,421895,48037,486088,50122,5166,599021,632189,66184,723811,734082,744484,756398,762961,81032,829019,832090,852453,853846,867350,898423,898721,901711,909957,93192,960393,989346,997168]],["@ledgerhq/hw-transport-webhid>@ledgerhq/hw-transport",[127439]],["@metamask/7715-permission-types",[337378]],["@metamask/abi-utils",[104527,104527,252332,252332,29607,29607,311312,311312,367419,367419,479238,479238,502414,502414,548249,548249,553588,553588,601499,601499,627674,627674,743732,743732,756330,756330,785400,785400,833750,833750,838797,838797,961858,961858,968912,968912,974538,974538,986563,986563]],["@metamask/account-api",[360726,360726,462357,462357,531819,531819,674288,674288,689812,689812,716904,716904,809904,809904]],["@metamask/account-api>@metamask/keyring-utils",[526334,526334]],["@metamask/account-tree-controller",[212369,212369,270718,270718,294987,294987,321902,321902,335349,335349,370246,370246,384983,384983,402561,402561,41997,41997,422719,422719,424752,424752,436829,436829,460699,460699,517113,517113,550321,550321,564758,564758,564855,564855,599500,599500,662092,662092,687542,687542,788527,788527,81909,81909,827362,827362,93043,93043,992452,992452]],["@metamask/account-watcher",[498850]],["@metamask/accounts-controller",[53178,53178,569831,836207]],["@metamask/accounts-controller>ethereum-cryptography",[586390,586390,671508,671508]],["@metamask/accounts-controller>ethereum-cryptography>@noble/hashes",[407105,407105,655163,655163,700931,700931,872574,872574]],["@metamask/address-book-controller",[108072]],["@metamask/analytics-controller",[170639,383081,440901,996874]],["@metamask/announcement-controller",[820437]],["@metamask/approval-controller",[394813,394813,65997,65997]],["@metamask/assets-controller",[143147,143147,147759,147759,159200,159200,163545,163545,169086,169086,241943,241943,253139,253139,26522,26522,266468,266468,267269,267269,286306,286306,347263,347263,370534,370534,37479,37479,391638,391638,405369,405369,44327,44327,496414,496414,500016,500016,528304,528304,532612,532612,535325,535325,583584,583584,603342,603342,631549,631549,659933,659933,685951,685951,745908,745908,747837,747837,754049,754049,78089,78089,810628,810628,811752,811752,820927,820927,860645,860645,87715,87715,889133,889133,91937,91937,979117,983918,983918]],["@metamask/assets-controller>@metamask/assets-controllers",[278674,278674,768239,768239]],["@metamask/assets-controller>bignumber.js",[694204,694204]],["@metamask/assets-controller>p-limit",[336741,336741]],["@metamask/assets-controller>p-limit>yocto-queue",[632773,632773]],["@metamask/assets-controllers",[100852,110276,158252,167851,171001,172686,173840,177676,227866,228231,237906,238761,244955,252816,252816,27351,288409,343126,361938,361938,361938,361938,361938,374902,390625,405850,417222,439753,469817,469817,482139,496218,496218,508644,577053,626171,629210,642238,650464,650726,700704,702071,713383,717283,72342,80006,80576,80576,855536,886040,99926]],["@metamask/assets-controllers>@metamask/abi-utils",[104009,226133,266222,308585,338588,392577,403883,482771,489936,514103,520679,609803,646930,72774,733541,788957,793925,937732,957092,990511]],["@metamask/assets-controllers>@metamask/abi-utils>@metamask/utils",[109103,180082,222167,264180,293255,388024,426254,442491,511868,576264,610036,748292,772184,814636,820218,850268,851018,867089,911136,929290,958918]],["@metamask/assets-controllers>@metamask/keyring-api",[192631,521351,575403,575403,674646,674646,987672,987672]],["@metamask/assets-controllers>@metamask/keyring-api>@metamask/keyring-utils",[109921,109921,862276,862276]],["@metamask/assets-controllers>multiformats",[148156,255843,255843,293394,323487,333102,371330,371330,374668,385376,427475,441965,448335,526898,526898,588626,62677,62677,64844,64844,649495,649495,67680,748102,748102,814198,814198,952101,963547,963547,964097,97286,992647]],["@metamask/assets-controllers>single-call-balance-checker-abi",[800904,800904]],["@metamask/authenticated-user-storage",[280078,366552,366552,385890]],["@metamask/base-controller",[100209,100209,100209,35747,552558,552558,552558,777386]],["@metamask/bitcoin-wallet-snap",[709397]],["@metamask/bitcoin-wallet-standard",[243229,337874,467743,500285,63130,747555,776179,789365,880287,884948,921950,985447]],["@metamask/bitcoin-wallet-standard>@exodus/bitcoin-wallet-standard>@exodus/bitcoin-wallet-standard-core>@exodus/bitcoin-wallet-standard-chains",[467062]],["@metamask/bitcoin-wallet-standard>@exodus/bitcoin-wallet-standard>@exodus/bitcoin-wallet-standard-core>@exodus/bitcoin-wallet-standard-features",[157519]],["@metamask/bitcoin-wallet-standard>@wallet-standard/wallet",[491867,856492]],["@metamask/bridge-controller",[108398,16340,175070,175070,182317,182317,182317,182332,182332,182348,182348,213142,213142,229718,229718,269405,269405,334204,338084,360862,383442,383442,404283,404283,436243,436243,458622,475583,527704,527704,550293,550293,563197,563197,570610,572586,572839,599076,599076,619489,619489,66216,66216,664697,688326,688326,709096,709096,723591,732082,732082,748512,789302,878370,891024,908029,908029,925343,989387]],["@metamask/bridge-controller>bignumber.js",[990088]],["@metamask/bridge-status-controller",[106065,119059,121155,131997,181294,274039,283450,303911,336779,39609,492986,515578,521066,533891,556520,607105,635769,637401,676522,679218,689270,707009,745440,816670,856770,864924,865350,89579,90083,910758,917434,917662,922645,957050,962123,996435,996688]],["@metamask/bridge-status-controller>bignumber.js",[752819]],["@metamask/browser-passworder",[5875]],["@metamask/chain-agnostic-permission",[145096,145096,267603,296639,296639,381375,381375,431324,562708,712765,721077,739999,77523,77523,825365,825365,849231,849231,85904,85904,942824]],["@metamask/chain-agnostic-permission>@metamask/api-specs",[751601,751601,934683,934683,934683,934683,934683,934683,99790,99790,99790,99790,99790,99790]],["@metamask/claims-controller",[178566,39193,41181,515813,515813,518553]],["@metamask/claims-controller>@metamask/controller-utils",[193080,248556,596979,596979,673296]],["@metamask/client-controller",[214101,599726,599726]],["@metamask/client-utils",[126062,252047,262519,466639,535284,550515,570113,917237]],["@metamask/compliance-controller",[332771,332771,361978,6362,713765,713765]],["@metamask/config-registry-controller",[116382,377130,792770]],["@metamask/config-registry-controller>@metamask/profile-sync-controller",[360048]],["@metamask/connectivity-controller",[440931,440931]],["@metamask/contract-metadata",[243179,243179,243179,243179,243179,243179,988313,988313]],["@metamask/controller-utils",[17605,17605,30018,30018,496705,496705,51664,51664,644174,644174,657638,657638,672307,672307]],["@metamask/controller-utils>@metamask/eth-query",[605895,605895]],["@metamask/controller-utils>@metamask/ethjs-unit",[886634,886634]],["@metamask/controller-utils>@metamask/ethjs-unit>@metamask/number-to-bn",[360646,360646]],["@metamask/controller-utils>@spruceid/siwe-parser",[129409,129409,751528,751528,890577,890577]],["@metamask/controller-utils>@spruceid/siwe-parser>apg-js",[118675,118675,1305,1305,133543,133543,135322,135322,151097,151097,190686,190686,204777,204777,216202,216202,245981,245981,283691,283691,383737,383737,397721,397721,431304,431304,442480,442480,46509,46509,469328,469328,488665,488665,548907,548907,622282,622282,670078,670078,810722,810722,820724,820724,872735,872735,965892,965892]],["@metamask/controller-utils>@spruceid/siwe-parser>valid-url",[378477]],["@metamask/core-backend",[209656,209656,213997,234697,234697,396880,396880,440116,440116,64637,64637,646372,818082,852281,852281,926115,926115]],["@metamask/core-backend>@tanstack/query-core",[101148,101148,156121,156121,161171,161171,202888,202888,203094,203094,217142,217142,358746,358746,439038,439038,455135,455135,545940,545940,637584,637584,667857,667857,747931,747931,748346,748346,983043,983043]],["@metamask/delegation-controller",[413600,561716,666903]],["@metamask/delegation-controller>@metamask/keyring-controller",[451946,609454,811502]],["@metamask/delegation-core",[846404,846404]],["@metamask/delegation-deployments",[721785]],["@metamask/design-system-react",[100791,101545,104095,108379,111700,112038,112120,116791,118991,124856,126134,126528,139911,146950,147602,148696,153108,153472,154468,157783,157994,158250,158317,160370,160687,166537,168743,170533,173556,174795,17635,179218,180219,180781,181657,181902,183745,185194,186304,192794,195120,197951,201718,205278,212504,21263,21292,216346,216793,21875,219384,221371,222496,223901,227485,237405,237457,241686,243877,244569,244701,248477,250778,254465,255145,255196,261181,266965,268870,27150,274207,2762,276277,281051,281244,282311,283931,287002,287721,289055,290070,290605,296263,302175,303362,305955,306392,309111,310583,311698,314356,314756,323966,327468,330793,331498,33539,3372,339262,340390,343043,344809,346414,34997,353187,353438,355670,35721,364588,367792,376193,380917,381150,382707,385780,386745,38914,392800,395528,398412,40106,403015,405165,407554,407699,409644,410701,411275,412524,424341,424502,428504,431037,432914,434186,435684,437840,439295,439550,443273,445973,446947,449341,449565,450435,451902,452304,452668,454831,455836,457302,458646,459182,460390,465560,466770,47233,479746,480116,486359,48845,488581,492670,493611,49421,494800,498677,502676,50627,507803,508323,508533,510243,514816,516438,518206,518491,519559,520430,524405,526447,527442,529775,531462,533632,534408,53669,537119,53784,538324,539783,540463,541292,544020,544944,546947,559099,563376,564250,566707,568085,576040,578429,579952,581745,582814,585701,588106,588156,592479,593902,594664,596940,600838,60209,602435,608887,60938,609415,616203,618485,621719,622832,623197,627871,630125,632419,633400,634850,635860,639263,640713,641816,644493,65093,652230,655301,657580,65874,661447,671492,672992,67493,675319,676513,679085,679968,68323,68593,687513,687949,68940,689401,690034,694394,705776,709071,712964,719082,720483,72180,723576,729079,738935,742351,746005,746150,746812,748507,75451,756741,757654,758832,759310,762644,772737,773742,775075,779749,783088,783173,785016,785427,78990,790558,793216,797460,799163,804968,805600,806198,80649,81120,811571,814520,823445,827933,828116,829471,831404,832190,836726,838175,838490,842111,844326,845022,845417,848365,848558,849803,852336,853169,855034,865740,86660,866927,868118,870677,87288,874176,876365,877291,879575,879638,884056,890954,895370,903273,904306,907319,912629,913802,913807,922726,926968,927951,931231,93278,934509,935664,937069,938132,942959,949098,955662,958152,962428,963245,964414,966455,966872,970443,972938,976849,982635,983857,985268,990900,992164,995163,998246]],["@metamask/design-system-react>@radix-ui/react-slot",[700694]],["@metamask/design-system-react>@radix-ui/react-slot>@radix-ui/react-compose-refs",[128659]],["@metamask/design-system-react>blo",[150609,749193,904710,999084]],["@metamask/design-system-react>tailwind-merge",[704044]],["@metamask/design-system-shared",[152886,206576,220719,305142,365678,506410,520858,556734,568894,584942,683772,706794,73804,75734,789292,79038,807374,831198,833304,848574,918070,918318,994650]],["@metamask/design-tokens",[158967,158967,167203,167203,225344,225344,284253,284253,288228,288228,347861,347861,356770,356770,377043,377043,394478,394478,4796,4796,482988,482988,500944,500944,522686,522686,610707,610707,619893,619893,633612,633612,681561,681561,690691,690691,711582,711582,783158,783158,784672,784672,82737,82737,868103,868103,870912,870912,875644,875644,914025,914025,91504,91504,92071,92071,972017,972017]],["@metamask/eip-5792-middleware",[128263,203268,357659,399703,456200,736462,752916,800324,965456]],["@metamask/eip-5792-middleware>@metamask/transaction-controller",[408401]],["@metamask/eip-7702-internal-rpc-middleware",[346583,353243,528171,755975,930635]],["@metamask/ens-controller",[156825]],["@metamask/ens-resolver-snap",[830316]],["@metamask/eth-hd-keyring",[739583,739583,780268,780268]],["@metamask/eth-hd-keyring>ethereum-cryptography",[731631,731631,780922,780922]],["@metamask/eth-hd-keyring>ethereum-cryptography>@noble/curves",[187339,187339,275501,275501,354273,354273,862530,862530,86744,86744,987385,987385]],["@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes",[147274,147274,248241,248241,459303,459303,474660,474660,536710,536710,546308,546308,592843,592843,612378,612378,628989,628989,701194,701194]],["@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32",[66889,66889]],["@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32>@scure/base",[907904,907904]],["@metamask/eth-json-rpc-filters",[278719,330124,413157,514940,64118,680785,784897,793971,801961]],["@metamask/eth-json-rpc-middleware",[14889,14889,175448,313439,313439,368847,368847,38375,389642,400071,400071,422581,563755,576704,576704,681384,681384,686162,706620,706620,804404,81650,865707,865707,881809,881809,936027,936027,957027,957027,974732,994521]],["@metamask/eth-json-rpc-middleware>safe-stable-stringify",[330764,330764,612980,612980]],["@metamask/eth-json-rpc-provider",[55711,55711,884465,884465]],["@metamask/eth-ledger-bridge-keyring",[324398,517652,64822,64822,712450,764413,77193,77378]],["@metamask/eth-qr-keyring",[35653,360209,807147,807147,995456,995456]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth",[11448,11448,545448,545448]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util",[106166,106166,184430,184430,242063,242063,287160,287160,317236,317236,365684,365684,413456,413456,416838,416838,451854,451854,463212,463212,499760,499760,650359,650359,910697,910697,924906,924906,977461,977461]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>@ethereumjs/rlp",[506783,506783]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography",[613096,613096,748037,748037,837272,837272]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/curves",[158115,158115,23489,23489,291818,291818,397454,397454,774223,774223,889447,889447,933636,933636]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/hashes",[245326,245326,274209,274209,402728,402728,408688,408688,562204,562204,772775,772775,778756,778756,860498,860498]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",[115358,115358,122720,122720,133557,133557,161856,161856,177355,177355,182666,182666,261574,261574,456406,456406,461683,461683,470297,470297,470600,470600,550736,550736,648167,648167,67503,67503,675722,675722,700095,700095,782172,782172,791890,791890,816816,816816,879846,879846,887673,887673,934292,934292,949592,949592,961101,961101,99602,99602,996720,996720]],["@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>uuid",[241376,241376,242547,242547,260475,260475,301443,301443,506592,506592,544660,544660,68131,68131,695274,695274,695305,695305,713983,713983,724869,724869,743621,743621,751815,751815,76104,76104,946844,946844]],["@metamask/eth-qr-keyring>hdkey",[821827,821827]],["@metamask/eth-qr-keyring>uuid",[329214,329214,579133,579133,611514,611514,646280,646280,852884,852884,995985,995985]],["@metamask/eth-sig-util",[162924,162924,371046,371046,47994,47994,57209,57209,876521,876521,937867,937867]],["@metamask/eth-sig-util>@ethereumjs/rlp",[799901,799901]],["@metamask/eth-sig-util>@ethereumjs/util",[193298,193298,209472,209472,212876,212876,227526,227526,374639,374639,415846,415846,495838,495838,627626,627626,670186,670186,729945,729945,7824,7824,789337,789337,789352,789352,853979,853979,952208,952208]],["@metamask/eth-sig-util>@scure/base",[96959,96959]],["@metamask/eth-sig-util>ethereum-cryptography",[369916,369916,457095,457095,519021,519021]],["@metamask/eth-sig-util>ethereum-cryptography>@noble/curves",[173752,173752,394542,394542,416989,416989,498307,498307,591346,591346,629229,629229,790586,790586]],["@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes",[122679,122679,173646,173646,337099,337099,570641,570641,59242,59242,755859,755859,760501,760501,845139,845139]],["@metamask/eth-snap-keyring",[177652,349088,388443,390321,425508,607629,610606,703288,707671,712790,871947,930342,991965]],["@metamask/eth-snap-keyring>@metamask/keyring-internal-snap-client",[372483,64018]],["@metamask/eth-snap-keyring>@metamask/keyring-snap-sdk",[946281]],["@metamask/eth-snap-keyring>uuid",[424171,769267,973046,990075]],["@metamask/eth-token-tracker",[255353,255353,521476,521476,767110,767110]],["@metamask/eth-token-tracker>@metamask/eth-block-tracker",[46097,46097,607723,607723,614362,614362,624895,624895,696478,696478]],["@metamask/eth-token-tracker>deep-equal",[747174,747174]],["@metamask/eth-token-tracker>deep-equal>es-get-iterator",[89048,89048]],["@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-map",[107274,107274]],["@metamask/eth-token-tracker>deep-equal>is-date-object",[952632,952632]],["@metamask/eth-token-tracker>deep-equal>which-boxed-primitive",[114003,114003]],["@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-bigint",[1771,1771]],["@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-boolean-object",[841928,841928]],["@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-number-object",[523543,523543]],["@metamask/eth-token-tracker>deep-equal>which-collection",[539681,539681]],["@metamask/eth-token-tracker>deep-equal>which-collection>is-weakmap",[46066,46066]],["@metamask/eth-token-tracker>deep-equal>which-collection>is-weakset",[954136,954136]],["@metamask/eth-trezor-keyring",[159997,185396,400458,421774,425995,484999]],["@metamask/eth-trezor-keyring>@trezor/connect-plugin-ethereum",[357361]],["@metamask/etherscan-link",[314846,314846,450656,450656,633713,633713,64025,64025,759868,759868,947264,947264,971443,971443]],["@metamask/gas-fee-controller",[431866,431866,65293,65293,899051,899051]],["@metamask/gator-permissions-controller",[11195,131172,150360,206790,313748,346138,364202,392566,400486,431157,431529,514156,523105,537206,558096,580639,585733,650818,667144,717682,847931,904390,918794]],["@metamask/gator-permissions-controller>@metamask/abi-utils",[16970,202648,207569,223647,330407,339537,407854,491968,559645,598578,600451,607603,64269,647513,652275,702395,722802,797092,842691,927929]],["@metamask/gator-permissions-controller>@metamask/abi-utils>@metamask/utils",[119802,136777,147660,180886,279513,329974,375721,430416,49982,504225,646277,719844,723518,778635,789370,794274,869658,881058,916184,926428,937724]],["@metamask/gator-permissions-controller>@metamask/transaction-controller",[283051]],["@metamask/gator-permissions-snap",[454989]],["@metamask/geolocation-controller",[443136,899513,909614,909614]],["@metamask/hw-wallet-sdk",[649775,649775,784717,784717,832813,832813,853955,853955,925338,925338]],["@metamask/institutional-wallet-snap",[654294]],["@metamask/jazzicon",[256985,762823,983303]],["@metamask/jazzicon>color",[805512]],["@metamask/jazzicon>color>clone",[901347]],["@metamask/jazzicon>color>color-convert",[39752,812025,982168]],["@metamask/jazzicon>color>color-convert>color-name",[521513]],["@metamask/jazzicon>color>color-string",[362611]],["@metamask/jazzicon>mersenne-twister",[760322]],["@metamask/json-rpc-engine",[129385,140667,157637,19352,19352,19352,19352,19352,19352,199481,199481,314307,314307,350026,350026,354466,354466,354466,354466,354466,354466,368371,372429,395037,395037,422356,438025,438025,482742,482742,482742,482742,482742,482742,556620,556620,556620,556620,556620,556620,574527,574527,574527,574527,574527,574527,647553,647553,647553,647553,647553,647553,69388,69388,742547,742547,742547,742547,742547,742547,787307,787307,797561,813216,813216,813216,813216,813216,813216,858594,858594,858594,858594,858594,858594,894454,894454,895171,896558,897312,897312,897312,897312,897312,897312,905416,905416,905416,905416,905416,905416,96214,96214,96214,96214,96214,96214,97002,97002,97002,97002,97002,97002,993793]],["@metamask/json-rpc-engine>klona",[699479,699479,810045,810045]],["@metamask/json-rpc-middleware-stream",[273342,407394,643984,643984]],["@metamask/json-rpc-middleware-stream>readable-stream",[104760,123210,123210,156997,235139,235139,278031,304983,304983,306788,329687,424983,558254,63063,682145,682145,700528,700528,710347,724843,752314,813254,813254,820213,825326,839868,839868,847866,859321,867208,867208,906781,906781,915142,915142,925777,925777,942412,942412,942755,942755,960094,960094,979496,979496]],["@metamask/keyring-api",[105672,139918,161271,161271,161934,161934,185632,201831,201831,242317,242317,250727,286141,286141,312699,341483,341483,348554,348554,360041,373585,373585,39610,39610,418569,467236,467236,477322,477322,536805,592653,592653,595704,595704,612293,612293,670158,670158,674397,674397,711298,711298,751817,751817,853429,853429,861320,861320,867525,867525,871089,871089,886319,886319,892191,896322,896322,906646,906646,957740,957740,960661,970519,970519,979855,979855]],["@metamask/keyring-api>@metamask/keyring-utils",[395589,395589,74622,74622,910791,910791]],["@metamask/keyring-controller",[280501,280501,511133,511133,869959,869959]],["@metamask/keyring-controller>@metamask/eth-simple-keyring",[232031,232031,688668,688668]],["@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography",[11305,11305,460532,460532]],["@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes",[223880,223880,310270,310270,741197,741197,828940,828940]],["@metamask/keyring-controller>ethereumjs-wallet",[512249,512249,562210,562210,610527,610527]],["@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography",[143313,143313,267378,267378,283155,283155,361274,361274,51747,51747,564783,564783,585825,585825,61648,61648,723983,723983,748852,748852,749005,749005]],["@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util",[206354,206354,255583,255583,303999,303999,388918,388918,531412,531412,681551,681551,681987,681987,701971,701971,75560,75560,851954,851954,892253,892253,945458,945458]],["@metamask/keyring-controller>ethereumjs-wallet>utf8",[670655,670655]],["@metamask/keyring-controller>ulid",[31299,31299,599794,599794]],["@metamask/keyring-internal-api",[362408]],["@metamask/keyring-sdk",[210385,210385,314527,314527,693228,693228,698214,932754,932754,984228]],["@metamask/keyring-sdk>ethereum-cryptography",[103525,103525,824745,824745]],["@metamask/keyring-sdk>ethereum-cryptography>@noble/hashes",[10928,10928,411983,411983,785108,785108,821114,821114]],["@metamask/keyring-sdk>uuid",[280255,280255,345719,345719,682642,682642,905303,905303]],["@metamask/keyring-snap-client",[656228,656228,809693]],["@metamask/keyring-snap-client>@metamask/keyring-utils",[929315,929315]],["@metamask/keyring-snap-client>uuid",[210603,210603,292899,292899,580723,580723,724414,724414]],["@metamask/keyring-utils",[156635,156635,510930,510930,551277]],["@metamask/logging-controller",[197372,612870,841177]],["@metamask/logo",[663411,663411,663411,739929,739929,739929,844113,844113,844113]],["@metamask/logo>gl-mat4",[58879,58879,58879,717641,717641,717641,733652,733652,733652,740435,740435,740435,974021,974021,974021,979173,979173,979173]],["@metamask/logo>gl-vec3",[239384,239384,239384]],["@metamask/message-manager",[229690,306128,307179,672657]],["@metamask/message-manager>@metamask/controller-utils",[270179,552418,998790]],["@metamask/message-manager>jsonschema",[143064,144276,227698,47847,52805]],["@metamask/message-signing-snap",[423752]],["@metamask/messenger",[324960,324960,446337,446337,446337,446337,446337,446337,547368,547368,547368,547368,547368,547368]],["@metamask/metamask-eth-abis",[285981,285981,409227,409227,571397,571397,632915,632915,785012,785012]],["@metamask/mobile-wallet-protocol-core",[174397]],["@metamask/mobile-wallet-protocol-core>centrifuge",[219212]],["@metamask/mobile-wallet-protocol-core>eventemitter3",[674596]],["@metamask/mobile-wallet-protocol-core>uuid",[103256,174472,198095,216339,286030,337212,350614,396216,484813,504997,554847,633642,666415,704071,745266,758385,810631,813636,834264,894289,992226]],["@metamask/mobile-wallet-protocol-dapp-client",[968261]],["@metamask/mobile-wallet-protocol-dapp-client>@metamask/utils",[121993,357250]],["@metamask/mobile-wallet-protocol-dapp-client>uuid",[120511,378778,403687,582799]],["@metamask/multichain-account-service",[111916,150102,180209,185216,236917,273316,380849,425842,431389,468013,560102,608891,705268,761340,831261,891847,913889,960168]],["@metamask/multichain-api-client",[220677,366196,412454,4712,56710,675768,676687,991999]],["@metamask/multichain-api-middleware",[116462,398575,446882,573993,677044,774329,951474,960364,993285]],["@metamask/multichain-api-middleware>@metamask/api-specs",[340968,72215,89361]],["@metamask/multichain-network-controller",[131831,15549,15549,270913,328063,590026,951493,951493]],["@metamask/multichain-transactions-controller",[809882]],["@metamask/name-controller",[122859,138904,140701,140701,206320,265209,349820,394168,479088,530451,530451]],["@metamask/name-controller>@metamask/controller-utils",[812830,812830]],["@metamask/network-controller",[339710,339710,418084,418084,469233,469233,552682,552682,636061,636061,762180,762180,871933,871933,877882,877882,964084,964084]],["@metamask/network-controller>@metamask/eth-block-tracker",[336767,336767,601556,601556]],["@metamask/network-controller>@metamask/eth-json-rpc-infura",[196288,196288,391341,391341,597837,597837,717129,717129,975366,975366]],["@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider",[139596,139596,139596,139596,139596,139596,163433,163433,163433,163433,163433,163433,357480,357480,357480,357480,357480,357480,666594,666594,666594,666594,666594,666594]],["@metamask/network-controller>@metamask/swappable-obj-proxy",[101126,101126,480251,480251,832336,832336,871023,871023]],["@metamask/network-enablement-controller",[27340,540012,65352,912351]],["@metamask/notification-services-controller",[152282,19676,19676,221890,221890,291105,291105,303728,303728,308033,308033,344533,390923,390923,432592,432592,47250,523176,543884,543884,565553,565553,599565,599565,619024,619024,621095,621095,713351,713351,749512,749512,767678,767678,795086,795086,914806,916866,923231,923231,989029,989029]],["@metamask/notification-services-controller>@contentful/rich-text-html-renderer",[777316,777316]],["@metamask/notification-services-controller>bignumber.js",[807275]],["@metamask/notification-services-controller>firebase",[406131,624267,958250]],["@metamask/notification-services-controller>firebase>@firebase/app",[116089]],["@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component",[517177]],["@metamask/notification-services-controller>firebase>@firebase/app>@firebase/logger",[829036]],["@metamask/notification-services-controller>firebase>@firebase/app>idb",[171560,757110]],["@metamask/notification-services-controller>firebase>@firebase/installations",[716395]],["@metamask/notification-services-controller>firebase>@firebase/messaging",[102932,78712]],["@metamask/notification-services-controller>firebase>@firebase/util",[771927]],["@metamask/object-multiplex",[136940,373445,541726,541726,541726,657887,657887,657887,967744,967744,967744,993027]],["@metamask/object-multiplex>once",[688655,688655,688655,842744]],["@metamask/object-multiplex>once>wrappy",[368616,885067,885067,885067]],["@metamask/object-multiplex>readable-stream",[103508,103508,103508,108694,108694,108694,15394,15394,15394,181531,181531,181531,183588,258565,258565,258565,284911,292787,304208,304208,304208,319353,446267,446267,446267,472387,478633,478633,478633,540031,540031,540031,554907,593545,593545,593545,659909,66066,666688,666688,666688,691259,729063,737465,75284,75284,75284,835990,838926,838926,838926,839488,846686,884578,934344,934344,934344,979662,979662,979662]],["@metamask/obs-store",[196157,293729,29584,452512,792410,960742]],["@metamask/obs-store>readable-stream",[13938,14474,189861,263502,264222,3024,316879,693971,725397,803178,843604,88819,893812,957452,981313]],["@metamask/passkey-controller",[178690,17925,365833,632839,677490,717386,749002,749002,776700,778393,804622,865122,868088,914998,933441,980167,981155]],["@metamask/passkey-controller>@levischuck/tiny-cbor",[301947,600752,710278]],["@metamask/permission-controller",[241361,241361,241361,253990,29947,29947,29947,408613,408613,431297,766840,766840,775377,775377,831851,831851]],["@metamask/permission-log-controller",[157908,648391]],["@metamask/permissions-kernel-snap",[18171]],["@metamask/perps-controller",[121592,162729,163243,166861,166861,16793,16793,173800,186957,192206,222750,248394,282514,292666,334323,348124,373663,373663,388843,416431,445301,478880,479133,486232,519226,522187,54381,562832,585609,585609,585609,585609,585609,607653,616395,625845,757506,760057,760837,760900,78776,793434,798777,798777,810634,810634,835078,848964,858623,872652,911430,926180,931150,932811,937640,942225,970671,970671,97487,979587]],["@metamask/perps-controller>@metamask/abi-utils",[1395,145325,290001,330383,356515,406653,496476,573613,575115,626417,631673,634810,66343,675964,7157,752774,7896,797470,814660,874415]],["@metamask/perps-controller>@metamask/abi-utils>@metamask/utils",[100561,110588,11850,26208,328370,346740,387655,436443,437194,455639,470584,53690,590779,622982,773167,830852,84376,912455,962924,965340,974158]],["@metamask/perps-controller>@nktkas/hyperliquid",[103126,105127,112351,117010,126180,126395,131866,134419,148979,150071,153029,159933,163233,164804,172911,188787,192010,193627,195272,199046,218443,225748,226558,227950,228473,229283,229429,233610,23515,238744,241285,257601,285553,293277,303136,304870,315268,324992,343506,344312,345315,35806,360957,363677,368180,373757,378925,38110,381777,390780,404556,405059,41211,42496,427825,431012,435792,44952,452769,454562,455292,456534,462694,471017,47196,486223,494484,500496,502201,505976,51482,51740,519233,526682,52690,542120,542761,544850,557372,558063,558104,559249,569411,571859,57553,576832,584584,610245,610840,611842,618007,618304,626017,630647,633194,633696,633725,634075,643865,649665,651942,653028,655477,660706,661771,667682,669276,675625,676534,676931,684309,686046,686370,687464,689459,692013,696528,704368,704438,710754,710771,720305,721641,724758,725801,727275,728697,743095,747035,748536,75889,759865,766618,768687,769195,770685,771236,778570,778826,781479,786292,789330,792392,79928,80091,801240,805168,811803,821129,822863,829781,84237,842396,845751,847775,853528,853711,855283,85779,860366,86915,870484,881273,88298,883713,884152,89088,892100,895194,915050,918049,923512,924140,92669,930182,939914,942311,949685,952359,952915,952958,957435,960981,965469,966297,980484,988554,991255,998272,999572]],["@metamask/perps-controller>@nktkas/hyperliquid>@nktkas/rews",[221836]],["@metamask/perps-controller>@nktkas/hyperliquid>@noble/hashes",[394621,575241,71896]],["@metamask/perps-controller>@nktkas/hyperliquid>valibot",[254803]],["@metamask/perps-controller>bignumber.js",[16039]],["@metamask/phishing-controller",[257881,311290,311290,318392,382182,48142,794847,851610]],["@metamask/phishing-controller>ethereum-cryptography",[295810,994752]],["@metamask/phishing-controller>ethereum-cryptography>@noble/hashes",[217551,420730,464551,679709]],["@metamask/polling-controller",[729986,729986,816571,816571,937882]],["@metamask/post-message-stream",[101274,101274,101274,107927,107927,107927,23400,359799,379148,411515,465868,524382,524382,524382,543433,620498,620498,620498,74883,74883,74883,755593,755593,755593,822105,927785,927785,927785]],["@metamask/post-message-stream>readable-stream",[122587,122587,122587,128093,128093,128093,149890,149890,149890,158647,158647,158647,164196,280932,335992,365149,377228,377228,377228,387923,387923,387923,430723,430723,430723,437116,450432,456224,456224,456224,490137,490137,490137,506348,506348,506348,508142,508142,508142,525366,538997,621123,67395,67395,67395,68193,702682,742819,846471,85990,864992,864992,864992,883886,938361,938361,938361,976199,976199,976199]],["@metamask/ppom-validator",[177674,289357,560797,802625]],["@metamask/ppom-validator>@metamask/controller-utils",[139624,173631,292844,53568,561277,629867,958344]],["@metamask/ppom-validator>await-semaphore",[972622]],["@metamask/ppom-validator>crypto-js",[136152,156953,212122,28681,299772,316531,388593,416696,467074,495238,496468,546210,554120,605410,626217,63691,648024,659663,67012,67012,706799,736059,741309,741309,756836,782539,812436,826321,826321,833881,848140,851069,855049,857468,863576,925909,936517,939493,954177]],["@metamask/ppom-validator>json-rpc-random-id",[84187,84187]],["@metamask/preinstalled-example-snap",[675919]],["@metamask/profile-metrics-controller",[535484,752112,887335,947913]],["@metamask/profile-sync-controller",[119324,125054,131602,145811,158486,163269,175526,208614,214084,285815,408685,408685,411475,412247,536073,583513,60095,710448,731171,731171,751944,760234,763204,784140,871229,881381,911075,911443,936070,941764,958387,958387,96556,978337]],["@metamask/profile-sync-controller>siwe",[250783,345447,499052,771035,966691]],["@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser",[651193,692745,916624]],["@metamask/profile-sync-controller>siwe>@stablelib/random",[605021,669716,839148,960997]],["@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary",[472652]],["@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary>@stablelib/int",[692672]],["@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/wipe",[716903]],["@metamask/providers",[116263,152704,178618,482392,604632,611766,683527,725087,733762,748698,78279,798563,944401,946170,946822,958440]],["@metamask/providers>is-stream",[84773,902544]],["@metamask/providers>readable-stream",[125282,131581,167911,206930,217247,272419,275885,31329,31356,352992,360996,366175,373035,406951,433634,478694,577916,609843,616714,655772,660418,670086,719599,769499,777480,789321,817741,834278,871965,919766]],["@metamask/ramps-controller",[311997,311997,311997,311997,311997,384540,384540,384540,384540,384540,384540,605437,605437,605437,605437,605437,62498,62498,80081,80081,80081,80081,80081]],["@metamask/rate-limit-controller",[859998]],["@metamask/react-data-query",[574018]],["@metamask/react-data-query>@metamask/base-data-service",[124456]],["@metamask/react-data-query>@metamask/base-data-service>@tanstack/query-core",[168395,248863,264145,28280,3607,37098,632010,683813,723011,753594,772272,916366,961622,97880,98033]],["@metamask/react-data-query>@tanstack/query-core",[117168,12569,150029,206549,210534,236783,332205,375448,394846,543348,633538,635404,690899,721876,804467]],["@metamask/remote-feature-flag-controller",[110809,229582,502008,556814,56558,874810]],["@metamask/rpc-errors",[132002,135299,135299,135299,135299,135299,135299,144008,144008,144008,16905,16905,16905,195057,195057,195057,195057,195057,195057,207534,207534,207534,207534,207534,207534,353959,581327,581327,581327,584553,703640,703640,703640,703640,703640,703640,711210,805248,805248,805248,875088,875088,875088,875088,875088,875088]],["@metamask/rpc-errors>fast-safe-stringify",[101292,754255,754255,754255]],["@metamask/safe-event-emitter",[177805,177805,532596,532596,664053]],["@metamask/scure-bip39",[592190,592190,595876,595876]],["@metamask/scure-bip39>@noble/hashes",[239227,239227,401576,401576,494981,494981,614013,614013,835673,835673,879240,879240,88469,88469,938735,938735,980895,980895]],["@metamask/scure-bip39>@scure/base",[763261,763261]],["@metamask/seedless-onboarding-controller",[189780,2809,364870,437762,627122,949340,987160,987160,987160]],["@metamask/seedless-onboarding-controller>@metamask/auth-network-utils",[845414]],["@metamask/seedless-onboarding-controller>@metamask/auth-network-utils>@toruslabs/constants",[901527]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup",[113685,17564,242335,284271,327293,553072,568412,635124,706026,787309,812995,878813,917364]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@metamask/auth-network-utils",[170422,229468,286031,288582,336355,716362,781036,83789]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details",[859723]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/fnd-base",[15531,262620,579858,928075]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/http-helpers",[65983]],["@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/http-helpers",[779159]],["@metamask/selected-network-controller",[269068,69796]],["@metamask/sentinel-api-service",[22415,733222,755210,82322,94831]],["@metamask/shield-controller",[181547,182405,275378,742033,751037]],["@metamask/shield-controller>@metamask/transaction-controller",[732904]],["@metamask/signature-controller",[328640,415436,415436,467521,743605,931899,951912,999926]],["@metamask/smart-transactions-controller",[261426,407608,407608,541149,541149,612157,612157,631561,631561,729118,810961,847512,847512]],["@metamask/smart-transactions-controller>@metamask/transaction-controller",[636964]],["@metamask/smart-transactions-controller>bignumber.js",[143984]],["@metamask/snap-account-service",[215877,521635,546574,694652,775810]],["@metamask/snaps-controllers",[112990,133884,142700,183940,196833,271855,349990,387855,419414,44384,529460,548552,571594,590831,6940,752077,791368,792124,82215,834155,935494,937038,937580,94502,971587,999342]],["@metamask/snaps-controllers>@xstate/fsm",[497792]],["@metamask/snaps-controllers>concat-stream",[157651]],["@metamask/snaps-controllers>get-npm-tarball-url",[25608]],["@metamask/snaps-controllers>readable-stream",[155001,16879,201291,276622,383198,389521,441790,457020,485102,507985,552197,656451,678257,777816,855501]],["@metamask/snaps-controllers>readable-web-to-node-stream",[868278]],["@metamask/snaps-controllers>readable-web-to-node-stream>readable-stream",[11491,195581,295951,326381,34895,409259,469959,521720,632698,763609,792400,807140,835479,857844,928302]],["@metamask/snaps-controllers>tar-stream",[214199,452762,641710,743849,840318]],["@metamask/snaps-controllers>tar-stream>b4a",[121745,510209,520395,534895,656807,673362,701623]],["@metamask/snaps-controllers>tar-stream>fast-fifo",[7296,849774]],["@metamask/snaps-controllers>tar-stream>streamx",[858076,953792]],["@metamask/snaps-controllers>tar-stream>streamx>events-universal",[466141]],["@metamask/snaps-controllers>tar-stream>streamx>text-decoder",[117783,37629,856483]],["@metamask/snaps-execution-environments",[449787,449787,897911]],["@metamask/snaps-registry",[505884,79693]],["@metamask/snaps-rpc-methods",[114318,178407,195708,199366,205001,210734,210734,222338,236665,241348,302380,315290,315290,333166,343817,357986,371340,378210,380297,385099,387402,388488,396164,397212,398683,410219,412629,430664,46547,46547,470992,481255,488678,494652,505073,516787,524792,537210,540524,551053,56439,574861,580594,58474,597776,602876,615146,636064,646071,647629,655673,657454,689132,689132,689132,715543,71570,725625,751854,758290,784846,814266,817226,819596,840672,840672,857982,863675,869128,899342,899342,919854,925443,956834,985615,992061]],["@metamask/snaps-sdk",[101940,105626,115412,137750,174638,174638,174638,186119,186119,186119,188320,188320,188320,191699,208554,208554,208554,297416,310408,335562,335562,335562,382906,382906,382906,392154,392154,402644,416877,443697,443697,443697,45217,45217,45217,453945,453945,453945,461893,461893,461893,484068,484068,484068,499490,499490,499490,515828,515828,515828,524390,544299,544299,544299,564534,609948,609948,609948,614130,614130,614130,642015,647388,647388,647388,652384,676358,676358,676358,68318,704340,706524,706524,706524,711073,722837,722837,722837,746658,759742,773466,773466,777040,780947,785876,797999,797999,797999,807925,818365,818365,818365,834788,861913,861913,861913,879771,879771,879771,931217,937053,937053,937053,955187,955187,955187,98414,98414]],["@metamask/snaps-sdk>@metamask/key-tree",[100468,100468,141769,141769,224378,224378,256046,256046,268988,268988,379669,379669,410574,410574,476536,476536,480665,480665,508238,508238,53921,53921,568607,568607,64263,64263,650475,650475,693932,693932,697917,697917,732112,732112,920131,920131,94947,94947,949840,949840,963624,963624]],["@metamask/snaps-utils",[116243,116243,135006,156828,156828,15948,172112,180559,237825,237825,252164,252164,260184,296148,355433,355897,355897,358e3,358e3,374955,392380,392380,431050,431050,448372,504536,504536,529638,54872,54872,58473,619193,619193,62099,62099,630249,630249,631524,631524,635843,650976,650976,665797,66580,676798,676798,685502,685502,723807,761368,761368,793671,797549,90157,90404,90404,914420,914420,939912,968074,968074,97324,985338,988931,988931,988950,988950]],["@metamask/snaps-utils>@metamask/slip44",[847408,847408,847408,847408,847408,847408]],["@metamask/snaps-utils>fast-xml-parser",[141844,311041,434627,490105,632435,637724,712175,905874,942721]],["@metamask/snaps-utils>fast-xml-parser>@nodable/entities",[733501,9845]],["@metamask/snaps-utils>fast-xml-parser>path-expression-matcher",[360912,702374,723880]],["@metamask/snaps-utils>fast-xml-parser>strnum",[243320]],["@metamask/snaps-utils>marked",[44747,44747]],["@metamask/snaps-utils>rfdc",[397348,397348]],["@metamask/snaps-utils>validate-npm-package-name",[226237,226237]],["@metamask/snaps-utils>validate-npm-package-name>builtins",[81481,81481]],["@metamask/solana-wallet-snap",[245743]],["@metamask/solana-wallet-standard",[158133,29645,309289,819292,876553]],["@metamask/solana-wallet-standard>@solana/wallet-standard-features",[45444,527170,598497,943760]],["@metamask/solana-wallet-standard>@wallet-standard/features",[694718,716207,986059]],["@metamask/solana-wallet-standard>@wallet-standard/wallet",[295412,302163]],["@metamask/storage-service",[12851,652919,68978]],["@metamask/subscription-controller",[135109,135109,419686,60607,663425,663425,690474,932821]],["@metamask/subscription-controller>@metamask/transaction-controller",[538064]],["@metamask/subscription-controller>bignumber.js",[591268]],["@metamask/superstruct",[142827,142827,142827,147698,147698,147698,147698,147698,147698,147698,147698,179379,179379,179379,179379,179379,179379,179379,179379,244231,244231,244231,290266,307059,307059,307059,315560,315560,315560,315560,315560,315560,315560,315560,342672,342672,342672,355608,355608,355608,356583,356583,356583,400619,411554,448967,449070,449070,449070,497177,497177,497177,497177,497177,497177,497177,497177,5136,5136,5136,5136,5136,5136,5136,5136,545203,599805,599805,599805,599805,599805,599805,599805,599805,612815,628674,628674,628674,628674,628674,628674,628674,628674,638737,638737,638737,638737,638737,638737,638737,638737,652825,728522,728522,728522,728522,728522,728522,728522,728522,784225,784225,784225,982944]],["@metamask/test-dapp-solana>@solana/wallet-standard-chains",[826167]],["@metamask/transaction-controller",[129438,129438,133660,133660,145895,145895,15420,15420,158388,158388,174838,174838,200881,200881,204471,204471,24889,24889,317525,317525,348372,348372,354166,354166,405070,405070,420762,420762,454515,454515,491993,491993,493646,493646,523615,523615,53002,53002,546292,546292,579150,579150,592361,592361,607402,607402,619783,619783,622702,622702,623476,623476,637434,637434,660227,660227,660502,660502,685128,685128,71530,71530,730691,730691,731521,731521,755199,755199,780690,780690,788457,788457,795886,795886,80667,80667,850156,850156,857157,857157,8862,8862,900682,900682,907315,907315,910368,910368,963648,963648,976022,976022,978561,978561]],["@metamask/transaction-controller>@metamask/nonce-tracker",[775896,775896,877795,877795]],["@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex",[420968,420968,751816,751816,793012,793012,857279,857279,955353,955353,997852,997852]],["@metamask/transaction-controller>bignumber.js",[717341,717341]],["@metamask/transaction-controller>ethereum-cryptography",[415792,415792,659891,659891]],["@metamask/transaction-controller>ethereum-cryptography>@noble/hashes",[239887,239887,620099,620099,891613,891613,931318,931318]],["@metamask/transaction-pay-controller",[101009,105313,123646,13475,158487,158511,184549,210220,219848,222065,24139,250500,287083,297689,313295,3413,346329,364985,372027,381432,385374,407825,41150,41417,450293,452543,481511,481511,500762,512802,513265,514996,577857,600740,621834,62324,63322,66246,696073,706442,709890,710432,722273,748603,758848,760465,764976,780512,787865,791378,798718,83447,840766,86794,868446,881283,902177,93161,955429,95614,963432,963584,964544,97797,986092,99916]],["@metamask/transaction-pay-controller>@metamask/ramps-controller",[764022,764400]],["@metamask/transaction-pay-controller>bignumber.js",[722906]],["@metamask/tron-wallet-snap",[990306]],["@metamask/user-operation-controller",[177720,44032,462451,527333,565720,651451,769743,775170,798208,904617,974289,997651]],["@metamask/user-operation-controller>@metamask/transaction-controller",[36674]],["@metamask/utils",[103453,103453,103453,103453,103453,103453,103453,103453,142282,142282,142282,155499,166378,166378,166378,166378,166378,166378,166378,166378,204179,204179,204179,204179,204179,204179,204179,204179,211600,211600,230855,230855,230855,230855,230855,230855,230855,230855,269530,269530,269530,269530,269530,269530,269530,269530,301885,301885,301885,301885,301885,301885,301885,301885,334031,334031,334031,334031,334031,334031,334031,334031,364705,364705,364705,364705,364705,364705,364705,364705,379054,379054,379054,379054,379054,379054,379054,379054,38333,38333,38333,38333,38333,38333,38333,38333,418021,418021,418021,418021,418021,418021,418021,418021,432315,432315,432315,432315,432315,432315,432315,432315,447519,481009,481009,481009,481009,481009,481009,481009,481009,502257,502257,502257,502257,502257,502257,502257,502257,507060,507060,507060,507060,507060,507060,507060,507060,536560,536560,536560,536560,536560,536560,536560,536560,549140,549140,554839,570302,570302,570302,570302,570302,570302,570302,570302,572433,572433,572433,572433,572433,572433,572433,572433,691991,691991,691991,691991,691991,691991,691991,691991,699844,699844,699844,699844,699844,699844,699844,699844,705025,705025,705025,745085,745085,745085,745928,745928,755244,755244,755244,755244,755244,755244,755244,755244,760184,760184,760184,761788,761788,812805,832018,832018,851754,851754,870601,870601,870601,870601,870601,870601,870601,870601,889333,889333,889333,889333,889333,889333,889333,889333,896639,896639,896639,908743,908743,908743,933647,933647,933647,933647,933647,933647,933647,933647,934538,934538,935406,935406,971968,971968]],["@metamask/utils>pony-cause",[178430,178430,207912,207912,341875,341875,67282,67282,762565,762565]],["@metamask/wallet",[184390,347008,382908,406040,423728,635028,665236,732574,883693,904376,918298,976020,997476]],["@metamask/wallet>@metamask/connectivity-controller",[364422,410614]],["@mui/material",[104312,11577,11847,127519,131770,133546,133610,134295,138369,149615,153167,156273,157655,162330,165360,166451,167754,167889,178627,181078,181235,189302,191831,203048,210303,226316,236307,255651,259731,26139,2653,282411,301846,307879,310781,313877,324435,332447,332703,336669,341331,35299,35395,365663,368447,370166,378470,379241,38422,398360,412251,413825,416935,425277,431563,436002,440400,450283,452141,454296,465673,471225,473091,479487,501597,514651,519621,531344,538827,548057,551018,55753,569241,57703,578155,57903,590551,591867,597805,599115,6059,609711,61123,614039,624277,62485,632116,640422,641503,648848,654282,656872,661831,663415,66571,671692,676437,678803,682879,685075,689227,700221,714326,715498,767335,768420,812063,818175,819181,822498,834867,836235,852735,860482,867615,879514,886401,895557,901045,90255,909476,91357,917195,920763,925855,928405,933304,94413,945520,945831,955653,963413,965979,97417,989167,989507,991447,999946]],["@mui/system",[112307,157747,170487,223596,260499,292499,337791,382928,508125,51009,518028,521462,559495,571389,573633,613431,627531,740860,75139,752367,759456,767479,768766,773517,800001,801105,828135,87567,884047,901626,927296,961052,967443,97900]],["@mui/system>@mui/private-theming",[57094,573456,603025,82634]],["@mui/system>@mui/styled-engine",[184884,472395,669950]],["@mui/system>@mui/utils",[103354,184229,1975,20613,214359,230793,246517,282805,291577,305397,319,331467,331569,394779,418965,439189,448157,486545,487849,498525,503031,510163,540913,554911,557889,599139,632271,650543,711433,727645,768304,781887,79181,843102,850845,856709,875719,902965,958525,991061,996063]],["@mui/system>@mui/utils>react-is",[254918]],["@mui/x-date-pickers",[10168,10283,109947,111395,122804,123803,126836,129352,135,137138,143620,14500,193795,207533,217914,232699,236e3,240425,252109,253626,256113,276833,28014,282147,286591,291798,296702,297337,299813,306965,312931,31307,31610,324552,346464,347478,360213,367588,371017,373436,407675,409265,427557,428868,43945,439705,449361,450172,456280,462684,465385,471109,472329,475479,481776,493444,495730,509819,516586,531919,534334,535112,549645,559442,560807,57035,575472,575759,576361,591276,613923,621225,62313,636789,637605,644658,645967,664886,684598,696035,696877,722351,731545,735574,743304,748043,76734,777039,79095,794182,794335,797343,802198,802583,804689,807381,81821,836036,837819,842867,844151,847094,860107,861581,864041,868232,872762,881645,883161,888956,903160,904440,909821,916237,918664,922167,922940,923449,92574,931514,939733,946300,948710,983447,984247,995814]],["@mui/x-date-pickers>@mui/utils",[119651,197021,248723,261091,302419,340611,352023,365965,48343,529819,586991,63207,646853,676243,677617,73013,77457,789905,803499,86397]],["@ngraveio/bc-ur",[10198,10198,216814,216814,334683,334683,347103,347103,526436,526436,585651,585651,608778,608778,669916,669916,715987,715987,816060,816060,912490,912490,916561,916561]],["@ngraveio/bc-ur>@keystonehq/alias-sampling",[836484,836484]],["@ngraveio/bc-ur>assert",[100734,100734,158196,158196,215851,215851,784333,784333]],["@ngraveio/bc-ur>assert>is-nan",[247643,247643,277973,277973,461010,461010,924544,924544]],["@ngraveio/bc-ur>assert>object-is",[129730,129730,331205,331205,628587,628587,827856,827856]],["@ngraveio/bc-ur>bignumber.js",[574149,574149]],["@ngraveio/bc-ur>cbor-sync",[632362,632362]],["@ngraveio/bc-ur>crc",[136322,136322,219649,219649,274359,274359,389601,389601,457640,457640,524523,524523,633555,633555,739574,739574,761450,761450,852556,852556,858449,858449,878551,878551,888882,888882,946884,946884]],["@ngraveio/bc-ur>crc>buffer",[797843,797843]],["@ngraveio/bc-ur>jsbi",[847743,847743]],["@ngraveio/bc-ur>sha.js",[132806,132806,158146,158146,240184,240184,363368,363368,381195,381195,576585,576585,588986,588986,774747,774747]],["@ngraveio/bc-ur>sha.js>to-buffer",[715425,715425]],["@noble/ciphers",[10785,127626,2081,363798,378150,43634,466239,578394,626400,679332,801112,90917,949593]],["@noble/curves",[117286,158163,211945,215644,215644,298465,36773,36773,446266,446266,465386,489928,489928,526286,58340,58340,584681,589072,589072,605835,610537,610537,792499,792499,821014,912303,923959,927500,927500,951297]],["@noble/hashes",[117154,117154,128961,128961,163684,163684,237402,237402,277206,279307,279307,362108,362108,367013,367013,38578,38578,399502,399502,41903,41903,477964,477964,477964,496153,496153,505886,505886,533275,617711,661330,661330,661330,671955,671955,671955,770999,770999,772169,772169,850479,850479,85428,85428,921178,945794]],["@open-rpc/meta-schema",[696281]],["@open-rpc/schema-utils-js",[178112,286865,498746]],["@open-rpc/schema-utils-js>@json-schema-tools/dereferencer",[247747,839041]],["@open-rpc/schema-utils-js>@json-schema-tools/dereferencer>@json-schema-tools/traverse",[300427]],["@open-rpc/schema-utils-js>@json-schema-tools/meta-schema",[6989]],["@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver",[213505,27476,707120,870923,915941]],["@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver>@json-schema-spec/json-pointer",[298824]],["@open-rpc/schema-utils-js>is-url",[324673]],["@open-rpc/test-coverage>isomorphic-fetch",[207672]],["@open-rpc/test-coverage>isomorphic-fetch>whatwg-fetch",[645680]],["@popperjs/core",[104262,120185,131500,134115,149922,172285,183817,201918,206556,218858,226744,25019,262272,289140,302530,326635,330629,335526,33565,351475,3598,400267,492560,50696,513223,532874,553918,568598,589833,638543,659638,674110,680243,70361,750319,757155,762019,773577,790791,794063,814127,815258,818832,826916,843022,864542,872787,886298,891016,908905,925448,947862,954239,978752]],["@reduxjs/toolkit",[55820]],["@reduxjs/toolkit>reselect",[317341,93958]],["@rive-app/react-canvas",[913965]],["@rive-app/react-canvas>@rive-app/canvas",[236494,236494,236494,236494,236494,888132]],["@scure/base",[54584,54584,591315,591315]],["@segment/analytics-node",[135879,135879,163263,163263,23300,23300,279322,279322,32883,32883,335978,335978,340597,340597,34948,34948,499454,499454,521632,521632,617928,617928,653229,653229,668435,668435,677885,677885,679751,679751,703484,703484,744764,744764,778153,778153,881020,881020,885160,885160,950625,950625]],["@segment/analytics-node>@lukeed/uuid",[43220,43220]],["@segment/analytics-node>@segment/analytics-core",[12916,12916,160021,160021,171519,171519,184523,184523,243329,243329,265654,265654,395707,395707,416644,416644,58131,58131,599055,599055,681279,681279,706813,706813,70932,70932,781258,781258,858693,858693,863234,863234,946716,946716,956877,956877]],["@segment/analytics-node>@segment/analytics-core>dset",[433864,433864]],["@segment/analytics-node>@segment/analytics-generic-utils",[927339,927339,958351,958351]],["@segment/analytics-node>jose",[115208,115208,116941,116941,171121,171121,222891,222891,260779,260779,378729,378729,463860,463860,527336,527336,53295,53295,577658,577658,589323,589323,615640,615640,663478,663478,67737,67737,678296,678296,732642,732642,755924,755924,796358,796358,8143,8143,850867,850867,851454,851454,896511,896511,936995,936995,953385,953385,968646,968646,989618,989618]],["@sentry/browser",[13623,13623,173368,173368,179687,179687,2033,2033,361508,361508,404809,404809,453827,453827,484413,484413,548502,548502,64329,64329,691576,691576,805677,805677,841456,841456,855790,855790,889843,889843,89899,89899,956902,956902,972991,972991,994398,994398]],["@sentry/browser>@sentry-internal/browser-utils",[138716,138716,19467,19467,234512,234512,314408,314408,33040,33040,3321,3321,339535,339535,456247,456247,51450,51450,515400,515400,566632,566632,56680,56680,57324,57324,580436,580436,621827,621827,662925,662925,676979,676979,702053,702053,71337,71337,74342,74342,765698,765698,768571,768571,772879,772879,793419,793419,814601,814601,821396,821396,847768,847768,879954,879954,903217,903217,913111,913111,944117,944117,945582,945582,956354,956354,958084,958084,975431,975431,978802,978802,993671,993671]],["@sentry/core",[114765,114765,118840,118840,123532,123532,144770,144770,147687,147687,152198,152198,153836,153836,15505,15505,15797,15797,169869,169869,172900,172900,175384,175384,180121,180121,187474,187474,18898,18898,189193,189193,260516,260516,276435,276435,294970,294970,295088,295088,298556,298556,303065,303065,306981,306981,342741,342741,352158,352158,357180,357180,358496,358496,381699,381699,392316,392316,396102,396102,39859,39859,410710,410710,419142,419142,43701,43701,444284,444284,466737,466737,468417,468417,484945,484945,486023,486023,504855,504855,506820,506820,513234,513234,52018,52018,525162,525162,538979,538979,545407,545407,546155,546155,563023,563023,576883,576883,577102,577102,590041,590041,59824,59824,598723,598723,603373,603373,605816,605816,612717,612717,620697,620697,620772,620772,625919,625919,632356,632356,646093,646093,652751,652751,664746,664746,665016,665016,671480,671480,676108,676108,67912,67912,682631,682631,686595,686595,6929,6929,704776,704776,709356,709356,713966,713966,778552,778552,78463,78463,827284,827284,837113,837113,848294,848294,848795,848795,858481,858481,865961,865961,87776,87776,901889,901889,902309,902309,902470,902470,911216,911216,920938,920938,920942,920942,925075,925075,931263,931263,939543,939543,943924,943924,944887,944887,948643,948643,960767,960767,98154,98154]],["@simplewebauthn/browser",[134797,173983,173983,216354,216354,311050,322193,322193,328784,328784,345592,345592,454807,50783,50783,537185,537185,600306,600306,80287,80287,891367,891367,931567,955988]],["@solana/addresses",[500089,500089]],["@solana/addresses>@solana/codecs-core",[531837,531837]],["@solana/addresses>@solana/codecs-strings",[726472,726472]],["@solana/addresses>@solana/errors",[410059,410059]],["@storybook/addon-docs>remark-external-links>mdast-util-definitions",[603936]],["@storybook/react>util-deprecate",[381763,381763,381763,79894]],["@tanstack/react-query",[224732,237278,493565,511705,559260,599973,630844,842109,866471,940025,967358]],["@tanstack/react-query>@tanstack/query-core",[205762,236190,302985,461608,53199,632922,652413,915115,959783]],["@tanstack/react-virtual",[207896]],["@tanstack/react-virtual>@tanstack/virtual-core",[282889,737520]],["@toruslabs/eccrypto",[840752]],["@toruslabs/eccrypto>elliptic",[206133,206133,31289,31289,385483,385483,431844,431844,439410,439410,505841,505841,520526,520526,56160,56160,595344,595344,598866,598866,671066,671066,756924,756924,834229,834229,917768,917768,917768,917768,917768,917768,917768,917768,97907,97907,995991,995991]],["@toruslabs/eccrypto>elliptic>brorand",[700493,700493]],["@toruslabs/eccrypto>elliptic>hmac-drbg",[178403,178403]],["@toruslabs/eccrypto>elliptic>minimalistic-assert",[147749,147749]],["@toruslabs/eccrypto>elliptic>minimalistic-crypto-utils",[178175,178175]],["@trezor/connect-web",[161947,161947,264637,264637,448771,448771,475227,475227,511005,511005,676994,676994,777401,777401,802974,802974,883249,883249,932425,932425,942600,942600,948414,948414]],["@trezor/connect-web>@trezor/connect",[108752,108752,122517,122517,151165,151165,195279,195279,203181,203181,266718,266718,274388,274388,283080,283080,314251,314251,329191,329191,3467,3467,347648,347648,381398,381398,390491,390491,40275,40275,40574,40574,416188,416188,43960,43960,507351,507351,515009,515009,531360,531360,565501,565501,644936,644936,646784,646784,659703,659703,686693,686693,699779,699779,715952,715952,728359,728359,740975,740975,767847,767847,773642,773642,792108,792108,794554,794554,799799,799799,823473,823473,832029,832029,841885,841885,845438,845438,860263,860263,878923,878923,896867,896867,92633,92633,941442,941442,945725,945725,95052,95052,965279,965279,996616,996616]],["@trezor/connect-web>@trezor/connect-common",[32142,32142,439606,439606,494623,494623,556102,556102]],["@trezor/connect-web>@trezor/connect-common>@trezor/env-utils",[410764,410764,53958,53958,759514,759514]],["@trezor/connect-web>@trezor/connect-common>@trezor/env-utils>ua-parser-js",[959498,959498]],["@trezor/connect-web>@trezor/connect>@trezor/blockchain-link>@trezor/websocket-client",[34818,34818,47679,47679,487483,487483]],["@trezor/connect-web>@trezor/connect>@trezor/device-utils",[292761,292761,358991,358991,389452,389452,406597,406597,586775,586775,886318,886318,913937,913937]],["@trezor/connect-web>@trezor/connect>@trezor/protobuf",[192040,192040,311145,311145,534276,534276,669094,669094,783184,783184,969356,969356,974893,974893]],["@trezor/connect-web>@trezor/connect>@trezor/protobuf>long",[229996,229996]],["@trezor/connect-web>@trezor/connect>@trezor/schema-utils",[122668,122668,261702,261702,342180,342180,463685,463685,508198,508198,585053,585053,736876,736876,948506,948506]],["@trezor/connect-web>@trezor/connect>@trezor/schema-utils>@sinclair/typebox",[10071,10071,100733,100733,103796,103796,118003,118003,119200,119200,147967,147967,156134,156134,159565,159565,16791,16791,168041,168041,169820,169820,170758,170758,171039,171039,172991,172991,174218,174218,188342,188342,194706,194706,200299,200299,201099,201099,206718,206718,208399,208399,214286,214286,216042,216042,219050,219050,239055,239055,242637,242637,257519,257519,257695,257695,260556,260556,265631,265631,268431,268431,271739,271739,274396,274396,301031,301031,304363,304363,31199,31199,318295,318295,32976,32976,329881,329881,331519,331519,331682,331682,335570,335570,341314,341314,343978,343978,345602,345602,34641,34641,346487,346487,349811,349811,351009,351009,364835,364835,367026,367026,373225,373225,379348,379348,381147,381147,382219,382219,383298,383298,387371,387371,393392,393392,394828,394828,405919,405919,406295,406295,407776,407776,408619,408619,409603,409603,410500,410500,412896,412896,415827,415827,421427,421427,430971,430971,433803,433803,436271,436271,447676,447676,448635,448635,449922,449922,454835,454835,465701,465701,469696,469696,471615,471615,481167,481167,482649,482649,48745,48745,489560,489560,49638,49638,503150,503150,50320,50320,504217,504217,50501,50501,505749,505749,50615,50615,50686,50686,50892,50892,51314,51314,51590,51590,526787,526787,538011,538011,538649,538649,54028,54028,549475,549475,557183,557183,559614,559614,560885,560885,561224,561224,561555,561555,562097,562097,572055,572055,575449,575449,57744,57744,583492,583492,588569,588569,596773,596773,606394,606394,607170,607170,608015,608015,621097,621097,630094,630094,63092,63092,632188,632188,634166,634166,637094,637094,638924,638924,652547,652547,652606,652606,655535,655535,657502,657502,664900,664900,668354,668354,670079,670079,671534,671534,672327,672327,673921,673921,684089,684089,685526,685526,687162,687162,688581,688581,689850,689850,691341,691341,712099,712099,717272,717272,719546,719546,720281,720281,725168,725168,731968,731968,732863,732863,747896,747896,751934,751934,753591,753591,757749,757749,760170,760170,760233,760233,761770,761770,769314,769314,778184,778184,780967,780967,781247,781247,791780,791780,792063,792063,798959,798959,804806,804806,806053,806053,810711,810711,813970,813970,8156,8156,834141,834141,836330,836330,842900,842900,843683,843683,846752,846752,848123,848123,848245,848245,850066,850066,851479,851479,853339,853339,854521,854521,859079,859079,859375,859375,861799,861799,86775,86775,868260,868260,876464,876464,878559,878559,880937,880937,888891,888891,891552,891552,893015,893015,896175,896175,897100,897100,901930,901930,905518,905518,906404,906404,913407,913407,925046,925046,929194,929194,93690,93690,937600,937600,951275,951275,955668,955668,957389,957389,96495,96495,971233,971233,972457,972457,976667,976667,980367,980367,980539,980539,988942,988942,99035,99035,994890,994890]],["@trezor/connect-web>@trezor/connect>@trezor/transport",[10733,10733]],["@trezor/connect-web>@trezor/utils",[105122,105122,114422,114422,118452,118452,140895,140895,151988,151988,152458,152458,163960,163960,168562,168562,193114,193114,240990,240990,245471,245471,297908,297908,303251,303251,309599,309599,312634,312634,312898,312898,315922,315922,317668,317668,3283,3283,360391,360391,377702,377702,386474,386474,38717,38717,391697,391697,402625,402625,468313,468313,473116,473116,486057,486057,488143,488143,507929,507929,514914,514914,540608,540608,551151,551151,562303,562303,610477,610477,618189,618189,635766,635766,639474,639474,662552,662552,671958,671958,673885,673885,682727,682727,686691,686691,700160,700160,702946,702946,706191,706191,707446,707446,707804,707804,746311,746311,755685,755685,763770,763770,773861,773861,777833,777833,805328,805328,814213,814213,842779,842779,897150,897150,961652,961652,97101,97101,977779,977779]],["@trezor/connect-web>@trezor/utils>bignumber.js",[549083,549083]],["@zxing/browser",[145953,147414,301448,342264,585117,594168,657902,717209,729074,754576,855256,877446]],["@zxing/library",[102076,104640,105846,10967,118907,130552,131671,135525,13619,137253,147843,148535,157062,161840,162502,165773,173036,177378,177605,181600,182358,1880,192328,200985,204042,211185,214711,217403,220502,222151,225176,226658,226843,231804,245348,245586,256598,265347,267647,281891,283130,283402,290294,290552,292589,30383,305577,30700,312627,313691,318681,322242,326170,330187,33047,331102,342062,344837,344937,348944,350023,350110,353827,35702,358354,36393,364077,366804,367456,37933,382336,38382,384185,389157,391484,395347,398079,398319,403738,410854,413135,414480,420387,426748,429613,447649,448751,448788,452848,454274,467294,470216,475173,476225,480383,48100,4886,490735,491694,495292,511410,512766,51355,517495,520474,524483,533622,543903,545034,550786,5641,567973,568293,576257,579657,58251,595812,599545,602724,604879,605398,606450,608296,618081,618221,628824,628900,633971,633978,636179,638450,639014,643367,643977,659159,66029,670237,674724,689980,690012,693466,696602,696739,701767,702808,70813,7139,715814,717651,720949,723205,726724,731223,731411,73343,734567,739843,744838,754217,762947,764246,770429,77429,781645,795293,805428,805970,809671,810595,812056,812169,826170,845566,84931,849943,853708,862070,863850,865388,873614,879385,881821,887588,887774,888951,895334,902900,907072,923877,935419,935949,939171,943402,946912,959134,96263,964206,966391,972327,978368,980892,981228,992729,993255,993733,99546,996484]],["@zxing/library>ts-custom-error",[325932]],["addons-linter>deepmerge",[239016,239016]],["async-mutex",[1310,34965,34965,553002,563013,906263,946806,983482]],["base32-encode",[334106]],["base32-encode>to-data-view",[265887]],["base64-js",[223159,685590,685590,685590]],["bignumber.js",[60746,60746]],["bitcoin-address-validation",[272909,272909]],["bitcoin-address-validation>bech32",[938807]],["bowser",[598640,598640,598640]],["browserify>concat-stream>buffer-from",[539690]],["browserify>concat-stream>typedarray",[528568]],["browserify>has>function-bind",[500185,500185,819495,819495]],["browserify>string_decoder",[242714,938453,938453,938453]],["browserify>url",[558163,558163]],["browserify>url>punycode",[646246,646246]],["browserify>util",[204191,204191,333961,333961,807928,807928]],["browserify>util>is-arguments",[790588,790588]],["browserify>util>is-generator-function",[664264,664264]],["browserify>util>is-typed-array",[242256,242256]],["browserify>util>which-typed-array",[708759,708759]],["browserify>util>which-typed-array>for-each",[541290,541290]],["browserify>xtend",[445334,445334]],["bs58",[121295,753815]],["bs58>base-x",[772079,908463]],["buffer",[916794,971567,971567,971567]],["buffer>ieee754",[170059,170059,170059,305992]],["chalk",[289568,289568,620047,620047,995050,995050]],["chalk>ansi-styles",[780723,780723]],["chalk>ansi-styles>color-convert",[179422,179422,286427,286427,969867,969867]],["chalk>supports-color",[469146,469146]],["chart.js",[137490,464071]],["chart.js>@kurkle/color",[283251]],["clsx",[92288]],["cockatiel",[144226,229411,229411,286985,286985,324161,324161,342467,350209,380736,380736,496021,496021,50519,50519,507271,507271,519577,519577,576549,606424,606424,670456,671151,690468,690468,755020,755020,791579,791579,821411,826585,826585,897560,906022,974971,991321,991321,999124,999985]],["core-js-pure",[120990,120990,12759,12759,151859,151859,188366,188366,194094,194094,20560,20560,207845,207845,227607,227607,258224,258224,25884,25884,277064,277064,277389,277389,278892,278892,303606,303606,305727,305727,330035,330035,330636,330636,347599,347599,35086,35086,353883,353883,356579,356579,360330,360330,370579,370579,400874,400874,407322,407322,413491,413491,42848,42848,465210,465210,468876,468876,485365,485365,508591,508591,536708,536708,54840,54840,55696,55696,576773,576773,587510,587510,613408,613408,646878,646878,655559,655559,662482,662482,665216,665216,666050,666050,673319,673319,702630,702630,719418,719418,739256,739256,747440,747440,748841,748841,752223,752223,782214,782214,792385,792385,828095,828095,850958,850958,856768,856768,878832,878832,884024,884024,885109,885109,895202,895202,907471,907471,928937,928937,978775,978775,985456,985456]],["cron-parser",[212712,212712,433256,433256,439869,439869,495081,495081,528063,528063]],["crypto-browserify",[554365,554365]],["crypto-browserify>browserify-cipher",[647133,647133]],["crypto-browserify>browserify-cipher>browserify-des",[213314,213314,769094,769094]],["crypto-browserify>browserify-cipher>browserify-des>des.js",[104109,104109,398216,398216,609466,609466,699112,699112,731279,731279,762931,762931]],["crypto-browserify>browserify-cipher>evp_bytestokey",[626238,626238]],["crypto-browserify>browserify-sign",[184715,184715,184715,184715,184715,184715,184715,184715,210639,210639,370063,370063,373124,373124,661841,661841,661841,661841,661841,661841,661841,661841,750771,750771]],["crypto-browserify>browserify-sign>readable-stream",[207368,207368,24961,24961,34862,34862,389274,389274,400143,400143,49634,49634,728536,728536,85840,85840,954630,954630]],["crypto-browserify>browserify-sign>readable-stream>isarray",[828544,828544]],["crypto-browserify>browserify-sign>readable-stream>safe-buffer",[228612,228612]],["crypto-browserify>browserify-sign>readable-stream>string_decoder",[813931,813931]],["crypto-browserify>browserify-sign>readable-stream>string_decoder>safe-buffer",[791641,791641]],["crypto-browserify>create-ecdh",[65084,65084]],["crypto-browserify>create-hmac",[209475,209475,954968,954968]],["crypto-browserify>diffie-hellman",[487876,487876,53365,53365,53365,53365,53365,53365,53365,53365,678158,678158,7702,7702]],["crypto-browserify>diffie-hellman>miller-rabin",[434884,434884]],["crypto-browserify>pbkdf2",[2216,2216,303271,303271,428172,428172,696696,696696,86900,86900,910166,910166]],["crypto-browserify>pbkdf2>create-hash",[205939,205939,396674,396674]],["crypto-browserify>pbkdf2>ripemd160",[652176,652176]],["crypto-browserify>pbkdf2>ripemd160>hash-base",[571210,571210]],["crypto-browserify>public-encrypt",[139006,139006,574303,574303,576758,576758,584160,584160,889634,889634,97677,97677]],["crypto-browserify>public-encrypt>browserify-rsa",[172788,172788]],["crypto-browserify>public-encrypt>parse-asn1",[657421,657421,756021,756021,890535,890535,890535,890535,890535,890535,890535,890535,910026,910026,996481,996481]],["crypto-browserify>public-encrypt>parse-asn1>asn1.js",[208103,208103,42905,42905,502048,502048,540274,540274,542561,542561,561813,561813,597323,597323,600205,600205,61716,61716,728554,728554,8083,8083,853593,853593,933023,933023,964662,964662]],["crypto-browserify>randombytes",[883369,883369]],["crypto-browserify>randomfill",[96103,96103]],["currency-formatter",[160041,187270,758533,758533,758533,758533,758533,888624,888624,888624,888624,888624]],["currency-formatter>accounting",[241927]],["currency-formatter>locale-currency",[789077,802055]],["deep-freeze-strict",[627685,627685]],["dompurify",[88174,88174]],["duplexify>inherits",[509847,985738,985738,985738]],["eciesjs",[181727,32623,331778,354473,363326,424205,660260,692733,854674,893884,970208]],["eciesjs>@ecies/ciphers",[138430,797235]],["eslint-plugin-react>array-includes>is-string",[118857,118857]],["eslint-plugin-react>array-includes>math-intrinsics",[439486,439486,608107,608107,662346,662346,742296,742296,779452,779452,877e3,877e3,963442,963442,96533,96533]],["eslint-plugin-react>es-iterator-helpers>has-property-descriptors",[584368,584368]],["eslint-plugin-react>es-iterator-helpers>has-proto>dunder-proto",[826936,826936]],["eslint-plugin-react>hasown",[704149,704149]],["eslint>ajv",[131366,137731,142193,14526,146906,148126,14967,17331,180699,194730,203214,25665,282790,287943,288874,32177,330861,359044,473645,515098,528051,556118,611462,61206,61605,653970,666470,675796,739168,753098,765230,781032,781280,786702,796418,852187,862680,873752,882600,903529,978511,997646]],["eslint>ajv>json-schema-traverse",[376018]],["eslint>fast-deep-equal",[170210,932993,932993]],["eslint>json-stable-stringify-without-jsonify",[959573]],["eth-chainlist",[39576,39576,445016,445016]],["eth-ens-namehash",[558791,558791]],["eth-ens-namehash>idna-uts46-hx",[593891,593891,683712,683712]],["eth-ens-namehash>idna-uts46-hx>punycode",[33245,33245]],["eth-ens-namehash>js-sha3",[227864,227864]],["eth-lattice-keyring",[778701]],["eth-lattice-keyring>@ethereumjs/util",[110708,137578,143792,158480,201653,208236,25076,279095,397318,402447,499832,639721,664526,892270,923318]],["eth-lattice-keyring>@ethereumjs/util>@ethereumjs/rlp",[487263]],["eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography",[635567,719201,905742]],["eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/curves",[105354,381439,438817,620416,808364,837643,949148]],["eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/hashes",[10417,22861,233921,35068,561423,604080,6161,761144]],["eth-lattice-keyring>@ethereumjs/util>micro-ftch",[203639,203639]],["eth-lattice-keyring>gridplus-sdk",[255181]],["eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp",[514853,802378]],["eth-lattice-keyring>gridplus-sdk>aes-js",[972828,972828]],["eth-lattice-keyring>gridplus-sdk>bignumber.js",[602169,766891]],["eth-lattice-keyring>gridplus-sdk>bs58check",[401492,745787]],["eth-lattice-keyring>gridplus-sdk>cbor",[155756,173863,18685,374457,529311,559008,637552,641797,643569,744141,813859,83725,911305]],["eth-lattice-keyring>gridplus-sdk>cbor-bigdecimal",[510225]],["eth-lattice-keyring>gridplus-sdk>cbor>nofilter",[4664]],["eth-lattice-keyring>gridplus-sdk>crc-32",[534918]],["eth-lattice-keyring>gridplus-sdk>ox",[23680,359095,400540,406022,416962,469001,767363,934820,962690]],["eth-lattice-keyring>gridplus-sdk>secp256k1",[333376,647984,842388]],["eth-lattice-keyring>rlp",[513680]],["eth-method-registry",[243922,243922,243922,243922,243922,243922,432999,432999,852032,852032,852032,852032,852032,852032]],["eth-method-registry>@metamask/ethjs-contract",[149490,149490,171151,171151,814390,814390]],["eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter",[9590,9590]],["eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util",[820764,820764]],["eth-method-registry>@metamask/ethjs-contract>ethjs-abi",[43470,43470,452332,452332]],["eth-method-registry>@metamask/ethjs-contract>ethjs-abi>number-to-bn",[545984,545984]],["eth-method-registry>@metamask/ethjs-query",[883348,883348]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format",[407843,407843]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>ethjs-schema",[613122,613122,613122,613122,613122,613122]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>is-hex-prefixed",[433028,433028]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix",[341529,341529]],["eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc",[482131,482131]],["eth-method-registry>@metamask/ethjs-query>promise-to-callback",[587668,587668]],["eth-method-registry>@metamask/ethjs-query>promise-to-callback>is-fn",[754084,754084]],["eth-method-registry>@metamask/ethjs-query>promise-to-callback>set-immediate-shim",[408243,408243]],["ethereum-cryptography",[208098,945639]],["ethereumjs-util",[260161,260161,362242,362242,500520,500520,512477,512477,527514,527514,567856,567856,57111,57111,7201,7201,756854,756854,801305,801305,822020,822020,850844,850844]],["ethereumjs-util>bn.js",[461532,461532]],["ethereumjs-util>create-hash",[765236,765236,825936,825936]],["ethereumjs-util>create-hash>cipher-base",[372024,372024]],["ethereumjs-util>create-hash>md5.js",[689828,689828]],["ethereumjs-util>create-hash>md5.js>hash-base",[368942,368942]],["ethereumjs-util>create-hash>md5.js>hash-base>readable-stream",[138273,138273,160302,160302,271873,271873,295891,295891,377502,377502,388078,388078,555963,555963,556543,556543,614793,614793,646997,646997,700460,700460,703581,703581,708830,708830,938792,938792,973505,973505]],["ethereumjs-util>create-hash>ripemd160",[777899,777899]],["ethereumjs-util>create-hash>ripemd160>hash-base",[346203,346203]],["ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",[172368,172368,379370,379370,409345,409345,43604,43604,438430,438430,462220,462220,493940,493940,516851,516851,551538,551538,567434,567434,605971,605971,682597,682597,816462,816462,952405,952405,972431,972431]],["ethereumjs-util>ethereum-cryptography",[110404,110404,496988,496988,894002,894002,95453,95453]],["ethereumjs-util>ethereum-cryptography>browserify-aes",[104667,104667,120362,120362,160855,160855,166623,166623,194324,194324,328328,328328,425693,425693,496770,496770,564143,564143,564395,564395,589543,589543,589543,589543,589543,589543,589543,589543,626996,626996,652708,652708,766738,766738,787881,787881,825934,825934,958896,958896]],["ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor",[64679,64679]],["ethereumjs-util>ethereum-cryptography>bs58check",[283092,283092,767265,767265]],["ethereumjs-util>ethereum-cryptography>bs58check>bs58",[411447,411447]],["ethereumjs-util>ethereum-cryptography>keccak",[188166,188166,2560,2560,289124,289124,399137,399137,599140,599140,883926,883926]],["ethereumjs-util>ethereum-cryptography>keccak>readable-stream",[141293,141293,234258,234258,236194,236194,261453,261453,364924,364924,43819,43819,527114,527114,535004,535004,611239,611239,618502,618502,7176,7176,722326,722326,731291,731291,751113,751113,972964,972964]],["ethereumjs-util>ethereum-cryptography>secp256k1",[524053,524053,634699,634699,667525,667525]],["ethereumjs-util>rlp",[724840,724840]],["ethers",[164293,164293,201248,523321,631426,964052]],["ethers>@ethersproject/abstract-provider",[211701,211701,445174,445174]],["ethers>@ethersproject/abstract-signer",[230706,230706,654687,654687]],["ethers>@ethersproject/address",[317262,317262,998381,998381]],["ethers>@ethersproject/base64",[384786,384786,893747,893747]],["ethers>@ethersproject/basex",[873202,873202]],["ethers>@ethersproject/constants",[101866,101866,490622,714372,738178,738178,885644,885644]],["ethers>@ethersproject/hash",[130488,130488,248528,248528,410943,410943,412718,412718,578030,578030,580813,580813,79978,79978,886384,886384,974082,974082]],["ethers>@ethersproject/json-wallets",[156057,156057,37426,37426,459908,459908,580226,580226,611720,611720,749805,749805]],["ethers>@ethersproject/json-wallets>aes-js",[302968,302968]],["ethers>@ethersproject/json-wallets>scrypt-js",[305583,305583]],["ethers>@ethersproject/keccak256",[453002,453002]],["ethers>@ethersproject/logger",[329882,329882,697489,697489]],["ethers>@ethersproject/networks",[332071,332071,484058,484058]],["ethers>@ethersproject/pbkdf2",[25643,25643]],["ethers>@ethersproject/properties",[338777,338777,830724,830724]],["ethers>@ethersproject/random",[247023,247023,401282,401282,862331,862331,942107,942107]],["ethers>@ethersproject/rlp",[603988,603988,820707,820707]],["ethers>@ethersproject/sha2",[116409,116409,323064,323064,451058,451058,805929,805929]],["ethers>@ethersproject/sha2>hash.js",[132485,132485,179206,179206,283376,283376,387824,387824,438047,438047,439794,439794,466610,466610,567879,567879,57764,57764,80193,80193,88054,88054,970813,970813]],["ethers>@ethersproject/signing-key",[234380,234380,255468,255468,629441,629441]],["ethers>@ethersproject/solidity",[743720,743720,911877,911877]],["ethers>@ethersproject/strings",[340519,340519,465085,465085,795768,795768,855040,855040,936523,936523]],["ethers>@ethersproject/units",[315087,315087,91170,91170]],["ethers>@ethersproject/wallet",[309353,309353,923412,923412]],["ethers>@ethersproject/web",[254712,254712,55410,55410,699423,699423]],["ethers>@ethersproject/wordlists",[400906,400906,760345,760345,792456,792456,995917,995917]],["extension-port-stream",[283079,283079,283079,48050,48050,48050,770467,770467,770467,803058,803058,803058]],["fast-json-patch",[191787,343337,533298,767584]],["fast-json-stable-stringify",[323260,323260]],["fuse.js",[863985]],["gulp>vinyl-fs>object.assign",[302547,302547,461066,461066,724264,724264,983725,983725]],["he",[106115]],["https-browserify",[965339,965339]],["human-standard-token-abi",[944211,944211]],["humanize-duration",[477355]],["immer",[115691,115691,115691,319222,319222,92365,92365]],["ip-regex",[357910,357910]],["jest-canvas-mock>moo-color>color-name",[469804,469804]],["jsdom>form-data>es-set-tostringtag>has-tostringtag",[197300,197300]],["lightweight-charts",[194859]],["lightweight-charts>fancy-canvas",[128943,243582,418818,443436,631652]],["localforage",[544654,544654]],["lodash",[104045,108041,108041,109528,109528,112437,112437,11616,122368,122368,127750,127750,133527,133527,135471,135471,136471,136471,137234,138115,145831,14786,14786,15361,164325,164325,166136,168474,169811,170906,170906,174506,174506,180624,184084,184084,186049,186049,188312,197614,197614,202665,21937,21937,223116,225953,236872,236872,23879,241297,241297,241421,245780,247835,247835,250846,254517,254517,255991,255991,257776,257776,271916,272175,276617,276617,281657,281657,284431,286210,286210,289577,289577,29025,29025,295215,295215,296033,298730,298730,305256,308731,310326,311588,319805,319805,323304,323304,323904,328821,33586,33586,339886,358633,358633,361178,366931,366931,369940,369940,376972,376972,37766,37766,378768,378768,380279,383565,383565,386042,386042,394939,422966,423,428926,428926,433702,433702,433752,433789,433789,436820,438993,438993,440477,447201,456895,456895,456895,458916,459722,459722,461663,461663,463851,471378,476031,476031,481585,481803,485063,487091,487091,497208,498256,498256,500610,500610,502503,502503,504273,504273,510185,510185,517141,517141,522306,524621,524621,529090,533439,553939,556600,556600,55750,55750,558909,558909,563252,563252,564009,564009,576629,576629,580484,58095,58095,586053,605271,605271,616685,616685,618431,618431,623755,623755,631293,631293,631328,633411,633411,641229,647294,653160,653160,653552,653552,655367,655676,655676,658647,665697,665697,667537,667537,668205,668205,671945,671945,68055,685209,685209,685544,685544,690007,690007,695038,699180,699180,700365,702879,702879,704597,704597,709499,722604,722604,726927,726927,72890,72890,72999,733395,733395,744305,744305,758387,758387,759045,760824,7640,769956,771366,771366,79662,799648,799648,807822,807822,80830,810914,813523,821432,821432,822539,822539,826448,826448,830728,830728,83454,834725,834725,835792,837054,837054,844065,844065,845341,851077,851077,861862,861862,868080,868080,871429,871429,871614,871614,891013,891013,895615,910005,91158,91158,919816,919816,920277,922462,927445,928442,928863,928863,933290,933290,935487,938312,939132,944880,944880,945343,945343,953568,953568,964653,968001,978696,981561,982070,983297,995922,995922,997225,997225,998084]],["loglevel",[171097,171097,171097,681050]],["lottie-web",[908216]],["luxon",[122552,122552,122552,138292,138292,138292,14631,14631,14631,210164,210164,210164,232712,232712,232712,305921,305921,317588,317588,317588,512986,512986,512986,597054,597054,597054,600473,600473,600473,603476,603476,603476,686333,686333,686333,695358,695358,695358,750628,750628,750628,774810,774810,774810,775158,775158,775158,78565,78565,78565,835060,835060,835060,835203,835203,835203,868766,868766,868766,891728,891728,891728,912276,912276,912276,948972,948972,948972,984381,984381,984381,991213,991213,991213]],["mocha>ms",[134281,134281]],["mocha>yargs-unparser>is-plain-obj",[119552]],["mockttp>@httptoolkit/subscriptions-transport-ws>symbol-observable",[795713,992594]],["mockttp>express>qs",[169116,169116,315677,315677,556189,556189,717698,717698,80776,80776]],["mockttp>express>safe-buffer",[495670,677197,677197,677197]],["nanoid",[531589,531589]],["nock>debug",[465273,465273,617648,617648]],["openai>abort-controller",[113795,581808,581808,581808]],["openai>zod",[313290,352058,419871,430217,481718,489540,564224,599872,648154,66871,725519,805536,828308,832821,856773,87669,885593,986491]],["path-browserify",[386023]],["pify",[256723]],["process",[208835,378326,378326,378326]],["prop-types",[557789,787332,991606]],["prop-types>object-assign",[858524]],["psl",[153782,153782]],["punycode",[478759,478759]],["qrcode-generator",[929736]],["qrcode.react",[174799]],["react",[23591,23591,276592,336620,860012,860012]],["react-chartjs-2",[173127]],["react-compiler-runtime",[303280,303280]],["react-devtools-core",[38588]],["react-dom",[1159,879505]],["react-dom>scheduler",[117047,594158]],["react-focus-lock",[124676,171702,304417,59129,679770,921718,977522]],["react-focus-lock>focus-lock",[130680,135719,153956,176839,296640,341413,360116,365187,367975,417071,578063,653567,664882,697295,716734,750025,780392,826111,837793,906089,997295]],["react-focus-lock>react-clientside-effect",[132165]],["react-focus-lock>use-callback-ref",[334392,415976,989992]],["react-focus-lock>use-sidecar",[886509]],["react-hot-toast",[638891]],["react-hot-toast>goober",[656304]],["react-idle-timer",[282382]],["react-markdown",[66117,909295,966680,973839]],["react-markdown>comma-separated-tokens",[142527]],["react-markdown>property-information",[109794,136933,222985,287738,293780,403493,403939,489890,625821,651420,709064,709064,709064,709064,709064,713726,815182,887583,897558,918358,927244,95526,993601]],["react-markdown>react-is",[287916,848688]],["react-markdown>remark-parse",[11815]],["react-markdown>remark-parse>mdast-util-from-markdown",[284865,839200]],["react-markdown>remark-parse>mdast-util-from-markdown>mdast-util-to-string",[350350]],["react-markdown>remark-parse>mdast-util-from-markdown>micromark",[115271,122266,129245,13320,144508,147528,156518,158366,160413,166022,167141,191006,236757,255771,300725,32735,345752,350100,367096,369e3,386920,387601,415431,429198,432225,434122,465465,472696,50096,50571,505862,513233,517015,542008,55976,588891,596678,619258,619473,626280,646592,667890,677964,678462,68733,703367,725077,749567,754388,757024,763528,779357,784573,804392,835101,852994,857909,861137,877216,89161,913200,91494,920522,935714,942864,961766,970745,971206,971933,993242,995783]],["react-markdown>remark-rehype",[607537]],["react-markdown>remark-rehype>mdast-util-to-hast",[127017,130453,157984,191532,195532,215432,235812,247600,281038,317058,361014,370310,467157,532167,540226,542795,55227,56788,571047,577504,645553,646177,658367,694268,695298,712147,866355,868166,943308,964922]],["react-markdown>remark-rehype>mdast-util-to-hast>mdurl",[590387]],["react-markdown>remark-rehype>mdast-util-to-hast>unist-builder",[7900]],["react-markdown>remark-rehype>mdast-util-to-hast>unist-util-generated",[602721]],["react-markdown>remark-rehype>mdast-util-to-hast>unist-util-position",[679975]],["react-markdown>space-separated-tokens",[127668]],["react-markdown>style-to-object",[230916]],["react-markdown>style-to-object>inline-style-parser",[395196]],["react-markdown>unified",[286837]],["react-markdown>unified>bail",[370001]],["react-markdown>unified>extend",[203585]],["react-markdown>unified>is-buffer",[287094]],["react-markdown>unified>trough",[652804]],["react-markdown>unist-util-visit",[498679]],["react-markdown>unist-util-visit>unist-util-is",[498559]],["react-markdown>unist-util-visit>unist-util-visit-parents",[776279,949742]],["react-markdown>vfile",[461651,621468]],["react-markdown>vfile>is-buffer",[444576]],["react-markdown>vfile>replace-ext",[68215]],["react-markdown>vfile>unist-util-stringify-position",[296107]],["react-markdown>vfile>vfile-message",[166301]],["react-popper",[646948,897908]],["react-popper>react-fast-compare",[101875]],["react-redux",[176578,23106,235140,314701,369148,405347,416408,421859,470995,473584,48084,525300,52906,5637,62629,684723,701844,721075,742216,745865,772362,956152]],["react-redux>hoist-non-react-statics",[339394]],["react-redux>hoist-non-react-statics>react-is",[113132,337392]],["react-redux>react-is",[714527,753371]],["react-redux>use-sync-external-store",[11853,837954,897866,941760]],["react-router-dom",[994112]],["react-router-dom>@remix-run/router",[682660]],["react-router-dom>react-router",[107495]],["react-simple-file-input",[742431]],["react-syntax-highlighter>refractor>parse-entities",[512920]],["react-tippy",[971180]],["react-tippy>popper.js",[975427]],["react-toggle-button",[490926]],["react-transition-group",[131350,284003,639130,829556,84954,936137,996331]],["react-transition-group>dom-helpers",[475843,815834,819347]],["readable-stream",[153089,181536,194535,194535,194535,22250,252334,252334,252334,252859,252859,252859,259290,261069,294855,294855,294855,338568,338568,338568,425493,425934,425934,425934,443305,44565,448492,448492,448492,449219,449219,449219,452547,452547,452547,464812,485697,494639,548444,568577,586805,588847,588847,588847,602416,613318,613318,613318,631222,631222,631222,632914,632914,632914,68266,68266,68266,683024,699960,699960,699960,703102,708566,708566,708566,730636,73701,754857,761124,761124,761124,769584,769584,769584,770587,777352,777352,777352,809090,809090,809090,816718,816718,816718,827525,827525,827525,831171,831171,831171,837911,868387,868387,868387,895890,900457,900457,900457,930607,978529]],["readable-stream-2>core-util-is",[711510,711510]],["readable-stream-2>process-nextick-args",[102393,102393]],["redux",[60416]],["redux-thunk",[488961]],["remote-redux-devtools",[120443,398548,417589,712044]],["remote-redux-devtools>jsan",[151109,341696,425053,427767,965556]],["remote-redux-devtools>redux-devtools-core",[172251,650496,778624]],["remote-redux-devtools>redux-devtools-core>get-params",[31908]],["remote-redux-devtools>redux-devtools-core>nanoid",[659269]],["remote-redux-devtools>redux-devtools-core>remotedev-serialize",[205061,274996,464435]],["remote-redux-devtools>redux-devtools-instrument",[217867]],["remote-redux-devtools>rn-host-detect",[653154]],["remote-redux-devtools>socketcluster-client",[280959,46337,672552,701487,844684,94862,963198]],["remote-redux-devtools>socketcluster-client>buffer",[627940]],["remote-redux-devtools>socketcluster-client>clone",[430638]],["remote-redux-devtools>socketcluster-client>component-emitter",[372675]],["remote-redux-devtools>socketcluster-client>linked-list",[262580,759067]],["remote-redux-devtools>socketcluster-client>querystring",[29941,554315,676013]],["remote-redux-devtools>socketcluster-client>sc-channel",[891709]],["remote-redux-devtools>socketcluster-client>sc-errors",[520309,601342]],["remote-redux-devtools>socketcluster-client>sc-formatter",[38652]],["remote-redux-devtools>socketcluster-client>uuid",[107216,192925,648025,905155,998316]],["reselect",[491616,491616]],["sass-embedded>varint",[16253,217115,357733,587107]],["semver",[102998,102998,130698,130698,159585,159585,212669,212669,213832,213832,223550,223550,248391,248391,250377,250377,282429,282429,297891,297891,300736,300736,315317,315317,343546,343546,348400,348400,36974,36974,400386,400386,458014,458014,467260,467260,469878,469878,481665,481665,526710,526710,563167,563167,568925,568925,605657,605657,606005,606005,618315,618315,630655,630655,645178,645178,673188,673188,685987,685987,692636,692636,712800,712800,74207,74207,780433,780433,783212,783212,801015,801015,829373,829373,843432,843432,846768,846768,869544,869544,872547,872547,884499,884499,908975,908975,9090,9090,917098,917098,980803,980803]],["stream-browserify",[594950,594950]],["stream-browserify>readable-stream",[109279,109279,305685,305685,311802,311802,312964,312964,500040,500040,522422,522422,525412,525412,52799,52799,588091,588091,69755,69755,699075,699075,719265,719265,794353,794353,836603,836603]],["stream-http",[162465,162465,482901,482901,683392,683392,99248,99248]],["stream-http>builtin-status-codes",[535522,535522]],["stream-http>readable-stream",[113306,113306,184437,184437,189546,189546,193050,193050,201511,201511,331753,331753,408375,408375,410939,410939,493781,493781,512565,512565,626160,626160,665564,665564,790745,790745,874757,874757,930722,930722]],["string.prototype.matchall>call-bind",[567943,567943,705035,705035]],["string.prototype.matchall>call-bind>call-bind-apply-helpers",[26796,26796,635101,635101,647304,647304,653002,653002,870079,870079,873110,873110]],["string.prototype.matchall>call-bind>es-define-property",[861807,861807]],["string.prototype.matchall>call-bind>set-function-length",[874449,874449]],["string.prototype.matchall>call-bound",[727164,727164]],["string.prototype.matchall>define-properties",[919684,919684]],["string.prototype.matchall>define-properties>define-data-property",[562089,562089]],["string.prototype.matchall>es-abstract>array-buffer-byte-length",[664167,664167]],["string.prototype.matchall>es-abstract>available-typed-arrays",[94121,94121]],["string.prototype.matchall>es-abstract>es-to-primitive>is-symbol",[613340,613340]],["string.prototype.matchall>es-abstract>get-proto",[193624,193624,622892,622892,744104,744104]],["string.prototype.matchall>es-abstract>is-array-buffer",[78062,78062]],["string.prototype.matchall>es-abstract>is-callable",[76176,76176]],["string.prototype.matchall>es-abstract>is-regex",[969219,969219]],["string.prototype.matchall>es-abstract>is-set",[275840,275840]],["string.prototype.matchall>es-abstract>is-shared-array-buffer",[610558,610558]],["string.prototype.matchall>es-abstract>object-inspect",[427195,427195]],["string.prototype.matchall>es-abstract>safe-regex-test",[92025,92025]],["string.prototype.matchall>es-abstract>stop-iteration-iterator",[181996,181996]],["string.prototype.matchall>es-abstract>typed-array-buffer",[813364,813364]],["string.prototype.matchall>es-abstract>typed-array-length>possible-typed-array-names",[267058,267058]],["string.prototype.matchall>es-abstract>unbox-primitive>has-bigints",[733838,733838]],["string.prototype.matchall>es-errors",[331300,331300,382711,382711,444699,444699,492449,492449,529354,529354,592005,592005,701026,701026]],["string.prototype.matchall>es-object-atoms",[588684,588684]],["string.prototype.matchall>get-intrinsic",[933,933]],["string.prototype.matchall>get-intrinsic>async-function",[779198,779198]],["string.prototype.matchall>get-intrinsic>async-generator-function",[998538,998538]],["string.prototype.matchall>get-intrinsic>generator-function",[735833,735833]],["string.prototype.matchall>gopd",[377379,377379,768613,768613]],["string.prototype.matchall>has-symbols",[160055,160055,694053,694053]],["string.prototype.matchall>internal-slot",[228431,228431]],["string.prototype.matchall>regexp.prototype.flags",[167986,167986,330037,330037,739552,739552,85627,85627]],["string.prototype.matchall>set-function-name",[81814,81814]],["string.prototype.matchall>set-function-name>functions-have-names",[645102,645102]],["string.prototype.matchall>side-channel",[800360,800360]],["string.prototype.matchall>side-channel>side-channel-list",[592227,592227]],["string.prototype.matchall>side-channel>side-channel-map",[344459,344459]],["string.prototype.matchall>side-channel>side-channel-weakmap",[176959,176959]],["stylelint>fastest-levenshtein",[776723]],["ts-mixer",[96481,96481]],["tslib",[92295,92295]],["tweetnacl",[990115,990115]],["unicode-confusables",[531743,531743,531743,531743,531743,540270]],["uri-js",[925475,925475]],["uuid",[106555,106555,112471,112471,123628,16478,16478,299896,299896,301170,301170,38401,38401,485791,485791,516074,516074,585925,585925,620897,620897,621501,621501,659008,739070,739070,761366,761366,834669,849401,849401,921766,923533,923533,951545]],["viem",[109283,133439,170754,176951,17781,181165,181839,181970,203852,242291,248702,284942,288047,294566,299752,348256,367906,380497,387686,392145,46780,476054,494336,499306,538319,541207,547451,583075,586426,598064,60105,602791,626919,640941,665693,697501,741399,745694,753791,778539,826861,842576,886900,89410,897539,906341,91048,922438,950129,953083,95580,991716,992227]],["viem>abitype",[189896,248061,26408,334360,364861,437022,663035,689160,748850,856641,861977,87327,948657]],["wait-on>axios",[132519,138428,17975,183401,196434,235935,247769,2556,260798,269126,272145,279845,302569,307443,329788,337049,337521,347359,35829,365459,374258,405386,423956,435085,443032,447923,451360,456048,47793,516138,527358,561903,573038,577145,621558,627273,652455,653978,685727,686914,727629,732582,736027,738874,743479,757315,771027,776451,782831,793963,933203]],["wait-on>rxjs",[181684,246511,284905,288855,330355,333101,352984,386675,455485,473262,526292,534931,545828,598869,668048,733160,861952,924791]],["web-vitals",[811870]],["webextension-polyfill",[413279,413279,413279]],["webpack>events",[780063,780063,780063,998088]]],e.unenforceable=[121455,20168,20168,20168,20168,20168,20168,20168,201783,201783,201783,201783,201783,236305,236305,236305,245672,245672,245672,245672,245672,245672,245672,245672,337994,337994,337994,337994,337994,337994,337994,337994,343966,343966,343966,343966,343966,343966,343966,343966,371173,383972,383972,383972,383972,383972,383972,383972,383972,400495,400495,400495,400495,400495,400495,400495,400495,439181,440830,440830,440830,440830,440830,440830,446179,490513,490513,490513,490513,490513,490513,490513,490513,492752,531854,531854,531854,531854,531854,531854,531854,531854,588776,588776,588776,588776,588776,588776,588776,588776,619200,623661,623661,623661,623661,623661,623661,623661,623661,638581,638581,638581,638581,638581,638581,638581,638581,639266,639266,639266,639266,639266,639266,639266,639266,667544,667544,667544,667544,667544,667544,667544,667544,685066,685066,685066,685066,685066,685066,685066,685066,68724,68724,68724,68724,68724,68724,705444,715050,715050,715050,715050,715050,715050,715050,715050,733258,733258,733258,733258,733258,733258,733258,733258,744643,744643,744643,744643,744643,744643,744643,744643,74754,762634,762634,762634,762634,762634,762634,762634,762634,792981,792981,792981,792981,792981,792981,792981,792981,794832,794832,794832,801874,801874,801874,833028,901409,901409,901409,901409,901409,901409,901409,901409,902731,902731,902731,902731,902731,950514,950514,950514,950514,950514,950514,950514,960548,960548,960548,960548,960548,960548,980564,980564,980564,980564,980564,980564,980564,980564,999154,999154,999154],e.ctxm=[],e.kch=[110,1102,1105,1290,1309,1331,1391,1474,1491,1507,1522,1523,1598,166,1684,1768,1791,1818,1822,1826,185,1864,1887,1923,2118,2160,2186,2189,2213,2215,2250,229,2445,2514,2532,2584,2638,2664,2668,2669,2710,2721,2747,2776,283,285,2962,3043,305,308,3104,3107,3139,3351,3366,3375,339,3423,343,3602,374,3740,3785,3809,3885,3931,3956,4016,4052,4053,407,418,425,427,4274,4294,4307,4337,4377,4520,4549,4558,4579,4593,46,461,463,4631,4634,4655,4661,4664,4753,4781,483,5087,5098,5150,5151,5170,5175,5250,5297,5404,5407,5458,5657,5671,5762,5796,5819,5864,5925,5964,6063,6115,6137,614,6141,6209,628,6358,6401,6556,6565,659,6622,6649,6660,670,6802,6906,6951,6956,7064,7091,7115,7133,7145,7178,7193,7202,7203,7219,7354,7356,7416,7446,7449,7555,7614,7651,7755,7778,7829,7899,7962,8015,8034,8063,8093,8359,8410,8427,8452,8650,8717,8734,8743,8782,8786,8789,8792,8811,887,8935,8940,8942,8946,8994,9038,904,9044,9060,9121,9232,9256,9277,9289,9307,9313,9354,937,9476,9504,9510,9543,9689,9737,9807,9828,9949,9957,9984],e.externals={},e.options={lockdown:{consoleTaming:"unsafe",errorTaming:"unsafe",errorTrapping:"none",localeTaming:"unsafe",overrideTaming:"severe",reporting:"none",stackFiltering:"verbose"},scuttleGlobalThis:{enabled:!0,exceptions:["window","Proxy","toString","getComputedStyle","addEventListener","removeEventListener","ShadowRoot","HTMLElement","HTMLFormElement","Element","pageXOffset","pageYOffset","visualViewport","Reflect","Set","Object","navigator","harden","console","WeakSet","Event","EventTarget","Image","fetch","AbortController","OffscreenCanvas","/cdc_[a-zA-Z0-9]+_[a-zA-Z]+/iu","name","performance","parseFloat","innerWidth","innerHeight","Symbol","Math","DOMRect","Number","Array","crypto","Function","Uint8Array","String","Promise","JSON","Date","RegExp","__SENTRY__","appState","extra","stateHooks","sentryHooks","sentry","logEncryptedVault","WebAssembly","Request","history","getSelection","opr","devicePixelRatio","ResizeObserver","setTimeout","clearTimeout","requestIdleCallback","importScripts","webpackChunk"]}},(()=>{let t={exports:{}};t.exports;let{Object:r,Array:n,Error:a,RegExp:s,Set:i,console:o,Proxy:l,Reflect:c}=globalThis,{assign:u,getOwnPropertyNames:m,getOwnPropertyDescriptor:h,create:f,defineProperty:d}=r,p=function(e,t){return r.getOwnPropertyNames(e).filter(r=>e[r]===t[r]).concat(["Compartment","Error","globalThis"])}(new Compartment().globalThis,globalThis),{isArray:g,from:y}=n,{getPrototypeOf:b}=c,{warn:k}=o;function v(e){return{get:r,set:t};function t(){k(`LavaMoat - property "${e}" of globalThis cannot be set under scuttling mode. To learn more visit https://github.com/LavaMoat/LavaMoat/pull/360.`)}function r(){throw new a(`LavaMoat - property "${e}" of globalThis is inaccessible under scuttling mode. To learn more visit https://github.com/LavaMoat/LavaMoat/pull/360.`)}}function w(e,t=f(null)){let r={enabled:!0,exceptions:[],scuttlerName:""},n=u(f(null),!0===t?r:t,{scuttlerFunc:(e,t)=>t(e)},{exceptions:(t?.exceptions||r.exceptions).map(e=>i(e))});if(n.scuttlerName){if(!e[n.scuttlerName])throw new a(`LavaMoat - 'scuttlerName' function "${n.scuttlerName}" expected on globalRef.To learn more visit https://github.com/LavaMoat/LavaMoat/pull/462.`);n.scuttlerFunc=e[n.scuttlerName]}return n;function i(e){if(!e.startsWith("/"))return e;let t=e.split("/");return new s(t.slice(1,-1).join("/"),t[t.length-1])}}function _(e,t=[]){let r=[];S(e).forEach(e=>r.push(...m(e)));let n=new i([...p,...t]),a=f(null);r.forEach(t=>{let{get:r,set:s}=v(t);if(T(n,t))return;let i=h(e,t);if(i?.configurable===!0)i={configurable:!1,set:s,get:r};else{if(i?.writable!==!0)return;i={configurable:!1,writable:!1,value:new l(a,{getPrototypeOf:r,get:r,set:s})}}d(e,t,i)})}let T=(e,t)=>y(e).some(e=>"string"==typeof e&&e===t||e instanceof s&&e.test(t));function S(e){let t=[],r=e;for(;r&&("object"==typeof r||"function"==typeof r);)t.push(r),r=b(r);return t}t.exports={scuttle:function(e,t){let r=w(e,t);if(r.enabled){if(!g(r.exceptions))throw new a(`LavaMoat - exceptions must be an array, got ${typeof r.exceptions}`);r.scuttlerFunc(e,e=>_(e,r.exceptions))}}},e.scuttling=t.exports})(),e.policy={resources:{"@babel/runtime":{globals:{regeneratorRuntime:"write"}},"@emotion/react":{globals:{HTMLElement:!0,"document.querySelector":!0},packages:{"@babel/runtime":!0,"@emotion/react>@emotion/cache":!0,"@emotion/react>@emotion/serialize":!0,"@emotion/react>@emotion/use-insertion-effect-with-fallbacks":!0,"@emotion/react>@emotion/utils":!0,"@emotion/react>@emotion/weak-memoize":!0,react:!0,"react-redux>hoist-non-react-statics":!0}},"@emotion/react>@emotion/cache":{globals:{"document.head":!0,"document.querySelectorAll":!0},packages:{"@emotion/react>@emotion/cache>@emotion/memoize":!0,"@emotion/react>@emotion/cache>@emotion/sheet":!0,"@emotion/react>@emotion/cache>stylis":!0,"@emotion/react>@emotion/weak-memoize":!0}},"@emotion/react>@emotion/cache>@emotion/sheet":{globals:{"document.createElement":!0,"document.createTextNode":!0,"document.styleSheets":!0}},"@emotion/react>@emotion/serialize":{packages:{"@emotion/react>@emotion/cache>@emotion/memoize":!0,"@emotion/react>@emotion/serialize>@emotion/hash":!0,"@emotion/react>@emotion/serialize>@emotion/unitless":!0}},"@emotion/react>@emotion/use-insertion-effect-with-fallbacks":{packages:{react:!0}},"@emotion/styled":{packages:{"@babel/runtime":!0,"@emotion/react":!0,"@emotion/react>@emotion/serialize":!0,"@emotion/react>@emotion/use-insertion-effect-with-fallbacks":!0,"@emotion/react>@emotion/utils":!0,"@emotion/styled>@emotion/is-prop-valid":!0,react:!0}},"@emotion/styled>@emotion/is-prop-valid":{packages:{"@emotion/react>@emotion/cache>@emotion/memoize":!0}},"@ensdomains/content-hash":{globals:{"Buffer.from":!0,"console.warn":!0},packages:{"@ensdomains/content-hash>cids":!0,"@ensdomains/content-hash>js-base64":!0,"@ensdomains/content-hash>multicodec":!0,"@ensdomains/content-hash>multihashes":!0,"@ensdomains/content-hash>multihashes>buffer":!0}},"@ensdomains/content-hash>cids":{packages:{"@ensdomains/content-hash>cids>multibase":!0,"@ensdomains/content-hash>cids>multihashes":!0,"@ensdomains/content-hash>cids>uint8arrays":!0,"@ensdomains/content-hash>multicodec":!0}},"@ensdomains/content-hash>cids>multibase":{globals:{TextDecoder:!0,TextEncoder:!0},packages:{"@ensdomains/content-hash>cids>multibase>@multiformats/base-x":!0}},"@ensdomains/content-hash>cids>multihashes":{packages:{"@ensdomains/content-hash>cids>multibase":!0,"@ensdomains/content-hash>cids>multihashes>uint8arrays":!0,"@ensdomains/content-hash>cids>multihashes>varint":!0}},"@ensdomains/content-hash>cids>multihashes>uint8arrays":{globals:{TextDecoder:!0,TextEncoder:!0},packages:{"@ensdomains/content-hash>cids>multibase":!0}},"@ensdomains/content-hash>cids>uint8arrays":{globals:{TextDecoder:!0},packages:{"@ensdomains/content-hash>cids>multibase":!0}},"@ensdomains/content-hash>js-base64":{globals:{Base64:"write",Buffer:!0,TextDecoder:!0,TextEncoder:!0,atob:!0,btoa:!0,define:!0},packages:{buffer:!0}},"@ensdomains/content-hash>multicodec":{packages:{"@ensdomains/content-hash>multicodec>uint8arrays":!0,"sass-embedded>varint":!0}},"@ensdomains/content-hash>multicodec>uint8arrays":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0},packages:{"@metamask/assets-controllers>multiformats":!0}},"@ensdomains/content-hash>multihashes":{packages:{"@ensdomains/content-hash>multihashes>buffer":!0,"@ensdomains/content-hash>multihashes>multibase":!0,"@ensdomains/content-hash>multihashes>varint":!0,"@ensdomains/content-hash>multihashes>web-encoding":!0}},"@ensdomains/content-hash>multihashes>buffer":{globals:{console:!0},packages:{"base64-js":!0,"buffer>ieee754":!0}},"@ensdomains/content-hash>multihashes>multibase":{packages:{"@ensdomains/content-hash>multihashes>buffer":!0,"@ensdomains/content-hash>multihashes>multibase>base-x":!0,"@ensdomains/content-hash>multihashes>web-encoding":!0}},"@ensdomains/content-hash>multihashes>multibase>base-x":{packages:{"mockttp>express>safe-buffer":!0}},"@ensdomains/content-hash>multihashes>web-encoding":{globals:{TextDecoder:!0,TextEncoder:!0},packages:{"browserify>util":!0}},"@ethereumjs/tx":{packages:{"@ethereumjs/tx>@ethereumjs/common":!0,"@ethereumjs/tx>@ethereumjs/rlp":!0,"@ethereumjs/tx>@ethereumjs/util":!0,"@ethereumjs/tx>ethereum-cryptography":!0}},"@ethereumjs/tx>@ethereumjs/common":{packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"webpack>events":!0}},"@ethereumjs/tx>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"@ethereumjs/tx>@ethereumjs/util":{globals:{"console.warn":!0,fetch:!0},packages:{"@ethereumjs/tx>@ethereumjs/rlp":!0,"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography":!0,"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/curves":!0,"@ethereumjs/tx>ethereum-cryptography>@noble/curves":!0,"webpack>events":!0}},"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/curves":!0,"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@ethereumjs/tx>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@ethereumjs/tx>ethereum-cryptography>@noble/hashes":!0}},"@ethereumjs/tx>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@ethersproject/abi":{globals:{"console.log":!0},packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/strings":!0}},"@ethersproject/bignumber":{packages:{"@ethersproject/bytes":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/logger":!0}},"@ethersproject/bytes":{packages:{"ethers>@ethersproject/logger":!0}},"@ethersproject/contracts":{globals:{setTimeout:!0},packages:{"@ethersproject/abi":!0,"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/abstract-provider":!0,"ethers>@ethersproject/abstract-signer":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0}},"@ethersproject/hdnode":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/basex":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/pbkdf2":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/sha2":!0,"ethers>@ethersproject/signing-key":!0,"ethers>@ethersproject/strings":!0,"ethers>@ethersproject/wordlists":!0}},"@ethersproject/providers":{globals:{WebSocket:!0,clearInterval:!0,clearTimeout:!0,"console.log":!0,"console.warn":!0,setInterval:!0,setTimeout:!0},packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"@ethersproject/providers>bech32":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/abstract-provider":!0,"ethers>@ethersproject/abstract-signer":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/base64":!0,"ethers>@ethersproject/basex":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/networks":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/random":!0,"ethers>@ethersproject/sha2":!0,"ethers>@ethersproject/strings":!0,"ethers>@ethersproject/web":!0}},"@ethersproject/transactions":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/rlp":!0,"ethers>@ethersproject/signing-key":!0}},"@google/genai>protobufjs":{globals:{process:!0,setTimeout:!0},packages:{"@google/genai>protobufjs>@protobufjs/aspromise":!0,"@google/genai>protobufjs>@protobufjs/base64":!0,"@google/genai>protobufjs>@protobufjs/codegen":!0,"@google/genai>protobufjs>@protobufjs/eventemitter":!0,"@google/genai>protobufjs>@protobufjs/fetch":!0,"@google/genai>protobufjs>@protobufjs/float":!0,"@google/genai>protobufjs>@protobufjs/path":!0,"@google/genai>protobufjs>@protobufjs/pool":!0,"@google/genai>protobufjs>@protobufjs/utf8":!0,"@google/genai>protobufjs>long":!0}},"@google/genai>protobufjs>@protobufjs/codegen":{globals:{"console.log":!0}},"@google/genai>protobufjs>@protobufjs/fetch":{globals:{XMLHttpRequest:!0},packages:{"@google/genai>protobufjs>@protobufjs/aspromise":!0}},"@google/genai>protobufjs>long":{globals:{"WebAssembly.Instance":!0,"WebAssembly.Module":!0,define:!0}},"@hello-pangea/dnd":{globals:{"Element.prototype":!0,__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:!0,addEventListener:!0,cancelAnimationFrame:!0,clearTimeout:!0,console:!0,document:!0,getComputedStyle:!0,pageXOffset:!0,pageYOffset:!0,removeEventListener:!0,requestAnimationFrame:!0,scrollBy:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"@hello-pangea/dnd>css-box-model":!0,"@hello-pangea/dnd>memoize-one":!0,"@hello-pangea/dnd>raf-schd":!0,"@hello-pangea/dnd>use-memo-one":!0,react:!0,"react-dom":!0,"react-redux":!0,redux:!0}},"@hello-pangea/dnd>css-box-model":{globals:{getComputedStyle:!0,pageXOffset:!0,pageYOffset:!0},packages:{"@hello-pangea/dnd>css-box-model>tiny-invariant":!0}},"@hello-pangea/dnd>raf-schd":{globals:{cancelAnimationFrame:!0,requestAnimationFrame:!0}},"@hello-pangea/dnd>use-memo-one":{packages:{react:!0}},"@keystonehq/bc-ur-registry-eth":{globals:{"Buffer.from":!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry":!0,"@metamask/eth-qr-keyring>hdkey":!0,buffer:!0,uuid:!0}},"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry":{globals:{Buffer:!0,define:!0},packages:{"@ngraveio/bc-ur":!0,buffer:!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,tslib:!0}},"@lavamoat/lavadome-react":{globals:{Array:!0,Clipboard:!0,Document:!0,DocumentFragment:!0,Element:!0,Event:!0,EventTarget:!0,Function:!0,JSON:!0,NavigateEvent:!0,NavigationDestination:!0,Node:!0,Number:!0,Object:!0,String:!0,Weakmap:!0,"console.warn":!0,document:!0,navigation:!0},packages:{react:!0}},"@ledgerhq/errors":{globals:{"console.warn":!0}},"@ledgerhq/hw-app-eth":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,"console.warn":!0},packages:{"@ethersproject/abi":!0,"@ethersproject/transactions":!0,"@ledgerhq/errors":!0,"@ledgerhq/hw-app-eth>@ledgerhq/cryptoassets-evm-signatures":!0,"@ledgerhq/hw-app-eth>@ledgerhq/domain-service":!0,"@ledgerhq/hw-app-eth>@ledgerhq/evm-tools":!0,"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,"@ledgerhq/hw-app-eth>bignumber.js":!0,buffer:!0,"ethers>@ethersproject/rlp":!0,semver:!0,"wait-on>axios":!0}},"@ledgerhq/hw-app-eth>@ledgerhq/domain-service":{packages:{"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,"wait-on>axios":!0}},"@ledgerhq/hw-app-eth>@ledgerhq/evm-tools":{packages:{"@ledgerhq/hw-app-eth>@ledgerhq/cryptoassets-evm-signatures":!0,"@ledgerhq/hw-app-eth>@ledgerhq/evm-tools>@ledgerhq/live-env":!0,"@metamask/ppom-validator>crypto-js":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/hash":!0,"wait-on>axios":!0}},"@ledgerhq/hw-app-eth>@ledgerhq/evm-tools>@ledgerhq/live-env":{globals:{"console.warn":!0},packages:{"wait-on>rxjs":!0}},"@ledgerhq/hw-app-eth>@ledgerhq/logs":{globals:{__ledgerLogsListen:"write","console.error":!0}},"@ledgerhq/hw-app-eth>bignumber.js":{globals:{crypto:!0}},"@ledgerhq/hw-transport":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,clearTimeout:!0,"console.warn":!0,setTimeout:!0},packages:{"@ledgerhq/errors":!0,"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,buffer:!0,"webpack>events":!0}},"@ledgerhq/hw-transport-webhid":{globals:{"Buffer.from":!0,navigator:!0},packages:{"@ledgerhq/errors":!0,"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,"@ledgerhq/hw-transport-webhid>@ledgerhq/devices":!0,"@ledgerhq/hw-transport-webhid>@ledgerhq/hw-transport":!0,buffer:!0}},"@ledgerhq/hw-transport-webhid>@ledgerhq/devices":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0},packages:{"@ledgerhq/errors":!0,"@ledgerhq/hw-transport-webhid>@ledgerhq/devices>semver":!0,buffer:!0}},"@ledgerhq/hw-transport-webhid>@ledgerhq/devices>semver":{globals:{"console.error":!0,process:!0},packages:{process:!0}},"@ledgerhq/hw-transport-webhid>@ledgerhq/hw-transport":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,clearTimeout:!0,"console.warn":!0,setTimeout:!0},packages:{"@ledgerhq/errors":!0,"@ledgerhq/hw-app-eth>@ledgerhq/logs":!0,buffer:!0,"webpack>events":!0}},"@metamask/7715-permission-types":{packages:{"@metamask/delegation-core":!0,"@metamask/utils":!0}},"@metamask/abi-utils":{packages:{"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/account-api":{packages:{"@metamask/account-api>@metamask/keyring-utils":!0,"@metamask/keyring-api":!0}},"@metamask/account-api>@metamask/keyring-utils":{packages:{"@metamask/utils":!0}},"@metamask/account-tree-controller":{globals:{"console.warn":!0,setTimeout:!0},packages:{"@metamask/account-api":!0,"@metamask/accounts-controller":!0,"@metamask/base-controller":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller":!0,"@metamask/profile-sync-controller":!0,"@metamask/snaps-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"eslint>fast-deep-equal":!0}},"@metamask/accounts-controller":{globals:{"console.warn":!0},packages:{"@metamask/accounts-controller>ethereum-cryptography":!0,"@metamask/base-controller":!0,"@metamask/eth-snap-keyring":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller":!0,"@metamask/keyring-sdk":!0,"@metamask/keyring-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,lodash:!0,uuid:!0}},"@metamask/accounts-controller>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/accounts-controller>ethereum-cryptography>@noble/hashes":!0}},"@metamask/accounts-controller>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@metamask/address-book-controller":{packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0}},"@metamask/analytics-controller":{packages:{"@metamask/base-controller":!0,"@metamask/utils":!0,lodash:!0,uuid:!0}},"@metamask/announcement-controller":{packages:{"@metamask/base-controller":!0}},"@metamask/approval-controller":{globals:{"console.info":!0},packages:{"@metamask/base-controller":!0,"@metamask/rpc-errors":!0,nanoid:!0}},"@metamask/assets-controller":{globals:{clearInterval:!0,clearTimeout:!0,"console.error":!0,fetch:!0,"performance.now":!0,"performance.timeOrigin":!0,setInterval:!0,setTimeout:!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@ethersproject/abi":!0,"@ethersproject/providers":!0,"@metamask/assets-controller>@metamask/assets-controllers":!0,"@metamask/assets-controller>bignumber.js":!0,"@metamask/assets-controller>p-limit":!0,"@metamask/base-controller":!0,"@metamask/client-controller":!0,"@metamask/controller-utils":!0,"@metamask/core-backend":!0,"@metamask/keyring-snap-client":!0,"@metamask/phishing-controller":!0,"@metamask/polling-controller":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0,"async-mutex":!0,lodash:!0}},"@metamask/assets-controller>@metamask/assets-controllers":{globals:{URL:!0},packages:{"@metamask/controller-utils":!0,"@metamask/utils":!0}},"@metamask/assets-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/assets-controller>p-limit":{packages:{"@metamask/assets-controller>p-limit>yocto-queue":!0}},"@metamask/assets-controllers":{globals:{AbortController:!0,URL:!0,URLSearchParams:!0,clearInterval:!0,clearTimeout:!0,"console.error":!0,"console.log":!0,"console.warn":!0,fetch:!0,setInterval:!0,setTimeout:!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@ethersproject/contracts":!0,"@ethersproject/providers":!0,"@metamask/account-api":!0,"@metamask/assets-controllers>@metamask/abi-utils":!0,"@metamask/assets-controllers>@metamask/keyring-api":!0,"@metamask/assets-controllers>multiformats":!0,"@metamask/assets-controllers>single-call-balance-checker-abi":!0,"@metamask/base-controller":!0,"@metamask/contract-metadata":!0,"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/core-backend":!0,"@metamask/core-backend>@tanstack/query-core":!0,"@metamask/keyring-snap-client":!0,"@metamask/metamask-eth-abis":!0,"@metamask/phishing-controller":!0,"@metamask/polling-controller":!0,"@metamask/rpc-errors":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0,"async-mutex":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/address":!0,immer:!0,lodash:!0,reselect:!0,uuid:!0}},"@metamask/assets-controllers>@metamask/abi-utils":{packages:{"@metamask/assets-controllers>@metamask/abi-utils>@metamask/utils":!0,"@metamask/superstruct":!0}},"@metamask/assets-controllers>@metamask/abi-utils>@metamask/utils":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils>pony-cause":!0,"@noble/hashes":!0,"@scure/base":!0,buffer:!0,"nock>debug":!0,semver:!0}},"@metamask/assets-controllers>@metamask/keyring-api":{packages:{"@metamask/assets-controllers>@metamask/keyring-api>@metamask/keyring-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/assets-controllers>@metamask/keyring-api>@metamask/keyring-utils":{globals:{URL:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/assets-controllers>multiformats":{globals:{TextDecoder:!0,TextEncoder:!0,"console.warn":!0,"crypto.subtle.digest":!0}},"@metamask/authenticated-user-storage":{globals:{fetch:!0},packages:{"@metamask/controller-utils":!0,"@metamask/react-data-query>@metamask/base-data-service":!0,"@metamask/superstruct":!0}},"@metamask/base-controller":{globals:{"console.error":!0},packages:{immer:!0}},"@metamask/bridge-controller":{globals:{AbortController:!0,"Buffer.from":!0,TextDecoder:!0,URLSearchParams:!0,"console.error":!0,"console.log":!0,"console.warn":!0},packages:{"@ethersproject/bignumber":!0,"@ethersproject/contracts":!0,"@ethersproject/providers":!0,"@metamask/bridge-controller>@metamask/multichain-network-controller":!0,"@metamask/bridge-controller>bignumber.js":!0,"@metamask/controller-utils":!0,"@metamask/keyring-api":!0,"@metamask/metamask-eth-abis":!0,"@metamask/multichain-network-controller":!0,"@metamask/polling-controller":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,buffer:!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/constants":!0,lodash:!0,reselect:!0,uuid:!0}},"@metamask/bridge-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/bridge-status-controller":{globals:{URLSearchParams:!0,clearInterval:!0,"console.error":!0,"console.warn":!0,fetch:!0,setInterval:!0,setTimeout:!0},packages:{"@metamask/bridge-controller":!0,"@metamask/bridge-status-controller>bignumber.js":!0,"@metamask/controller-utils":!0,"@metamask/keyring-controller":!0,"@metamask/polling-controller":!0,"@metamask/snaps-controllers":!0,"@metamask/superstruct":!0,"@metamask/transaction-controller":!0,"@metamask/utils":!0,uuid:!0}},"@metamask/bridge-status-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/browser-passworder":{globals:{"Buffer.from":!0,CryptoKey:!0,btoa:!0,"crypto.getRandomValues":!0,"crypto.subtle.decrypt":!0,"crypto.subtle.deriveKey":!0,"crypto.subtle.encrypt":!0,"crypto.subtle.exportKey":!0,"crypto.subtle.importKey":!0},packages:{"@metamask/utils":!0,buffer:!0}},"@metamask/chain-agnostic-permission":{packages:{"@metamask/chain-agnostic-permission>@metamask/api-specs":!0,"@metamask/controller-utils":!0,"@metamask/permission-controller":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0,lodash:!0}},"@metamask/claims-controller":{packages:{"@metamask/base-controller":!0,"@metamask/claims-controller>@metamask/controller-utils":!0,"@metamask/utils":!0}},"@metamask/claims-controller>@metamask/controller-utils":{globals:{"Buffer.from":!0,URL:!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/controller-utils>@spruceid/siwe-parser":!0,"@metamask/utils":!0,buffer:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/client-controller":{packages:{"@metamask/base-controller":!0}},"@metamask/client-utils":{globals:{"Intl.DateTimeFormat":!0,"Intl.NumberFormat":!0},packages:{"@metamask/contract-metadata":!0,"@metamask/controller-utils":!0,"@metamask/keyring-api":!0,"@metamask/snaps-utils>@metamask/slip44":!0,"@metamask/transaction-controller":!0,"@metamask/utils":!0,"eth-chainlist":!0}},"@metamask/compliance-controller":{globals:{URL:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/superstruct":!0,reselect:!0}},"@metamask/config-registry-controller":{globals:{fetch:!0},packages:{"@metamask/config-registry-controller>@metamask/profile-sync-controller":!0,"@metamask/controller-utils":!0,"@metamask/polling-controller":!0,"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/controller-utils":{globals:{"Buffer.from":!0,URL:!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@ethersproject/abi":!0,"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/controller-utils>@spruceid/siwe-parser":!0,"@metamask/utils":!0,buffer:!0,cockatiel:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/controller-utils>@metamask/eth-query":{packages:{"@metamask/ppom-validator>json-rpc-random-id":!0,"browserify>xtend":!0}},"@metamask/controller-utils>@metamask/ethjs-unit":{packages:{"@metamask/controller-utils>@metamask/ethjs-unit>@metamask/number-to-bn":!0,"ethereumjs-util>bn.js":!0}},"@metamask/controller-utils>@metamask/ethjs-unit>@metamask/number-to-bn":{packages:{"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":!0,"ethereumjs-util>bn.js":!0}},"@metamask/controller-utils>@spruceid/siwe-parser":{globals:{"console.error":!0,"console.log":!0},packages:{"@metamask/controller-utils>@spruceid/siwe-parser>apg-js":!0,"@noble/hashes":!0}},"@metamask/controller-utils>@spruceid/siwe-parser>apg-js":{packages:{buffer:!0}},"@metamask/core-backend":{globals:{URL:!0,WebSocket:!0,clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils":!0,"@metamask/core-backend>@tanstack/query-core":!0,"@metamask/utils":!0,cockatiel:!0,uuid:!0}},"@metamask/core-backend>@tanstack/query-core":{globals:{AbortController:!0,addEventListener:!1,clearInterval:!0,clearTimeout:!0,"console.error":!0,document:!1,removeEventListener:!0,setInterval:!0,setTimeout:!0}},"@metamask/delegation-controller":{packages:{"@metamask/base-controller":!0,"@metamask/delegation-controller>@metamask/keyring-controller":!0,"@metamask/utils":!0}},"@metamask/delegation-controller>@metamask/keyring-controller":{globals:{"console.error":!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/base-controller":!0,"@metamask/eth-hd-keyring":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-controller>@metamask/eth-simple-keyring":!0,"@metamask/keyring-controller>ethereumjs-wallet":!0,"@metamask/keyring-controller>ulid":!0,"@metamask/utils":!0,"async-mutex":!0,lodash:!0}},"@metamask/delegation-core":{packages:{"@metamask/abi-utils":!0,"@metamask/utils":!0,"@noble/hashes":!0}},"@metamask/design-system-react":{globals:{"console.warn":!0,"document.addEventListener":!0,"document.body":!0,"document.removeEventListener":!0},packages:{"@metamask/design-system-react>@radix-ui/react-slot":!0,"@metamask/design-system-react>blo":!0,"@metamask/design-system-react>tailwind-merge":!0,"@metamask/design-system-shared":!0,"@metamask/jazzicon":!0,react:!0,"react-dom":!0,"react-focus-lock":!0}},"@metamask/design-system-react>@radix-ui/react-slot":{packages:{"@metamask/design-system-react>@radix-ui/react-slot>@radix-ui/react-compose-refs":!0,react:!0}},"@metamask/design-system-react>@radix-ui/react-slot>@radix-ui/react-compose-refs":{packages:{react:!0}},"@metamask/design-system-react>blo":{globals:{btoa:!0}},"@metamask/design-system-shared":{packages:{"@metamask/utils":!0,react:!0}},"@metamask/eip-5792-middleware":{packages:{"@metamask/eip-5792-middleware>@metamask/transaction-controller":!0,"@metamask/keyring-controller":!0,"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,lodash:!0,uuid:!0}},"@metamask/eip-7702-internal-rpc-middleware":{packages:{"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/ens-controller":{packages:{"@ethersproject/providers":!0,"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/utils":!0,punycode:!0}},"@metamask/eth-hd-keyring":{globals:{"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,TextEncoder:!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/eth-hd-keyring>ethereum-cryptography":!0,"@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk":!0,"@metamask/scure-bip39":!0,"@metamask/snaps-sdk>@metamask/key-tree":!0,"@metamask/utils":!0,buffer:!0}},"@metamask/eth-hd-keyring>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32":{packages:{"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/curves":!0,"@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes":!0,"@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32>@scure/base":!0}},"@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32>@scure/base":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/eth-json-rpc-filters":{globals:{"console.error":!0},packages:{"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/json-rpc-engine":!0,"@metamask/safe-event-emitter":!0,"async-mutex":!0,pify:!0}},"@metamask/eth-json-rpc-middleware":{globals:{setTimeout:!0},packages:{"@metamask/eth-json-rpc-middleware>safe-stable-stringify":!0,"@metamask/eth-sig-util":!0,"@metamask/json-rpc-engine":!0,"@metamask/json-rpc-engine>klona":!0,"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/eth-json-rpc-provider":{packages:{"@metamask/json-rpc-engine":!0,nanoid:!0}},"@metamask/eth-ledger-bridge-keyring":{globals:{addEventListener:!0,"document.createElement":!0,"document.head.appendChild":!0,fetch:!0,removeEventListener:!0,setTimeout:!0},packages:{"@ethereumjs/tx":!0,"@ethereumjs/tx>@ethereumjs/rlp":!0,"@ethereumjs/tx>@ethereumjs/util":!0,"@ledgerhq/hw-transport":!0,"@metamask/eth-qr-keyring>hdkey":!0,"@metamask/eth-sig-util":!0,"@metamask/hw-wallet-sdk":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk":!0,"@metamask/utils":!0,buffer:!0}},"@metamask/eth-qr-keyring":{globals:{"Buffer.concat":!0,"Buffer.from":!0},packages:{"@ethereumjs/tx":!0,"@ethereumjs/tx>@ethereumjs/rlp":!0,"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth":!0,"@metamask/eth-qr-keyring>hdkey":!0,"@metamask/eth-qr-keyring>uuid":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk":!0,"@metamask/utils":!0,buffer:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth":{globals:{"Buffer.from":!0},packages:{"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>uuid":!0,"@metamask/eth-qr-keyring>hdkey":!0,buffer:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util":{globals:{"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Buffer.byteLength":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,"console.warn":!0},packages:{"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>@ethereumjs/rlp":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography":!0,buffer:!0,"eth-lattice-keyring>@ethereumjs/util>micro-ftch":!0,"webpack>events":!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0},packages:{"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/curves":!0,"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@ethereumjs/util>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry":{globals:{Buffer:!0,define:!0},packages:{"@ngraveio/bc-ur":!0,buffer:!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,tslib:!0}},"@metamask/eth-qr-keyring>@keystonehq/bc-ur-registry-eth>uuid":{globals:{crypto:!0,msCrypto:!0}},"@metamask/eth-qr-keyring>hdkey":{packages:{"@ngraveio/bc-ur>assert":!0,"crypto-browserify":!0,"ethereumjs-util>create-hash>ripemd160":!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,"ethereumjs-util>ethereum-cryptography>secp256k1":!0,"mockttp>express>safe-buffer":!0}},"@metamask/eth-qr-keyring>uuid":{globals:{crypto:!0}},"@metamask/eth-sig-util":{globals:{"Buffer.byteLength":!0,"Buffer.concat":!0,"Buffer.from":!0},packages:{"@metamask/abi-utils":!0,"@metamask/eth-sig-util>@ethereumjs/rlp":!0,"@metamask/eth-sig-util>@ethereumjs/util":!0,"@metamask/eth-sig-util>@scure/base":!0,"@metamask/eth-sig-util>ethereum-cryptography":!0,"@metamask/utils":!0,buffer:!0,tweetnacl:!0}},"@metamask/eth-sig-util>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"@metamask/eth-sig-util>@ethereumjs/util":{globals:{"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Buffer.byteLength":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,"console.warn":!0},packages:{"@metamask/eth-sig-util>@ethereumjs/rlp":!0,"@metamask/eth-sig-util>ethereum-cryptography":!0,buffer:!0,"eth-lattice-keyring>@ethereumjs/util>micro-ftch":!0,"webpack>events":!0}},"@metamask/eth-sig-util>@scure/base":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/eth-sig-util>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0},packages:{"@metamask/eth-sig-util>ethereum-cryptography>@noble/curves":!0,"@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-sig-util>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes":!0}},"@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/eth-snap-keyring":{globals:{URL:!0,"console.error":!0,"console.info":!0,"console.warn":!0},packages:{"@ethereumjs/tx":!0,"@metamask/eth-sig-util":!0,"@metamask/eth-snap-keyring>@metamask/keyring-internal-snap-client":!0,"@metamask/eth-snap-keyring>@metamask/keyring-snap-sdk":!0,"@metamask/eth-snap-keyring>uuid":!0,"@metamask/keyring-api":!0,"@metamask/keyring-internal-api":!0,"@metamask/keyring-sdk":!0,"@metamask/keyring-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"async-mutex":!0}},"@metamask/eth-snap-keyring>@metamask/keyring-internal-snap-client":{packages:{"@metamask/keyring-api":!0,"@metamask/keyring-internal-api":!0,"@metamask/keyring-snap-client":!0,"@metamask/keyring-utils":!0}},"@metamask/eth-snap-keyring>@metamask/keyring-snap-sdk":{packages:{"@metamask/superstruct":!0}},"@metamask/eth-snap-keyring>uuid":{globals:{crypto:!0}},"@metamask/eth-token-tracker":{globals:{"console.warn":!0},packages:{"@babel/runtime":!0,"@ethersproject/bignumber":!0,"@ethersproject/contracts":!0,"@ethersproject/providers":!0,"@metamask/eth-token-tracker>@metamask/eth-block-tracker":!0,"@metamask/eth-token-tracker>deep-equal":!0,"@metamask/safe-event-emitter":!0,"ethereumjs-util>bn.js":!0,"human-standard-token-abi":!0}},"@metamask/eth-token-tracker>@metamask/eth-block-tracker":{globals:{clearTimeout:!0,"console.error":!0,setTimeout:!0},packages:{"@metamask/ppom-validator>json-rpc-random-id":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0}},"@metamask/eth-token-tracker>deep-equal":{packages:{"@lavamoat/webpack>json-stable-stringify>isarray":!0,"@lavamoat/webpack>json-stable-stringify>object-keys":!0,"@metamask/eth-token-tracker>deep-equal>es-get-iterator":!0,"@metamask/eth-token-tracker>deep-equal>is-date-object":!0,"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive":!0,"@metamask/eth-token-tracker>deep-equal>which-collection":!0,"@ngraveio/bc-ur>assert>object-is":!0,"browserify>util>is-arguments":!0,"browserify>util>which-typed-array":!0,"gulp>vinyl-fs>object.assign":!0,"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>es-abstract>array-buffer-byte-length":!0,"string.prototype.matchall>es-abstract>is-array-buffer":!0,"string.prototype.matchall>es-abstract>is-regex":!0,"string.prototype.matchall>es-abstract>is-shared-array-buffer":!0,"string.prototype.matchall>get-intrinsic":!0,"string.prototype.matchall>regexp.prototype.flags":!0,"string.prototype.matchall>side-channel":!0}},"@metamask/eth-token-tracker>deep-equal>es-get-iterator":{globals:{process:!0},packages:{"@lavamoat/webpack>json-stable-stringify>isarray":!0,"@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-map":!0,"browserify>util>is-arguments":!0,"eslint-plugin-react>array-includes>is-string":!0,process:!0,"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>es-abstract>is-set":!0,"string.prototype.matchall>es-abstract>stop-iteration-iterator":!0,"string.prototype.matchall>get-intrinsic":!0,"string.prototype.matchall>has-symbols":!0}},"@metamask/eth-token-tracker>deep-equal>is-date-object":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0}},"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive":{packages:{"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-bigint":!0,"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-boolean-object":!0,"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-number-object":!0,"eslint-plugin-react>array-includes>is-string":!0,"string.prototype.matchall>es-abstract>es-to-primitive>is-symbol":!0}},"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-bigint":{packages:{"string.prototype.matchall>es-abstract>unbox-primitive>has-bigints":!0}},"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-boolean-object":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0}},"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-number-object":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0}},"@metamask/eth-token-tracker>deep-equal>which-collection":{packages:{"@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-map":!0,"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakmap":!0,"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakset":!0,"string.prototype.matchall>es-abstract>is-set":!0}},"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakset":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>get-intrinsic":!0}},"@metamask/eth-trezor-keyring":{globals:{"Buffer.from":!0,setTimeout:!0},packages:{"@ethereumjs/tx":!0,"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/eth-qr-keyring>hdkey":!0,"@metamask/eth-sig-util":!0,"@metamask/eth-trezor-keyring>@trezor/connect-plugin-ethereum":!0,"@metamask/hw-wallet-sdk":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk":!0,"@metamask/utils":!0,buffer:!0}},"@metamask/eth-trezor-keyring>@trezor/connect-plugin-ethereum":{packages:{"@metamask/eth-sig-util":!0,tslib:!0}},"@metamask/etherscan-link":{globals:{URL:!0}},"@metamask/gas-fee-controller":{globals:{clearInterval:!0,"console.error":!0,setInterval:!0},packages:{"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/polling-controller":!0,"ethereumjs-util>bn.js":!0,uuid:!0}},"@metamask/gator-permissions-controller":{globals:{clearTimeout:!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/delegation-core":!0,"@metamask/delegation-deployments":!0,"@metamask/gator-permissions-controller>@metamask/abi-utils":!0,"@metamask/gator-permissions-controller>@metamask/transaction-controller":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0}},"@metamask/gator-permissions-controller>@metamask/abi-utils":{packages:{"@metamask/gator-permissions-controller>@metamask/abi-utils>@metamask/utils":!0,"@metamask/superstruct":!0}},"@metamask/gator-permissions-controller>@metamask/abi-utils>@metamask/utils":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils>pony-cause":!0,"@noble/hashes":!0,"@scure/base":!0,buffer:!0,"nock>debug":!0,semver:!0}},"@metamask/geolocation-controller":{globals:{fetch:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0}},"@metamask/jazzicon":{globals:{"document.createElement":!0,"document.createElementNS":!0},packages:{"@metamask/jazzicon>color":!0,"@metamask/jazzicon>mersenne-twister":!0}},"@metamask/jazzicon>color":{packages:{"@metamask/jazzicon>color>clone":!0,"@metamask/jazzicon>color>color-convert":!0,"@metamask/jazzicon>color>color-string":!0}},"@metamask/jazzicon>color>clone":{globals:{Buffer:!0},packages:{buffer:!0}},"@metamask/jazzicon>color>color-convert":{packages:{"@metamask/jazzicon>color>color-convert>color-name":!0}},"@metamask/jazzicon>color>color-string":{packages:{"jest-canvas-mock>moo-color>color-name":!0}},"@metamask/json-rpc-engine":{packages:{"@metamask/json-rpc-engine>klona":!0,"@metamask/messenger":!0,"@metamask/rpc-errors":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0,"deep-freeze-strict":!0}},"@metamask/json-rpc-middleware-stream":{globals:{"console.warn":!0,setTimeout:!0},packages:{"@metamask/json-rpc-middleware-stream>readable-stream":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0}},"@metamask/json-rpc-middleware-stream>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"@metamask/keyring-api":{packages:{"@metamask/keyring-api>@metamask/keyring-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"bitcoin-address-validation":!0}},"@metamask/keyring-api>@metamask/keyring-utils":{globals:{URL:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils":!0}},"@metamask/keyring-controller":{globals:{"console.error":!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/base-controller":!0,"@metamask/eth-hd-keyring":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-controller>@metamask/eth-simple-keyring":!0,"@metamask/keyring-controller>ethereumjs-wallet":!0,"@metamask/keyring-controller>ulid":!0,"@metamask/utils":!0,"async-mutex":!0,lodash:!0}},"@metamask/keyring-controller>@metamask/eth-simple-keyring":{globals:{"Buffer.concat":!0,"Buffer.from":!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography":!0,"@metamask/keyring-sdk":!0,"@metamask/utils":!0,buffer:!0,"crypto-browserify>randombytes":!0}},"@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes":!0}},"@metamask/keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@metamask/keyring-controller>ethereumjs-wallet":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography":!0,"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util":!0,"@metamask/keyring-controller>ethereumjs-wallet>utf8":!0,buffer:!0,"crypto-browserify":!0,"crypto-browserify>randombytes":!0,"eth-lattice-keyring>gridplus-sdk>aes-js":!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,"ethers>@ethersproject/json-wallets>scrypt-js":!0,uuid:!0}},"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography":{globals:{"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{"@ngraveio/bc-ur>assert":!0,buffer:!0,"crypto-browserify>create-hmac":!0,"crypto-browserify>randombytes":!0,"ethereumjs-util>ethereum-cryptography>bs58check":!0,"ethereumjs-util>ethereum-cryptography>keccak":!0,"ethereumjs-util>ethereum-cryptography>secp256k1":!0,"ethers>@ethersproject/sha2>hash.js":!0,"mockttp>express>safe-buffer":!0}},"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util":{globals:{Buffer:!0},packages:{"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography":!0,"@ngraveio/bc-ur>assert":!0,buffer:!0,"ethereumjs-util>bn.js":!0,"ethereumjs-util>create-hash":!0,"ethereumjs-util>rlp":!0}},"@metamask/keyring-controller>ulid":{globals:{"console.error":!0,crypto:!0,require:!0}},"@metamask/keyring-internal-api":{packages:{"@metamask/keyring-api":!0,"@metamask/superstruct":!0}},"@metamask/keyring-sdk":{packages:{"@ethereumjs/tx":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-api":!0,"@metamask/keyring-sdk>ethereum-cryptography":!0,"@metamask/keyring-sdk>uuid":!0,"@metamask/keyring-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"async-mutex":!0}},"@metamask/keyring-sdk>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/keyring-sdk>ethereum-cryptography>@noble/hashes":!0}},"@metamask/keyring-sdk>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@metamask/keyring-sdk>uuid":{globals:{crypto:!0}},"@metamask/keyring-snap-client":{packages:{"@metamask/keyring-api":!0,"@metamask/keyring-snap-client>@metamask/keyring-utils":!0,"@metamask/keyring-snap-client>uuid":!0,"@metamask/superstruct":!0}},"@metamask/keyring-snap-client>@metamask/keyring-utils":{packages:{"@metamask/superstruct":!0}},"@metamask/keyring-snap-client>uuid":{globals:{crypto:!0}},"@metamask/keyring-utils":{packages:{"@metamask/superstruct":!0,"@metamask/utils":!0,"bitcoin-address-validation":!0}},"@metamask/logging-controller":{packages:{"@metamask/base-controller":!0,uuid:!0}},"@metamask/logo":{globals:{addEventListener:!0,"document.body.appendChild":!0,"document.createElementNS":!0,innerHeight:!0,innerWidth:!0,requestAnimationFrame:!0},packages:{"@metamask/logo>gl-mat4":!0,"@metamask/logo>gl-vec3":!0}},"@metamask/message-manager":{globals:{"Buffer.from":!0},packages:{"@metamask/base-controller":!0,"@metamask/message-manager>@metamask/controller-utils":!0,"@metamask/utils":!0,buffer:!0,uuid:!0,"webpack>events":!0}},"@metamask/message-manager>@metamask/controller-utils":{globals:{"Buffer.from":!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/utils":!0,buffer:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/message-manager>jsonschema":{packages:{"browserify>url":!0}},"@metamask/messenger":{globals:{"console.error":!0}},"@metamask/mobile-wallet-protocol-core":{globals:{"Buffer.from":!0,"console.warn":!0,setImmediate:!0,setTimeout:!0},packages:{"@metamask/mobile-wallet-protocol-core>centrifuge":!0,"@metamask/mobile-wallet-protocol-core>eventemitter3":!0,"@metamask/mobile-wallet-protocol-core>uuid":!0,"async-mutex":!0,buffer:!0,"core-js-pure":!0}},"@metamask/mobile-wallet-protocol-core>centrifuge":{globals:{AbortController:!1,Event:!1,EventSource:!1,EventTarget:!1,MessageEvent:!1,ReadableStream:!1,SockJS:!1,SuppressedError:!1,TextDecoder:!0,TextEncoder:!0,URL:!1,WebSocket:!0,WebTransport:!1,addEventListener:!0,clearTimeout:!0,console:!1,"console.warn":!0,document:!1,fetch:!1,localStorage:!1,setTimeout:!0}},"@metamask/mobile-wallet-protocol-core>uuid":{globals:{crypto:!0}},"@metamask/mobile-wallet-protocol-dapp-client":{globals:{clearTimeout:!0,setTimeout:!0},packages:{"@metamask/mobile-wallet-protocol-core":!0,"@metamask/mobile-wallet-protocol-dapp-client>@metamask/utils":!0,"@metamask/mobile-wallet-protocol-dapp-client>uuid":!0}},"@metamask/mobile-wallet-protocol-dapp-client>@metamask/utils":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0},packages:{"@metamask/superstruct":!0,"@scure/base":!0,buffer:!0}},"@metamask/mobile-wallet-protocol-dapp-client>uuid":{globals:{crypto:!0}},"@metamask/multichain-account-service":{globals:{clearTimeout:!0,"console.error":!0,"console.warn":!0,"performance.now":!0,setTimeout:!0},packages:{"@ethereumjs/tx>@ethereumjs/util":!0,"@metamask/account-api":!0,"@metamask/eth-snap-keyring":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller":!0,"@metamask/keyring-snap-client":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0,"async-mutex":!0}},"@metamask/multichain-api-middleware":{globals:{"console.error":!0},packages:{"@metamask/chain-agnostic-permission":!0,"@metamask/controller-utils":!0,"@metamask/eth-json-rpc-filters":!0,"@metamask/json-rpc-engine":!0,"@metamask/message-manager>jsonschema":!0,"@metamask/multichain-api-middleware>@metamask/api-specs":!0,"@metamask/permission-controller":!0,"@metamask/rpc-errors":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0,"@open-rpc/schema-utils-js":!0}},"@metamask/multichain-network-controller":{globals:{URL:!0},packages:{"@metamask/base-controller":!0,"@metamask/keyring-api":!0,"@metamask/multichain-network-controller>@metamask/keyring-api":!0,"@metamask/network-controller":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,lodash:!0}},"@metamask/multichain-transactions-controller":{globals:{"console.error":!0},packages:{"@metamask/base-controller":!0,"@metamask/keyring-api":!0,"@metamask/keyring-snap-client":!0,"@metamask/snaps-utils":!0}},"@metamask/name-controller":{globals:{fetch:!0},packages:{"@metamask/base-controller":!0,"@metamask/name-controller>@metamask/controller-utils":!0,"@metamask/utils":!0,"async-mutex":!0}},"@metamask/name-controller>@metamask/controller-utils":{globals:{"Buffer.from":!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/utils":!0,buffer:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/network-controller":{globals:{"Intl.NumberFormat":!0,URL:!0,btoa:!0,fetch:!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/connectivity-controller":!0,"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/eth-json-rpc-middleware":!0,"@metamask/eth-json-rpc-provider":!0,"@metamask/json-rpc-engine":!0,"@metamask/network-controller>@metamask/eth-block-tracker":!0,"@metamask/network-controller>@metamask/eth-json-rpc-infura":!0,"@metamask/network-controller>@metamask/swappable-obj-proxy":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0,"addons-linter>deepmerge":!0,cockatiel:!0,"eslint>fast-deep-equal":!0,immer:!0,lodash:!0,reselect:!0,"uri-js":!0,uuid:!0}},"@metamask/network-controller>@metamask/eth-block-tracker":{globals:{clearTimeout:!0,"console.error":!0,setTimeout:!0},packages:{"@metamask/ppom-validator>json-rpc-random-id":!0,"@metamask/safe-event-emitter":!0,"@metamask/utils":!0}},"@metamask/network-controller>@metamask/eth-json-rpc-infura":{globals:{fetch:!0,setTimeout:!0},packages:{"@metamask/json-rpc-engine":!0,"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0}},"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider":{packages:{"@metamask/json-rpc-engine":!0,"@metamask/rpc-errors":!0,"@metamask/safe-event-emitter":!0,uuid:!0}},"@metamask/network-enablement-controller":{packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/keyring-api":!0,"@metamask/multichain-network-controller":!0,"@metamask/snaps-utils>@metamask/slip44":!0,"@metamask/utils":!0}},"@metamask/notification-services-controller":{globals:{"Intl.NumberFormat":!0,addEventListener:!0,"console.error":!0,fetch:!0,registration:!0,removeEventListener:!0},packages:{"@metamask/authenticated-user-storage":!0,"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/notification-services-controller>@contentful/rich-text-html-renderer":!0,"@metamask/notification-services-controller>bignumber.js":!0,"@metamask/notification-services-controller>firebase":!0,"@metamask/utils":!0,lodash:!0,loglevel:!0,semver:!0,uuid:!0}},"@metamask/notification-services-controller>@contentful/rich-text-html-renderer":{globals:{SuppressedError:!0}},"@metamask/notification-services-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/notification-services-controller>firebase":{packages:{"@metamask/notification-services-controller>firebase>@firebase/app":!0,"@metamask/notification-services-controller>firebase>@firebase/messaging":!0}},"@metamask/notification-services-controller>firebase>@firebase/app":{globals:{FinalizationRegistry:!0,"console.warn":!0},packages:{"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component":!0,"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/logger":!0,"@metamask/notification-services-controller>firebase>@firebase/app>idb":!0,"@metamask/notification-services-controller>firebase>@firebase/util":!0}},"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component":{packages:{"@metamask/notification-services-controller>firebase>@firebase/util":!0}},"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/logger":{globals:{console:!0}},"@metamask/notification-services-controller>firebase>@firebase/app>idb":{globals:{DOMException:!0,IDBCursor:!0,IDBDatabase:!0,IDBIndex:!0,IDBObjectStore:!0,IDBRequest:!0,IDBTransaction:!0,"indexedDB.deleteDatabase":!0,"indexedDB.open":!0}},"@metamask/notification-services-controller>firebase>@firebase/installations":{globals:{BroadcastChannel:!0,Headers:!0,btoa:!0,"console.error":!0,crypto:!0,fetch:!0,msCrypto:!0,"navigator.onLine":!0,setTimeout:!0},packages:{"@metamask/notification-services-controller>firebase>@firebase/app":!0,"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component":!0,"@metamask/notification-services-controller>firebase>@firebase/app>idb":!0,"@metamask/notification-services-controller>firebase>@firebase/util":!0}},"@metamask/notification-services-controller>firebase>@firebase/messaging":{globals:{Headers:!0,"Notification.maxActions":!0,"Notification.permission":!0,"Notification.requestPermission":!0,"PushSubscription.prototype.hasOwnProperty":!0,ServiceWorkerRegistration:!0,URL:!0,addEventListener:!0,atob:!0,btoa:!0,clearTimeout:!0,"clients.matchAll":!0,"clients.openWindow":!0,"console.warn":!0,document:!0,fetch:!0,indexedDB:!0,"location.href":!0,"location.origin":!0,navigator:!0,"origin.replace":!0,"registration.showNotification":!0,setTimeout:!0},packages:{"@metamask/notification-services-controller>firebase>@firebase/app":!0,"@metamask/notification-services-controller>firebase>@firebase/app>@firebase/component":!0,"@metamask/notification-services-controller>firebase>@firebase/app>idb":!0,"@metamask/notification-services-controller>firebase>@firebase/installations":!0,"@metamask/notification-services-controller>firebase>@firebase/util":!0}},"@metamask/notification-services-controller>firebase>@firebase/util":{globals:{WorkerGlobalScope:!0,atob:!0,browser:!0,btoa:!0,chrome:!0,console:!0,document:!0,indexedDB:!0,navigator:!0,process:!0,setTimeout:!0},packages:{process:!0}},"@metamask/object-multiplex":{globals:{"console.warn":!0},packages:{"@metamask/object-multiplex>once":!0,"@metamask/object-multiplex>readable-stream":!0}},"@metamask/object-multiplex>once":{packages:{"@metamask/object-multiplex>once>wrappy":!0}},"@metamask/object-multiplex>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"@metamask/obs-store":{packages:{"@metamask/obs-store>readable-stream":!0,"@metamask/safe-event-emitter":!0}},"@metamask/obs-store>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"@metamask/passkey-controller":{globals:{TextDecoder:!0,TextEncoder:!0,"crypto.subtle.importKey":!0,"crypto.subtle.verify":!0},packages:{"@metamask/base-controller":!0,"@metamask/passkey-controller>@levischuck/tiny-cbor":!0,"@metamask/utils":!0,"@noble/ciphers":!0,"@noble/curves":!0,"@noble/hashes":!0}},"@metamask/passkey-controller>@levischuck/tiny-cbor":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/permission-controller":{globals:{"console.error":!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/json-rpc-engine":!0,"@metamask/messenger":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0,"deep-freeze-strict":!0,immer:!0,nanoid:!0}},"@metamask/permission-log-controller":{packages:{"@metamask/base-controller":!0,"@metamask/utils":!0}},"@metamask/perps-controller":{globals:{AbortController:!0,clearInterval:!0,clearTimeout:!0,fetch:!0,"performance.now":!0,setInterval:!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/perps-controller>@metamask/abi-utils":!0,"@metamask/perps-controller>@nktkas/hyperliquid":!0,"@metamask/perps-controller>bignumber.js":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,uuid:!0}},"@metamask/perps-controller>@metamask/abi-utils":{packages:{"@metamask/perps-controller>@metamask/abi-utils>@metamask/utils":!0,"@metamask/superstruct":!0}},"@metamask/perps-controller>@metamask/abi-utils>@metamask/utils":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils>pony-cause":!0,"@noble/hashes":!0,"@scure/base":!0,buffer:!0,"nock>debug":!0,semver:!0}},"@metamask/perps-controller>@nktkas/hyperliquid":{globals:{AbortController:!0,AbortSignal:!0,CustomEvent:!0,DOMException:!0,DecompressionStream:!0,Event:!0,EventTarget:!0,Headers:!0,Response:!0,TextDecoder:!0,TextEncoder:!0,URL:!0,atob:!0,clearInterval:!0,clearTimeout:!0,fetch:!0,setInterval:!0,setTimeout:!0},packages:{"@metamask/perps-controller>@nktkas/hyperliquid>@nktkas/rews":!0,"@metamask/perps-controller>@nktkas/hyperliquid>@noble/hashes":!0,"@metamask/perps-controller>@nktkas/hyperliquid>valibot":!0}},"@metamask/perps-controller>@nktkas/hyperliquid>@nktkas/rews":{globals:{AbortController:!0,Blob:!0,CloseEvent:!0,DOMException:!0,Event:!0,EventTarget:!0,MessageEvent:!0,TextEncoder:!0,URL:!0,WebSocket:!0,clearTimeout:!0,setTimeout:!0}},"@metamask/perps-controller>@nktkas/hyperliquid>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/perps-controller>@nktkas/hyperliquid>valibot":{globals:{Blob:!0,File:!0,"Intl.Segmenter":!0,TextEncoder:!0,URL:!0}},"@metamask/perps-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/phishing-controller":{globals:{TextEncoder:!0,URL:!0,"console.error":!0,"console.warn":!0,fetch:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/phishing-controller>ethereum-cryptography":!0,"@metamask/transaction-controller":!0,"@noble/hashes":!0,punycode:!0,"stylelint>fastest-levenshtein":!0}},"@metamask/phishing-controller>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/phishing-controller>ethereum-cryptography>@noble/hashes":!0}},"@metamask/phishing-controller>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@metamask/polling-controller":{globals:{clearTimeout:!0,"console.error":!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"fast-json-stable-stringify":!0,uuid:!0}},"@metamask/post-message-stream":{globals:{"MessageEvent.prototype":!0,WorkerGlobalScope:!0,addEventListener:!0,browser:!0,chrome:!0,"location.origin":!0,postMessage:!0,removeEventListener:!0},packages:{"@metamask/post-message-stream>readable-stream":!0,"@metamask/utils":!0}},"@metamask/post-message-stream>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"@metamask/ppom-validator":{globals:{"Buffer.from":!0,URL:!0,"console.error":!0,crypto:!0},packages:{"@metamask/base-controller":!0,"@metamask/ppom-validator>@metamask/controller-utils":!0,"@metamask/ppom-validator>await-semaphore":!0,"@metamask/ppom-validator>crypto-js":!0,"@metamask/ppom-validator>json-rpc-random-id":!0,"@toruslabs/eccrypto>elliptic":!0,buffer:!0}},"@metamask/ppom-validator>@metamask/controller-utils":{globals:{"Buffer.from":!0,URL:!0,"console.error":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/controller-utils>@metamask/ethjs-unit":!0,"@metamask/controller-utils>@spruceid/siwe-parser":!0,"@metamask/utils":!0,buffer:!0,cockatiel:!0,"eslint>fast-deep-equal":!0,"eth-ens-namehash":!0,"ethereumjs-util>bn.js":!0,lodash:!0}},"@metamask/ppom-validator>await-semaphore":{globals:{process:!0,setImmediate:!0},packages:{"core-js-pure":!0,process:!0}},"@metamask/ppom-validator>crypto-js":{globals:{crypto:!0,define:!0,msCrypto:!0}},"@metamask/profile-metrics-controller":{globals:{URL:!0,"console.error":!0},packages:{"@metamask/controller-utils":!0,"@metamask/polling-controller":!0,"@metamask/profile-sync-controller":!0,"@metamask/snaps-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"async-mutex":!0,uuid:!0}},"@metamask/profile-sync-controller":{globals:{"Buffer.from":!0,Event:!0,TextDecoder:!0,TextEncoder:!0,URL:!0,URLSearchParams:!0,addEventListener:!0,atob:!0,"console.error":!0,"console.warn":!0,dispatchEvent:!0,fetch:!0,removeEventListener:!0,setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/keyring-controller":!0,"@metamask/profile-sync-controller>siwe":!0,"@noble/ciphers":!0,"@noble/hashes":!0,buffer:!0}},"@metamask/profile-sync-controller>siwe":{globals:{"console.error":!0,"console.warn":!0},packages:{"@metamask/controller-utils>@spruceid/siwe-parser>valid-url":!0,"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser":!0,"@metamask/profile-sync-controller>siwe>@stablelib/random":!0,ethers:!0}},"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser":{globals:{"console.error":!0,"console.log":!0},packages:{"@metamask/controller-utils>@spruceid/siwe-parser>apg-js":!0,"@noble/hashes":!0}},"@metamask/profile-sync-controller>siwe>@stablelib/random":{globals:{crypto:!0,msCrypto:!0},packages:{"@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary":!0,"@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/wipe":!0}},"@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary":{packages:{"@metamask/profile-sync-controller>siwe>@stablelib/random>@stablelib/binary>@stablelib/int":!0}},"@metamask/providers":{globals:{console:!0},packages:{"@metamask/json-rpc-engine":!0,"@metamask/json-rpc-middleware-stream":!0,"@metamask/providers>is-stream":!0,"@metamask/providers>readable-stream":!0,"@metamask/rpc-errors":!0,"@metamask/safe-event-emitter":!0,"eslint>fast-deep-equal":!0}},"@metamask/providers>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"@metamask/ramps-controller":{globals:{AbortController:!0,URL:!0,clearInterval:!0,setInterval:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,cockatiel:!0}},"@metamask/rate-limit-controller":{globals:{setTimeout:!0},packages:{"@metamask/base-controller":!0,"@metamask/rpc-errors":!0,"@metamask/utils":!0}},"@metamask/react-data-query":{packages:{"@metamask/react-data-query>@tanstack/query-core":!0,"@metamask/utils":!0}},"@metamask/react-data-query>@metamask/base-data-service":{packages:{"@metamask/controller-utils":!0,"@metamask/messenger":!0,"@metamask/react-data-query>@metamask/base-data-service>@tanstack/query-core":!0,"@metamask/utils":!0,"eslint>fast-deep-equal":!0}},"@metamask/react-data-query>@metamask/base-data-service>@tanstack/query-core":{globals:{AbortController:!0,addEventListener:!1,clearTimeout:!0,console:!0,document:!1,navigator:!0,removeEventListener:!0,setTimeout:!0}},"@metamask/react-data-query>@tanstack/query-core":{globals:{AbortController:!0,addEventListener:!1,clearTimeout:!0,console:!0,document:!1,navigator:!0,removeEventListener:!0,setTimeout:!0}},"@metamask/remote-feature-flag-controller":{globals:{TextEncoder:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/utils":!0,uuid:!0}},"@metamask/rpc-errors":{packages:{"@metamask/rpc-errors>fast-safe-stringify":!0,"@metamask/utils":!0}},"@metamask/safe-event-emitter":{globals:{setTimeout:!0},packages:{"webpack>events":!0}},"@metamask/scure-bip39":{globals:{TextEncoder:!0},packages:{"@metamask/scure-bip39>@noble/hashes":!0,"@metamask/scure-bip39>@scure/base":!0}},"@metamask/scure-bip39>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"@metamask/scure-bip39>@scure/base":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/seedless-onboarding-controller":{packages:{"@metamask/base-controller":!0,"@metamask/seedless-onboarding-controller>@metamask/auth-network-utils":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup":!0,"@metamask/utils":!0,"@noble/ciphers":!0,"@noble/curves":!0,"async-mutex":!0}},"@metamask/seedless-onboarding-controller>@metamask/auth-network-utils":{globals:{"Buffer.from":!0,clearTimeout:!0,setTimeout:!0},packages:{"@noble/hashes":!0,buffer:!0,"eslint>json-stable-stringify-without-jsonify":!0,"ethereumjs-util>bn.js":!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup":{globals:{Buffer:!0,URL:!0,"console.error":!0,fetch:!0},packages:{"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@metamask/auth-network-utils":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/http-helpers":!0,"@noble/ciphers":!0,"@noble/curves":!0,"@noble/hashes":!0,"@toruslabs/eccrypto":!0,buffer:!0,"ethereumjs-util>bn.js":!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@metamask/auth-network-utils":{globals:{"Buffer.concat":!0,"Buffer.from":!0,clearTimeout:!0,setTimeout:!0},packages:{"@noble/curves":!0,"@noble/hashes":!0,"@toruslabs/eccrypto>elliptic":!0,buffer:!0,"eslint>json-stable-stringify-without-jsonify":!0,"ethereumjs-util>bn.js":!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details":{packages:{"@babel/runtime":!0,"@metamask/seedless-onboarding-controller>@metamask/auth-network-utils>@toruslabs/constants":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/fnd-base":!0,"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/http-helpers":!0,loglevel:!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/fnd-base":{packages:{"@metamask/seedless-onboarding-controller>@metamask/auth-network-utils>@toruslabs/constants":!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/fetch-node-details>@toruslabs/http-helpers":{globals:{URL:!0,clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"addons-linter>deepmerge":!0,loglevel:!0}},"@metamask/seedless-onboarding-controller>@metamask/toprf-secure-backup>@toruslabs/http-helpers":{globals:{URL:!0,clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"addons-linter>deepmerge":!0,loglevel:!0}},"@metamask/selected-network-controller":{packages:{"@metamask/base-controller":!0,"@metamask/network-controller>@metamask/swappable-obj-proxy":!0}},"@metamask/sentinel-api-service":{globals:{fetch:!0},packages:{"@metamask/controller-utils":!0,"@metamask/react-data-query>@metamask/base-data-service":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,cockatiel:!0}},"@metamask/shield-controller":{globals:{AbortController:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/shield-controller>@metamask/transaction-controller":!0,"@metamask/signature-controller":!0,"@metamask/utils":!0,cockatiel:!0,lodash:!0}},"@metamask/signature-controller":{globals:{"Buffer.from":!0,fetch:!0},packages:{"@metamask/approval-controller":!0,"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/eth-sig-util":!0,"@metamask/keyring-controller":!0,"@metamask/logging-controller":!0,"@metamask/message-manager>jsonschema":!0,"@metamask/utils":!0,buffer:!0,uuid:!0,"webpack>events":!0}},"@metamask/smart-transactions-controller":{globals:{URLSearchParams:!0,clearInterval:!0,"console.error":!0,"console.log":!0,fetch:!0,setInterval:!0},packages:{"@ethersproject/bytes":!0,"@ethersproject/transactions":!0,"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/polling-controller":!0,"@metamask/smart-transactions-controller>@metamask/transaction-controller":!0,"@metamask/smart-transactions-controller>bignumber.js":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"ethers>@ethersproject/keccak256":!0,lodash:!0,reselect:!0}},"@metamask/smart-transactions-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/snap-account-service":{globals:{"console.error":!0},packages:{"@metamask/eth-snap-keyring":!0,"@metamask/eth-snap-keyring>@metamask/keyring-internal-snap-client":!0,"@metamask/eth-snap-keyring>@metamask/keyring-snap-sdk":!0,"@metamask/keyring-api":!0,"@metamask/keyring-controller":!0,"@metamask/utils":!0,lodash:!0}},"@metamask/snaps-controllers":{globals:{DecompressionStream:!0,URL:!0,WebSocket:!0,clearTimeout:!0,"document.getElementById":!0,fetch:!0,setTimeout:!0},packages:{"@metamask/approval-controller":!0,"@metamask/base-controller":!0,"@metamask/json-rpc-engine":!0,"@metamask/json-rpc-middleware-stream":!0,"@metamask/object-multiplex":!0,"@metamask/permission-controller":!0,"@metamask/post-message-stream":!0,"@metamask/rpc-errors":!0,"@metamask/snaps-controllers>@xstate/fsm":!0,"@metamask/snaps-controllers>concat-stream":!0,"@metamask/snaps-controllers>get-npm-tarball-url":!0,"@metamask/snaps-controllers>readable-stream":!0,"@metamask/snaps-controllers>readable-web-to-node-stream":!0,"@metamask/snaps-controllers>tar-stream":!0,"@metamask/snaps-registry":!0,"@metamask/snaps-rpc-methods":!0,"@metamask/snaps-sdk":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0,"async-mutex":!0,"cron-parser":!0,"eslint>fast-deep-equal":!0,immer:!0,luxon:!0,nanoid:!0,semver:!0}},"@metamask/snaps-controllers>concat-stream":{globals:{"Buffer.concat":!0,"Buffer.isBuffer":!0},packages:{"@metamask/snaps-controllers>readable-stream":!0,"browserify>concat-stream>buffer-from":!0,"browserify>concat-stream>typedarray":!0,buffer:!0,"duplexify>inherits":!0}},"@metamask/snaps-controllers>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"@metamask/snaps-controllers>readable-web-to-node-stream":{packages:{"@metamask/snaps-controllers>readable-web-to-node-stream>readable-stream":!0}},"@metamask/snaps-controllers>readable-web-to-node-stream>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"@metamask/snaps-controllers>tar-stream":{packages:{"@metamask/snaps-controllers>tar-stream>b4a":!0,"@metamask/snaps-controllers>tar-stream>fast-fifo":!0,"@metamask/snaps-controllers>tar-stream>streamx":!0}},"@metamask/snaps-controllers>tar-stream>b4a":{globals:{TextDecoder:!0,TextEncoder:!0}},"@metamask/snaps-controllers>tar-stream>streamx":{globals:{"process.nextTick":!0,queueMicrotask:!0},packages:{"@metamask/snaps-controllers>tar-stream>fast-fifo":!0,"@metamask/snaps-controllers>tar-stream>streamx>events-universal":!0,"@metamask/snaps-controllers>tar-stream>streamx>text-decoder":!0}},"@metamask/snaps-controllers>tar-stream>streamx>events-universal":{packages:{"webpack>events":!0}},"@metamask/snaps-controllers>tar-stream>streamx>text-decoder":{packages:{"@metamask/snaps-controllers>tar-stream>b4a":!0}},"@metamask/snaps-execution-environments":{globals:{"document.getElementById":!0},packages:{"@metamask/post-message-stream":!0,"@metamask/snaps-utils":!0,"@metamask/utils":!0}},"@metamask/snaps-registry":{globals:{crypto:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils":!0,"@noble/curves":!0,"@noble/hashes":!0}},"@metamask/snaps-rpc-methods":{packages:{"@metamask/json-rpc-engine":!0,"@metamask/permission-controller":!0,"@metamask/rpc-errors":!0,"@metamask/snaps-sdk":!0,"@metamask/snaps-sdk>@metamask/key-tree":!0,"@metamask/snaps-utils":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"@noble/hashes":!0,"async-mutex":!0}},"@metamask/snaps-sdk":{globals:{URL:!0},packages:{"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,luxon:!0}},"@metamask/snaps-sdk>@metamask/key-tree":{globals:{"crypto.subtle":!0,ed25519:!0,ed25519Bip32:!0,secp256k1:!0},packages:{"@metamask/scure-bip39":!0,"@metamask/utils":!0,"@noble/curves":!0,"@noble/hashes":!0,"@scure/base":!0}},"@metamask/snaps-utils":{globals:{File:!0,FileReader:!0,TextDecoder:!0,TextEncoder:!0,URL:!0,"console.error":!0,"console.log":!0,"console.warn":!0,"document.body.appendChild":!0,"document.createElement":!0,fetch:!0,navigator:!0},packages:{"@metamask/permission-controller":!0,"@metamask/rpc-errors":!0,"@metamask/snaps-sdk":!0,"@metamask/snaps-sdk>@metamask/key-tree":!0,"@metamask/snaps-utils>@metamask/slip44":!0,"@metamask/snaps-utils>fast-xml-parser":!0,"@metamask/snaps-utils>marked":!0,"@metamask/snaps-utils>rfdc":!0,"@metamask/snaps-utils>validate-npm-package-name":!0,"@metamask/superstruct":!0,"@metamask/utils":!0,"@scure/base":!0,chalk:!0,"cron-parser":!0,"fast-json-stable-stringify":!0,luxon:!0,semver:!0}},"@metamask/snaps-utils>fast-xml-parser":{globals:{"exports.isExist":!0},packages:{"@metamask/snaps-utils>fast-xml-parser>@nodable/entities":!0,"@metamask/snaps-utils>fast-xml-parser>path-expression-matcher":!0,"@metamask/snaps-utils>fast-xml-parser>strnum":!0}},"@metamask/snaps-utils>marked":{globals:{"console.error":!0,"console.warn":!0}},"@metamask/snaps-utils>rfdc":{globals:{Buffer:!0},packages:{buffer:!0}},"@metamask/snaps-utils>validate-npm-package-name":{packages:{"@metamask/snaps-utils>validate-npm-package-name>builtins":!0}},"@metamask/snaps-utils>validate-npm-package-name>builtins":{globals:{"process.version":!0},packages:{process:!0,semver:!0}},"@metamask/storage-service":{globals:{"console.error":!0,"console.warn":!0}},"@metamask/subscription-controller":{globals:{URL:!0},packages:{"@metamask/polling-controller":!0,"@metamask/subscription-controller>@metamask/transaction-controller":!0,"@metamask/subscription-controller>bignumber.js":!0,"@metamask/utils":!0}},"@metamask/subscription-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/transaction-controller":{globals:{"Buffer.from":!0,clearInterval:!0,clearTimeout:!0,"console.error":!0,fetch:!0,setInterval:!0,setTimeout:!0},packages:{"@ethereumjs/tx":!0,"@ethereumjs/tx>@ethereumjs/common":!0,"@ethereumjs/tx>@ethereumjs/rlp":!0,"@ethereumjs/tx>@ethereumjs/util":!0,"@ethersproject/abi":!0,"@ethersproject/contracts":!0,"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/gas-fee-controller":!0,"@metamask/metamask-eth-abis":!0,"@metamask/network-controller":!0,"@metamask/rpc-errors":!0,"@metamask/transaction-controller>@metamask/nonce-tracker":!0,"@metamask/transaction-controller>bignumber.js":!0,"@metamask/transaction-controller>ethereum-cryptography":!0,"@metamask/utils":!0,"async-mutex":!0,buffer:!0,"eth-method-registry":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/wallet":!0,lodash:!0,uuid:!0,"webpack>events":!0}},"@metamask/transaction-controller>@metamask/nonce-tracker":{packages:{"@ethersproject/providers":!0,"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex":!0,"@ngraveio/bc-ur>assert":!0}},"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex":{globals:{clearTimeout:!0,setTimeout:!0},packages:{tslib:!0}},"@metamask/transaction-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/transaction-controller>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0,module:!0},packages:{"@metamask/transaction-controller>ethereum-cryptography>@noble/hashes":!0}},"@metamask/transaction-controller>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0}},"@metamask/transaction-pay-controller":{globals:{AbortController:!0,URLSearchParams:!0,clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@ethersproject/abi":!0,"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/keyring-controller":!0,"@metamask/metamask-eth-abis":!0,"@metamask/network-controller":!0,"@metamask/sentinel-api-service":!0,"@metamask/transaction-controller":!0,"@metamask/transaction-pay-controller>@metamask/ramps-controller":!0,"@metamask/transaction-pay-controller>bignumber.js":!0,"@metamask/utils":!0,lodash:!0}},"@metamask/transaction-pay-controller>@metamask/ramps-controller":{globals:{URL:!0},packages:{"@metamask/controller-utils":!0}},"@metamask/transaction-pay-controller>bignumber.js":{globals:{crypto:!0}},"@metamask/user-operation-controller":{globals:{fetch:!0},packages:{"@metamask/base-controller":!0,"@metamask/controller-utils":!0,"@metamask/controller-utils>@metamask/eth-query":!0,"@metamask/gas-fee-controller":!0,"@metamask/polling-controller":!0,"@metamask/rpc-errors":!0,"@metamask/superstruct":!0,"@metamask/user-operation-controller>@metamask/transaction-controller":!0,"@metamask/utils":!0,"ethereumjs-util>bn.js":!0,lodash:!0,uuid:!0,"webpack>events":!0}},"@metamask/utils":{globals:{Buffer:!0,TextDecoder:!0,TextEncoder:!0,crypto:!0},packages:{"@metamask/superstruct":!0,"@metamask/utils>pony-cause":!0,"@noble/hashes":!0,"@scure/base":!0,buffer:!0,lodash:!0,"nock>debug":!0,semver:!0}},"@metamask/wallet":{packages:{"@metamask/accounts-controller":!0,"@metamask/address-book-controller":!0,"@metamask/approval-controller":!0,"@metamask/browser-passworder":!0,"@metamask/controller-utils":!0,"@metamask/keyring-controller":!0,"@metamask/messenger":!0,"@metamask/network-controller":!0,"@metamask/remote-feature-flag-controller":!0,"@metamask/storage-service":!0,"@metamask/transaction-controller":!0,"@metamask/utils":!0,"@metamask/wallet>@metamask/connectivity-controller":!0}},"@metamask/wallet>@metamask/connectivity-controller":{packages:{"@metamask/base-controller":!0}},"@mui/material":{globals:{CSS:!0,DocumentFragment:!0,IntersectionObserver:!0,MutationObserver:!0,ResizeObserver:!0,addEventListener:!0,cancelAnimationFrame:!0,clearInterval:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,"document.activeElement":!0,"document.body":!0,getSelection:!0,navigator:!0,"performance.now":!0,removeEventListener:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"@emotion/react":!0,"@mui/material>react-is":!0,"@mui/system":!0,"@mui/system>@mui/utils":!0,clsx:!0,"prop-types":!0,react:!0,"react-dom":!0,"react-transition-group":!0}},"@mui/system":{globals:{"console.error":!0,"console.warn":!0,"document.createElement":!0,"document.querySelector":!0,matchMedia:!0},packages:{"@babel/runtime":!0,"@emotion/react":!0,"@mui/system>@mui/private-theming":!0,"@mui/system>@mui/styled-engine":!0,"@mui/system>@mui/utils":!0,"prop-types":!0,react:!0}},"@mui/system>@mui/private-theming":{globals:{"console.error":!0},packages:{"@babel/runtime":!0,"@mui/system>@mui/utils":!0,"prop-types":!0,react:!0}},"@mui/system>@mui/styled-engine":{globals:{"console.error":!0,document:!0},packages:{"@emotion/react":!0,"@emotion/react>@emotion/cache":!0,"@emotion/react>@emotion/serialize":!0,"@emotion/styled":!0,"prop-types":!0,react:!0}},"@mui/system>@mui/utils":{globals:{clearTimeout:!0,"console.error":!0,document:!0,innerWidth:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"@mui/system>@mui/utils>react-is":!0,clsx:!0,react:!0}},"@mui/x-date-pickers":{globals:{Intl:!0,Range:!0,addEventListener:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,document:!0,innerHeight:!0,navigator:!0,orientation:!0,removeEventListener:!0,screen:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"@mui/material":!0,"@mui/system":!0,"@mui/x-date-pickers>@mui/utils":!0,"@mui/x-date-pickers>@mui/x-internals":!0,clsx:!0,luxon:!0,"prop-types":!0,react:!0,"react-transition-group":!0}},"@mui/x-date-pickers>@mui/utils":{globals:{URL:!0,"console.error":!0},packages:{clsx:!0,"prop-types":!0,react:!0}},"@ngraveio/bc-ur":{globals:{"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{"@ngraveio/bc-ur>@keystonehq/alias-sampling":!0,"@ngraveio/bc-ur>assert":!0,"@ngraveio/bc-ur>bignumber.js":!0,"@ngraveio/bc-ur>cbor-sync":!0,"@ngraveio/bc-ur>crc":!0,"@ngraveio/bc-ur>jsbi":!0,"@ngraveio/bc-ur>sha.js":!0,buffer:!0}},"@ngraveio/bc-ur>assert":{globals:{console:!0,"process.emitWarning":!0,"process.stderr":!0},packages:{"@ngraveio/bc-ur>assert>is-nan":!0,"@ngraveio/bc-ur>assert>object-is":!0,"browserify>util":!0,"gulp>vinyl-fs>object.assign":!0,process:!0,"string.prototype.matchall>call-bind":!0}},"@ngraveio/bc-ur>assert>is-nan":{packages:{"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>define-properties":!0}},"@ngraveio/bc-ur>assert>object-is":{packages:{"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>define-properties":!0}},"@ngraveio/bc-ur>bignumber.js":{globals:{crypto:!0,define:!0}},"@ngraveio/bc-ur>cbor-sync":{globals:{Buffer:!0,define:!0},packages:{buffer:!0}},"@ngraveio/bc-ur>crc":{packages:{"@ngraveio/bc-ur>crc>buffer":!0}},"@ngraveio/bc-ur>crc>buffer":{globals:{console:!0},packages:{"base64-js":!0,"buffer>ieee754":!0}},"@ngraveio/bc-ur>jsbi":{globals:{define:!0}},"@ngraveio/bc-ur>sha.js":{packages:{"@ngraveio/bc-ur>sha.js>to-buffer":!0,"duplexify>inherits":!0,"mockttp>express>safe-buffer":!0}},"@ngraveio/bc-ur>sha.js>to-buffer":{packages:{"@lavamoat/webpack>json-stable-stringify>isarray":!0,"mockttp>express>safe-buffer":!0,"string.prototype.matchall>es-abstract>typed-array-buffer":!0}},"@noble/ciphers":{globals:{TextDecoder:!0,TextEncoder:!0,crypto:!0}},"@noble/curves":{packages:{"@noble/hashes":!0}},"@noble/hashes":{globals:{TextDecoder:!0,TextEncoder:!0,crypto:!0}},"@open-rpc/schema-utils-js":{packages:{"@metamask/rpc-errors>fast-safe-stringify":!0,"@open-rpc/meta-schema":!0,"@open-rpc/schema-utils-js>@json-schema-tools/dereferencer":!0,"@open-rpc/schema-utils-js>@json-schema-tools/meta-schema":!0,"@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver":!0,"@open-rpc/schema-utils-js>is-url":!0,"eslint>ajv":!0}},"@open-rpc/schema-utils-js>@json-schema-tools/dereferencer":{packages:{"@metamask/rpc-errors>fast-safe-stringify":!0,"@open-rpc/schema-utils-js>@json-schema-tools/dereferencer>@json-schema-tools/traverse":!0,"@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver":!0}},"@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver":{packages:{"@open-rpc/schema-utils-js>@json-schema-tools/reference-resolver>@json-schema-spec/json-pointer":!0,"@open-rpc/test-coverage>isomorphic-fetch":!0}},"@open-rpc/test-coverage>isomorphic-fetch":{globals:{fetch:!0},packages:{"@open-rpc/test-coverage>isomorphic-fetch>whatwg-fetch":!0}},"@open-rpc/test-coverage>isomorphic-fetch>whatwg-fetch":{globals:{AbortController:!0,Blob:!0,DOMException:!0,FileReader:!0,FormData:!0,"URLSearchParams.prototype.isPrototypeOf":!0,XMLHttpRequest:!0,"console.warn":!0,fetch:!0,setTimeout:!0}},"@popperjs/core":{globals:{Element:!0,HTMLElement:!0,ShadowRoot:!0,devicePixelRatio:!0,document:!0,"navigator.userAgent":!0,"navigator.userAgentData":!0}},"@reduxjs/toolkit":{globals:{AbortController:!0,__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:!0,__REDUX_DEVTOOLS_EXTENSION__:!0,console:!0,process:!0,queueMicrotask:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{"@reduxjs/toolkit>reselect":!0,immer:!0,process:!0,redux:!0,"redux-thunk":!0}},"@rive-app/react-canvas":{globals:{IntersectionObserver:!0,ResizeObserver:!0,addEventListener:!0,clearTimeout:!0,"console.error":!0,devicePixelRatio:!0,"document.documentElement.clientHeight":!0,"document.documentElement.clientWidth":!0,innerHeight:!0,innerWidth:!0,matchMedia:!0,removeEventListener:!0,setTimeout:!0},packages:{"@rive-app/react-canvas>@rive-app/canvas":!0,react:!0}},"@rive-app/react-canvas>@rive-app/canvas":{globals:{AudioContext:!1,Blob:!0,DOMMatrix:!1,FinalizationRegistry:!1,HTMLCanvasElement:!0,Image:!0,Iterator:!1,MouseEvent:!1,Path2D:!0,Request:!0,ResizeObserver:!1,TextDecoder:!0,"URL.createObjectURL":!0,"URL.revokeObjectURL":!0,WebAssembly:!0,XMLHttpRequest:!1,cancelAnimationFrame:!0,clearInterval:!0,clearTimeout:!0,console:!0,crypto:!1,define:!1,devicePixelRatio:!0,document:!1,"document.createElement":!0,fetch:!1,h:!1,importScripts:!1,location:!1,navigator:!1,"navigator.userAgent":!0,"performance.now":!0,prompt:!1,readline:!1,requestAnimationFrame:!0,setTimeout:!0,webkitAudioContext:!1}},"@scure/base":{globals:{TextDecoder:!0,TextEncoder:!0}},"@segment/analytics-node":{globals:{AbortController:!0,EdgeRuntime:!1,URL:!0,WebSocketPair:!1,WorkerGlobalScope:!1,clearTimeout:!0,"console.warn":!0,fetch:!0,importScripts:!1,process:!0,setTimeout:!0},packages:{"@segment/analytics-node>@lukeed/uuid":!0,"@segment/analytics-node>@segment/analytics-core":!0,"@segment/analytics-node>@segment/analytics-generic-utils":!0,"@segment/analytics-node>jose":!0,process:!0}},"@segment/analytics-node>@segment/analytics-core":{globals:{clearTimeout:!0,console:!0,setTimeout:!0},packages:{"@segment/analytics-node>@lukeed/uuid":!0,"@segment/analytics-node>@segment/analytics-core>dset":!0,"@segment/analytics-node>@segment/analytics-generic-utils":!0,tslib:!0}},"@segment/analytics-node>@segment/analytics-generic-utils":{globals:{"console.warn":!0}},"@segment/analytics-node>jose":{globals:{CryptoKey:!0,TextDecoder:!0,TextEncoder:!0,atob:!0,btoa:!0,crypto:!0}},"@sentry/browser":{globals:{Headers:!0,"PerformanceObserver.supportedEntryTypes":!0,URL:!0,WebAssembly:!0,"XMLHttpRequest.prototype":!0,__SENTRY_DEBUG__:!0,__SENTRY_RELEASE__:!0,addEventListener:!0,"console.error":!0,importScripts:!1,setTimeout:!0},packages:{"@sentry/browser>@sentry-internal/browser-utils":!0,"@sentry/core":!0}},"@sentry/browser>@sentry-internal/browser-utils":{globals:{FormData:!0,PerformanceEventTiming:!0,PerformanceObserver:!0,Request:!0,URL:!0,URLSearchParams:!0,"XMLHttpRequest.prototype":!0,__SENTRY_DEBUG__:!0,addEventListener:!0,clearTimeout:!0,performance:!0,setTimeout:!0},packages:{"@sentry/core":!0}},"@sentry/core":{globals:{CustomEvent:!0,DOMError:!0,DOMException:!0,EdgeRuntime:!0,Element:!0,ErrorEvent:!0,Event:!0,"EventTarget.prototype":!0,HTMLElement:!0,Headers:!0,"Node.prototype":!0,PerformanceObserver:!0,Request:!0,Response:!0,TextDecoder:!0,TextEncoder:!0,URL:!0,URLSearchParams:!0,WeakRef:!0,"XMLHttpRequest.prototype":!0,__SENTRY_BROWSER_BUNDLE__:!0,__SENTRY_DEBUG__:!0,__SENTRY_TRACING__:!0,addEventListener:!0,"chrome.app":!0,"chrome.runtime":!0,clearTimeout:!0,console:!0,crypto:!0,devicePixelRatio:!0,document:!0,fetch:"write",history:!0,"location.href":!0,"location.origin":!0,"location.pathname":!0,module:!0,"navigator.connection.effectiveType":!0,"navigator.connection.rtt":!0,"navigator.connection.type":!0,"navigator.deviceMemory":!0,"navigator.hardwareConcurrency":!0,"navigator.language":!0,"navigator.userAgent":!0,"navigator.userAgentData":!0,onerror:"write",onunhandledrejection:"write","performance.getEntries":!0,"performance.getEntriesByType":!0,"performance.mark":!0,"performance.now":!0,"performance.timeOrigin":!0,process:!0,removeEventListener:!0,requestAnimationFrame:"write",requestIdleCallback:!0,setInterval:"write",setTimeout:"write",top:!0},packages:{process:!0}},"@simplewebauthn/browser":{globals:{AbortController:!0,AbortSignal:!0,PublicKeyCredential:!0,atob:!0,btoa:!0,"console.warn":!0,"document.querySelectorAll":!0,"location.hostname":!0,"navigator.credentials.create":!0,"navigator.credentials.get":!0}},"@solana/addresses":{globals:{"Intl.Collator":!0,TextEncoder:!0,"crypto.subtle.digest":!0,"crypto.subtle.exportKey":!0},packages:{"@solana/addresses>@solana/assertions":!0,"@solana/addresses>@solana/codecs-core":!0,"@solana/addresses>@solana/codecs-strings":!0,"@solana/addresses>@solana/errors":!0}},"@solana/addresses>@solana/codecs-core":{packages:{"@solana/addresses>@solana/errors":!0}},"@solana/addresses>@solana/codecs-strings":{globals:{TextDecoder:!0,TextEncoder:!0,atob:!0,btoa:!0},packages:{"@solana/addresses>@solana/codecs-core":!0,"@solana/addresses>@solana/errors":!0}},"@solana/addresses>@solana/errors":{globals:{btoa:!0}},"@storybook/addon-docs>remark-external-links>mdast-util-definitions":{packages:{"react-markdown>unist-util-visit":!0}},"@storybook/react>util-deprecate":{globals:{"console.trace":!0,"console.warn":!0,localStorage:!0}},"@tanstack/react-query":{globals:{ReactQueryClientContext:"write"},packages:{"@tanstack/react-query>@tanstack/query-core":!0,react:!0,"react-redux>use-sync-external-store":!0}},"@tanstack/react-query>@tanstack/query-core":{globals:{AbortController:!0,addEventListener:!1,clearInterval:!0,clearTimeout:!0,document:!1,navigator:!0,removeEventListener:!0,setInterval:!0,setTimeout:!0}},"@tanstack/react-virtual":{globals:{document:!0,scrollY:!0},packages:{"@tanstack/react-virtual>@tanstack/virtual-core":!0,react:!0,"react-dom":!0}},"@tanstack/react-virtual>@tanstack/virtual-core":{globals:{"console.info":!0,"console.warn":!0,requestAnimationFrame:!0}},"@toruslabs/eccrypto":{globals:{"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,crypto:!0,msCrypto:!0},packages:{"@toruslabs/eccrypto>elliptic":!0,buffer:!0}},"@toruslabs/eccrypto>elliptic":{packages:{"@toruslabs/eccrypto>elliptic>brorand":!0,"@toruslabs/eccrypto>elliptic>hmac-drbg":!0,"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,"@toruslabs/eccrypto>elliptic>minimalistic-crypto-utils":!0,"duplexify>inherits":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/sha2>hash.js":!0}},"@toruslabs/eccrypto>elliptic>brorand":{globals:{crypto:!0,msCrypto:!0}},"@toruslabs/eccrypto>elliptic>hmac-drbg":{packages:{"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,"@toruslabs/eccrypto>elliptic>minimalistic-crypto-utils":!0,"ethers>@ethersproject/sha2>hash.js":!0}},"@trezor/connect-web":{globals:{URLSearchParams:!0,__TREZOR_CONNECT_SRC:!0,addEventListener:!0,btoa:!0,chrome:!0,clearInterval:!0,clearTimeout:!0,"console.warn":!0,"document.body":!0,"document.createElement":!0,"document.createTextNode":!0,"document.getElementById":!0,"document.querySelectorAll":!0,"location.origin":!0,navigator:!0,open:!0,origin:!0,removeEventListener:!0,setInterval:!0,setTimeout:!0},packages:{"@trezor/connect-web>@trezor/connect":!0,"@trezor/connect-web>@trezor/connect-common":!0,"@trezor/connect-web>@trezor/connect>@trezor/blockchain-link>@trezor/websocket-client":!0,"@trezor/connect-web>@trezor/utils":!0,tslib:!0,"webpack>events":!0}},"@trezor/connect-web>@trezor/connect":{packages:{"@trezor/connect-web>@trezor/connect>@trezor/device-utils":!0,"@trezor/connect-web>@trezor/connect>@trezor/protobuf":!0,"@trezor/connect-web>@trezor/connect>@trezor/schema-utils":!0,"@trezor/connect-web>@trezor/connect>@trezor/transport":!0,"@trezor/connect-web>@trezor/utils":!0,tslib:!0}},"@trezor/connect-web>@trezor/connect-common":{globals:{"console.warn":!0,"localStorage.getItem":!0,"localStorage.setItem":!0,navigator:!0,setTimeout:!0,window:!0},packages:{"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils":!0,"@trezor/connect-web>@trezor/utils":!0,tslib:!0}},"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils":{globals:{innerHeight:!0,innerWidth:!0,"location.hostname":!0,"location.origin":!0,"navigator.languages":!0,"navigator.platform":!0,"navigator.userAgent":!0,process:!0,"screen.height":!0,"screen.width":!0},packages:{"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils>ua-parser-js":!0,process:!0}},"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils>ua-parser-js":{globals:{define:!0,"navigator.userAgentData":!0}},"@trezor/connect-web>@trezor/connect>@trezor/blockchain-link>@trezor/websocket-client":{globals:{WebSocket:!0,clearTimeout:!0,setTimeout:!0},packages:{"@trezor/connect-web>@trezor/utils":!0,tslib:!0,"webpack>events":!0}},"@trezor/connect-web>@trezor/connect>@trezor/device-utils":{packages:{tslib:!0}},"@trezor/connect-web>@trezor/connect>@trezor/protobuf":{globals:{"Buffer.from":!0},packages:{"@google/genai>protobufjs":!0,"@trezor/connect-web>@trezor/connect>@trezor/protobuf>long":!0,"@trezor/connect-web>@trezor/connect>@trezor/schema-utils":!0,buffer:!0,tslib:!0}},"@trezor/connect-web>@trezor/connect>@trezor/protobuf>long":{globals:{"WebAssembly.Instance":!0,"WebAssembly.Module":!0,define:!0}},"@trezor/connect-web>@trezor/connect>@trezor/schema-utils":{globals:{Buffer:!0,"console.warn":!0},packages:{"@trezor/connect-web>@trezor/connect>@trezor/schema-utils>@sinclair/typebox":!0,buffer:!0,"ts-mixer":!0}},"@trezor/connect-web>@trezor/utils":{globals:{AbortController:!0,Blob:!0,"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Intl.NumberFormat":!0,TextEncoder:!0,clearInterval:!0,clearTimeout:!0,"console.error":!0,"console.info":!0,"console.log":!0,"console.warn":!0,"crypto.getRandomValues":!0,setInterval:!0,setTimeout:!0},packages:{"@trezor/connect-web>@trezor/utils>bignumber.js":!0,buffer:!0,tslib:!0,"webpack>events":!0}},"@trezor/connect-web>@trezor/utils>bignumber.js":{globals:{crypto:!0,define:!0}},"@zxing/browser":{globals:{HTMLElement:!0,HTMLImageElement:!0,HTMLVideoElement:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,document:!0,navigator:!0,setTimeout:!0},packages:{"@zxing/library":!0}},"@zxing/library":{globals:{HTMLImageElement:!0,HTMLVideoElement:!0,TextDecoder:!0,TextEncoder:!0,"URL.createObjectURL":!0,btoa:!0,"console.log":!0,"console.warn":!0,document:!0,navigator:!0,setTimeout:!0},packages:{"@zxing/library>ts-custom-error":!0}},"async-mutex":{globals:{clearTimeout:!0,setTimeout:!0},packages:{tslib:!0}},"base32-encode":{packages:{"base32-encode>to-data-view":!0}},"bignumber.js":{globals:{crypto:!0,define:!0}},bowser:{globals:{define:!0}},"browserify>concat-stream>buffer-from":{globals:{Buffer:!0},packages:{buffer:!0}},"browserify>string_decoder":{packages:{"mockttp>express>safe-buffer":!0}},"browserify>url":{packages:{"browserify>url>punycode":!0,"mockttp>express>qs":!0}},"browserify>url>punycode":{globals:{define:!0}},"browserify>util":{globals:{SharedArrayBuffer:!0,"console.error":!0,"console.log":!0,"console.trace":!0,process:!0},packages:{"browserify>util>is-arguments":!0,"browserify>util>is-generator-function":!0,"browserify>util>is-typed-array":!0,"browserify>util>which-typed-array":!0,"duplexify>inherits":!0,process:!0}},"browserify>util>is-arguments":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bind":!0}},"browserify>util>is-generator-function":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>get-proto":!0,"string.prototype.matchall>es-abstract>safe-regex-test":!0,"string.prototype.matchall>get-intrinsic>generator-function":!0}},"browserify>util>is-typed-array":{packages:{"browserify>util>which-typed-array":!0}},"browserify>util>which-typed-array":{packages:{"browserify>util>which-typed-array>for-each":!0,"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>available-typed-arrays":!0,"string.prototype.matchall>es-abstract>get-proto":!0,"string.prototype.matchall>gopd":!0}},"browserify>util>which-typed-array>for-each":{packages:{"string.prototype.matchall>es-abstract>is-callable":!0}},bs58:{packages:{"bs58>base-x":!0}},buffer:{globals:{SharedArrayBuffer:!0,console:!0},packages:{"base64-js":!0,"buffer>ieee754":!0}},chalk:{packages:{"chalk>ansi-styles":!0,"chalk>supports-color":!0}},"chalk>ansi-styles":{packages:{"chalk>ansi-styles>color-convert":!0}},"chalk>ansi-styles>color-convert":{packages:{"jest-canvas-mock>moo-color>color-name":!0}},"chart.js":{globals:{"Intl.NumberFormat":!0,MutationObserver:!0,OffscreenCanvas:!0,Path2D:!0,ResizeObserver:!0,addEventListener:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,devicePixelRatio:!0,document:!0,removeEventListener:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{"chart.js>@kurkle/color":!0}},cockatiel:{globals:{AbortController:!0,AbortSignal:!0,WeakRef:!0,clearTimeout:!0,performance:!0,"process.hrtime.bigint":!0,setTimeout:!0},packages:{process:!0}},"core-js-pure":{globals:{"Bun.version":!0,"Deno.version":!0,document:!0,setTimeout:!0}},"cron-parser":{packages:{luxon:!0}},"crypto-browserify":{packages:{"crypto-browserify>browserify-cipher":!0,"crypto-browserify>browserify-sign":!0,"crypto-browserify>create-ecdh":!0,"crypto-browserify>create-hmac":!0,"crypto-browserify>diffie-hellman":!0,"crypto-browserify>pbkdf2":!0,"crypto-browserify>public-encrypt":!0,"crypto-browserify>randombytes":!0,"crypto-browserify>randomfill":!0,"ethereumjs-util>create-hash":!0}},"crypto-browserify>browserify-cipher":{packages:{"crypto-browserify>browserify-cipher>browserify-des":!0,"crypto-browserify>browserify-cipher>evp_bytestokey":!0,"ethereumjs-util>ethereum-cryptography>browserify-aes":!0}},"crypto-browserify>browserify-cipher>browserify-des":{globals:{Buffer:!0},packages:{buffer:!0,"crypto-browserify>browserify-cipher>browserify-des>des.js":!0,"duplexify>inherits":!0,"ethereumjs-util>create-hash>cipher-base":!0}},"crypto-browserify>browserify-cipher>browserify-des>des.js":{packages:{"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,"duplexify>inherits":!0}},"crypto-browserify>browserify-cipher>evp_bytestokey":{packages:{"ethereumjs-util>create-hash>md5.js":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>browserify-sign":{packages:{"@toruslabs/eccrypto>elliptic":!0,"crypto-browserify>browserify-sign>readable-stream":!0,"crypto-browserify>create-hmac":!0,"crypto-browserify>public-encrypt>browserify-rsa":!0,"crypto-browserify>public-encrypt>parse-asn1":!0,"duplexify>inherits":!0,"ethereumjs-util>bn.js":!0,"ethereumjs-util>create-hash":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>browserify-sign>readable-stream":{globals:{"process.browser":!0,"process.stderr":!0,"process.stdout":!0,"process.version.slice":!0,setImmediate:!0},packages:{"@storybook/react>util-deprecate":!0,"core-js-pure":!0,"crypto-browserify>browserify-sign>readable-stream>isarray":!0,"crypto-browserify>browserify-sign>readable-stream>safe-buffer":!0,"crypto-browserify>browserify-sign>readable-stream>string_decoder":!0,"duplexify>inherits":!0,process:!0,"readable-stream-2>core-util-is":!0,"readable-stream-2>process-nextick-args":!0,"webpack>events":!0}},"crypto-browserify>browserify-sign>readable-stream>safe-buffer":{packages:{buffer:!0}},"crypto-browserify>browserify-sign>readable-stream>string_decoder":{packages:{"crypto-browserify>browserify-sign>readable-stream>string_decoder>safe-buffer":!0}},"crypto-browserify>browserify-sign>readable-stream>string_decoder>safe-buffer":{packages:{buffer:!0}},"crypto-browserify>create-ecdh":{globals:{Buffer:!0},packages:{"@toruslabs/eccrypto>elliptic":!0,buffer:!0,"ethereumjs-util>bn.js":!0}},"crypto-browserify>create-hmac":{packages:{"@ngraveio/bc-ur>sha.js":!0,"duplexify>inherits":!0,"ethereumjs-util>create-hash":!0,"ethereumjs-util>create-hash>cipher-base":!0,"ethereumjs-util>create-hash>ripemd160":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>diffie-hellman":{globals:{Buffer:!0},packages:{buffer:!0,"crypto-browserify>diffie-hellman>miller-rabin":!0,"crypto-browserify>randombytes":!0,"ethereumjs-util>bn.js":!0}},"crypto-browserify>diffie-hellman>miller-rabin":{packages:{"@toruslabs/eccrypto>elliptic>brorand":!0,"ethereumjs-util>bn.js":!0}},"crypto-browserify>pbkdf2":{globals:{crypto:!0,process:!0,queueMicrotask:!0,setImmediate:!0,setTimeout:!0},packages:{"@ngraveio/bc-ur>sha.js":!0,"@ngraveio/bc-ur>sha.js>to-buffer":!0,"crypto-browserify>pbkdf2>create-hash":!0,"crypto-browserify>pbkdf2>ripemd160":!0,"mockttp>express>safe-buffer":!0,process:!0}},"crypto-browserify>pbkdf2>create-hash":{globals:{Buffer:!0},packages:{buffer:!0}},"crypto-browserify>pbkdf2>ripemd160":{globals:{Buffer:!0},packages:{buffer:!0,"crypto-browserify>pbkdf2>ripemd160>hash-base":!0,"duplexify>inherits":!0}},"crypto-browserify>pbkdf2>ripemd160>hash-base":{globals:{Buffer:!0},packages:{buffer:!0,"duplexify>inherits":!0,"stream-browserify":!0}},"crypto-browserify>public-encrypt":{packages:{"crypto-browserify>public-encrypt>browserify-rsa":!0,"crypto-browserify>public-encrypt>parse-asn1":!0,"crypto-browserify>randombytes":!0,"ethereumjs-util>bn.js":!0,"ethereumjs-util>create-hash":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>public-encrypt>browserify-rsa":{packages:{"crypto-browserify>randombytes":!0,"ethereumjs-util>bn.js":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>public-encrypt>parse-asn1":{packages:{"crypto-browserify>browserify-cipher>evp_bytestokey":!0,"crypto-browserify>pbkdf2":!0,"crypto-browserify>public-encrypt>parse-asn1>asn1.js":!0,"ethereumjs-util>ethereum-cryptography>browserify-aes":!0,"mockttp>express>safe-buffer":!0}},"crypto-browserify>public-encrypt>parse-asn1>asn1.js":{packages:{"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,buffer:!0,"duplexify>inherits":!0,"ethereumjs-util>bn.js":!0}},"crypto-browserify>randombytes":{globals:{crypto:!0,msCrypto:!0,"process.nextTick":!0},packages:{"mockttp>express>safe-buffer":!0,process:!0}},"crypto-browserify>randomfill":{globals:{crypto:!0,msCrypto:!0,"process.browser":!0,"process.nextTick":!0},packages:{"crypto-browserify>randombytes":!0,"mockttp>express>safe-buffer":!0,process:!0}},"currency-formatter":{packages:{"currency-formatter>accounting":!0,"currency-formatter>locale-currency":!0,"prop-types>object-assign":!0}},"currency-formatter>accounting":{globals:{define:!0}},"currency-formatter>locale-currency":{globals:{countryCode:!0}},dompurify:{globals:{"console.warn":!0}},eciesjs:{packages:{"@noble/ciphers":!0,"@noble/curves":!0,"@noble/hashes":!0,"eciesjs>@ecies/ciphers":!0}},"eciesjs>@ecies/ciphers":{packages:{"@noble/ciphers":!0}},"eslint-plugin-react>array-includes>is-string":{packages:{"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0}},"eslint-plugin-react>es-iterator-helpers>has-property-descriptors":{packages:{"string.prototype.matchall>call-bind>es-define-property":!0}},"eslint-plugin-react>es-iterator-helpers>has-proto>dunder-proto":{packages:{"string.prototype.matchall>call-bind>call-bind-apply-helpers":!0,"string.prototype.matchall>gopd":!0}},"eslint-plugin-react>hasown":{packages:{"browserify>has>function-bind":!0}},"eslint>ajv":{globals:{console:!0},packages:{"eslint>ajv>json-schema-traverse":!0,"eslint>fast-deep-equal":!0,"fast-json-stable-stringify":!0,"uri-js":!0}},"eth-ens-namehash":{globals:{Buffer:!0,name:"write"},packages:{buffer:!0,"eth-ens-namehash>idna-uts46-hx":!0,"eth-ens-namehash>js-sha3":!0}},"eth-ens-namehash>idna-uts46-hx":{globals:{define:!0},packages:{"eth-ens-namehash>idna-uts46-hx>punycode":!0}},"eth-ens-namehash>js-sha3":{globals:{define:!0,process:!0},packages:{process:!0}},"eth-lattice-keyring":{globals:{"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,addEventListener:!0,browser:!0,clearInterval:!0,open:!0,setInterval:!0},packages:{"@ethereumjs/tx":!0,buffer:!0,"crypto-browserify":!0,"eth-lattice-keyring>@ethereumjs/util":!0,"eth-lattice-keyring>gridplus-sdk":!0,"eth-lattice-keyring>rlp":!0,"ethereumjs-util>bn.js":!0,"webpack>events":!0}},"eth-lattice-keyring>@ethereumjs/util":{globals:{"Buffer.alloc":!0,"Buffer.allocUnsafe":!0,"Buffer.byteLength":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,"console.warn":!0},packages:{buffer:!0,"eth-lattice-keyring>@ethereumjs/util>@ethereumjs/rlp":!0,"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography":!0,"eth-lattice-keyring>@ethereumjs/util>micro-ftch":!0,"webpack>events":!0}},"eth-lattice-keyring>@ethereumjs/util>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography":{globals:{TextDecoder:!0,crypto:!0},packages:{"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/curves":!0,"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/curves":{globals:{TextEncoder:!0},packages:{"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/hashes":!0}},"eth-lattice-keyring>@ethereumjs/util>ethereum-cryptography>@noble/hashes":{globals:{TextEncoder:!0,crypto:!0}},"eth-lattice-keyring>@ethereumjs/util>micro-ftch":{globals:{"Buffer.concat":!0,Headers:!0,TextDecoder:!0,URL:!0,btoa:!0,fetch:!0,process:!0},packages:{"browserify>url":!0,"browserify>util":!0,buffer:!0,"https-browserify":!0,process:!0,"stream-http":!0}},"eth-lattice-keyring>gridplus-sdk":{globals:{AbortController:!0,"Buffer.alloc":!0,"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0,Request:!0,URL:!0,caches:!0,clearTimeout:!0,"console.debug":!0,"console.error":!0,"console.log":!0,"console.warn":!0,fetch:!0,setTimeout:!0,structuredClone:!0},packages:{"@metamask/eth-sig-util":!0,"@toruslabs/eccrypto>elliptic":!0,"bitcoin-address-validation>bech32":!0,buffer:!0,"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp":!0,"eth-lattice-keyring>gridplus-sdk>aes-js":!0,"eth-lattice-keyring>gridplus-sdk>bignumber.js":!0,"eth-lattice-keyring>gridplus-sdk>bs58check":!0,"eth-lattice-keyring>gridplus-sdk>cbor":!0,"eth-lattice-keyring>gridplus-sdk>cbor-bigdecimal":!0,"eth-lattice-keyring>gridplus-sdk>crc-32":!0,"eth-lattice-keyring>gridplus-sdk>ox":!0,"eth-lattice-keyring>gridplus-sdk>secp256k1":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/sha2>hash.js":!0,lodash:!0,"openai>zod":!0,uuid:!0,viem:!0,"viem>abitype":!0}},"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp":{globals:{TextEncoder:!0}},"eth-lattice-keyring>gridplus-sdk>aes-js":{globals:{define:!0}},"eth-lattice-keyring>gridplus-sdk>bignumber.js":{globals:{crypto:!0,define:!0}},"eth-lattice-keyring>gridplus-sdk>bs58check":{packages:{"@noble/hashes":!0,bs58:!0}},"eth-lattice-keyring>gridplus-sdk>cbor":{globals:{TextDecoder:!0,URL:!0},packages:{buffer:!0,"eth-lattice-keyring>gridplus-sdk>cbor>nofilter":!0,"stream-browserify":!0}},"eth-lattice-keyring>gridplus-sdk>cbor-bigdecimal":{globals:{define:!0},packages:{"eth-lattice-keyring>gridplus-sdk>bignumber.js":!0}},"eth-lattice-keyring>gridplus-sdk>cbor>nofilter":{globals:{TextDecoder:!0},packages:{buffer:!0,"stream-browserify":!0}},"eth-lattice-keyring>gridplus-sdk>crc-32":{globals:{DO_NOT_EXPORT_CRC:!0,define:!0}},"eth-lattice-keyring>gridplus-sdk>ox":{globals:{TextDecoder:!0,TextEncoder:!0,"crypto.getRandomValues":!0},packages:{"@noble/hashes":!0,"eth-lattice-keyring>gridplus-sdk>ox>@noble/curves":!0}},"eth-lattice-keyring>gridplus-sdk>secp256k1":{packages:{"@toruslabs/eccrypto>elliptic":!0}},"eth-lattice-keyring>rlp":{globals:{TextEncoder:!0}},"eth-method-registry":{packages:{"eth-method-registry>@metamask/ethjs-contract":!0,"eth-method-registry>@metamask/ethjs-query":!0}},"eth-method-registry>@metamask/ethjs-contract":{packages:{"@babel/runtime":!0,"eth-ens-namehash>js-sha3":!0,"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter":!0,"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util":!0,"eth-method-registry>@metamask/ethjs-contract>ethjs-abi":!0,"eth-method-registry>@metamask/ethjs-query>promise-to-callback":!0}},"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter":{globals:{clearInterval:!0,setInterval:!0}},"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util":{globals:{"Buffer.byteLength":!0,"Buffer.from":!0},packages:{buffer:!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>is-hex-prefixed":!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":!0}},"eth-method-registry>@metamask/ethjs-contract>ethjs-abi":{globals:{Buffer:!0},packages:{buffer:!0,"eth-ens-namehash>js-sha3":!0,"eth-method-registry>@metamask/ethjs-contract>ethjs-abi>number-to-bn":!0,"ethereumjs-util>bn.js":!0}},"eth-method-registry>@metamask/ethjs-contract>ethjs-abi>number-to-bn":{packages:{"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":!0,"ethereumjs-util>bn.js":!0}},"eth-method-registry>@metamask/ethjs-query":{globals:{console:!0},packages:{"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format":!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc":!0,"eth-method-registry>@metamask/ethjs-query>promise-to-callback":!0}},"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format":{packages:{"@metamask/controller-utils>@metamask/ethjs-unit>@metamask/number-to-bn":!0,"eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util":!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>ethjs-schema":!0,"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":!0}},"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix":{packages:{"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>is-hex-prefixed":!0}},"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc":{packages:{"eth-method-registry>@metamask/ethjs-query>promise-to-callback":!0}},"eth-method-registry>@metamask/ethjs-query>promise-to-callback":{packages:{"eth-method-registry>@metamask/ethjs-query>promise-to-callback>is-fn":!0,"eth-method-registry>@metamask/ethjs-query>promise-to-callback>set-immediate-shim":!0}},"eth-method-registry>@metamask/ethjs-query>promise-to-callback>set-immediate-shim":{globals:{setImmediate:!0,"setTimeout.apply":!0},packages:{"core-js-pure":!0}},"ethereum-cryptography":{globals:{TextDecoder:!0},packages:{"@noble/hashes":!0,"ethereum-cryptography>@noble/curves":!0}},"ethereumjs-util":{globals:{Buffer:!0},packages:{"@ngraveio/bc-ur>assert":!0,buffer:!0,"ethereumjs-util>bn.js":!0,"ethereumjs-util>create-hash":!0,"ethereumjs-util>ethereum-cryptography":!0,"ethereumjs-util>rlp":!0}},"ethereumjs-util>bn.js":{globals:{Buffer:!0}},"ethereumjs-util>create-hash":{packages:{"@ngraveio/bc-ur>sha.js":!0,"duplexify>inherits":!0,"ethereumjs-util>create-hash>cipher-base":!0,"ethereumjs-util>create-hash>md5.js":!0,"ethereumjs-util>create-hash>ripemd160":!0}},"ethereumjs-util>create-hash>cipher-base":{packages:{"browserify>string_decoder":!0,"duplexify>inherits":!0,"mockttp>express>safe-buffer":!0,"stream-browserify":!0}},"ethereumjs-util>create-hash>md5.js":{packages:{"duplexify>inherits":!0,"ethereumjs-util>create-hash>md5.js>hash-base":!0,"mockttp>express>safe-buffer":!0}},"ethereumjs-util>create-hash>md5.js>hash-base":{packages:{"duplexify>inherits":!0,"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream":!0,"mockttp>express>safe-buffer":!0}},"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"ethereumjs-util>create-hash>ripemd160":{packages:{buffer:!0,"duplexify>inherits":!0,"ethereumjs-util>create-hash>ripemd160>hash-base":!0}},"ethereumjs-util>create-hash>ripemd160>hash-base":{packages:{"duplexify>inherits":!0,"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream":!0,"mockttp>express>safe-buffer":!0}},"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"ethereumjs-util>ethereum-cryptography":{globals:{"Buffer.from":!0},packages:{buffer:!0,"crypto-browserify>randombytes":!0,"ethereumjs-util>ethereum-cryptography>keccak":!0,"ethereumjs-util>ethereum-cryptography>secp256k1":!0}},"ethereumjs-util>ethereum-cryptography>browserify-aes":{globals:{"Buffer.concat":!0},packages:{buffer:!0,"crypto-browserify>browserify-cipher>evp_bytestokey":!0,"duplexify>inherits":!0,"ethereumjs-util>create-hash>cipher-base":!0,"ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor":!0,"mockttp>express>safe-buffer":!0}},"ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor":{globals:{Buffer:!0},packages:{buffer:!0}},"ethereumjs-util>ethereum-cryptography>bs58check":{packages:{"ethereumjs-util>create-hash":!0,"ethereumjs-util>ethereum-cryptography>bs58check>bs58":!0,"mockttp>express>safe-buffer":!0}},"ethereumjs-util>ethereum-cryptography>bs58check>bs58":{packages:{"@ensdomains/content-hash>multihashes>multibase>base-x":!0}},"ethereumjs-util>ethereum-cryptography>keccak":{globals:{"Buffer.alloc":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{buffer:!0,"ethereumjs-util>ethereum-cryptography>keccak>readable-stream":!0}},"ethereumjs-util>ethereum-cryptography>keccak>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"ethereumjs-util>ethereum-cryptography>secp256k1":{packages:{"@toruslabs/eccrypto>elliptic":!0}},"ethereumjs-util>rlp":{globals:{"Buffer.concat":!0,"Buffer.from":!0,"Buffer.isBuffer":!0},packages:{buffer:!0,"ethereumjs-util>bn.js":!0}},ethers:{packages:{"@ethersproject/abi":!0,"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"@ethersproject/contracts":!0,"@ethersproject/hdnode":!0,"@ethersproject/providers":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/abstract-signer":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/base64":!0,"ethers>@ethersproject/basex":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/json-wallets":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/random":!0,"ethers>@ethersproject/rlp":!0,"ethers>@ethersproject/sha2":!0,"ethers>@ethersproject/signing-key":!0,"ethers>@ethersproject/solidity":!0,"ethers>@ethersproject/strings":!0,"ethers>@ethersproject/units":!0,"ethers>@ethersproject/wallet":!0,"ethers>@ethersproject/web":!0,"ethers>@ethersproject/wordlists":!0}},"ethers>@ethersproject/abstract-provider":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0}},"ethers>@ethersproject/abstract-signer":{packages:{"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0}},"ethers>@ethersproject/address":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/rlp":!0}},"ethers>@ethersproject/base64":{globals:{atob:!0,btoa:!0},packages:{"@ethersproject/bytes":!0}},"ethers>@ethersproject/basex":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/properties":!0}},"ethers>@ethersproject/constants":{packages:{"@ethersproject/bignumber":!0}},"ethers>@ethersproject/hash":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/base64":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/strings":!0}},"ethers>@ethersproject/json-wallets":{packages:{"@ethersproject/bytes":!0,"@ethersproject/hdnode":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/json-wallets>aes-js":!0,"ethers>@ethersproject/json-wallets>scrypt-js":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/pbkdf2":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/random":!0,"ethers>@ethersproject/strings":!0}},"ethers>@ethersproject/json-wallets>aes-js":{globals:{define:!0}},"ethers>@ethersproject/json-wallets>scrypt-js":{globals:{define:!0,setImmediate:!0,setTimeout:!0},packages:{"core-js-pure":!0}},"ethers>@ethersproject/keccak256":{packages:{"@ethersproject/bytes":!0,"eth-ens-namehash>js-sha3":!0}},"ethers>@ethersproject/logger":{globals:{console:!0}},"ethers>@ethersproject/networks":{packages:{"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/pbkdf2":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/sha2":!0}},"ethers>@ethersproject/properties":{packages:{"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/random":{globals:{"crypto.getRandomValues":!0},packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/rlp":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/sha2":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/sha2>hash.js":!0}},"ethers>@ethersproject/sha2>hash.js":{packages:{"@toruslabs/eccrypto>elliptic>minimalistic-assert":!0,"duplexify>inherits":!0}},"ethers>@ethersproject/signing-key":{packages:{"@ethersproject/bytes":!0,"ethereumjs-util>bn.js":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/sha2>hash.js":!0}},"ethers>@ethersproject/solidity":{packages:{"@ethersproject/bignumber":!0,"@ethersproject/bytes":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/sha2":!0,"ethers>@ethersproject/strings":!0}},"ethers>@ethersproject/strings":{packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/constants":!0,"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/units":{packages:{"@ethersproject/bignumber":!0,"ethers>@ethersproject/logger":!0}},"ethers>@ethersproject/wallet":{packages:{"@ethersproject/bytes":!0,"@ethersproject/hdnode":!0,"@ethersproject/transactions":!0,"ethers>@ethersproject/abstract-provider":!0,"ethers>@ethersproject/abstract-signer":!0,"ethers>@ethersproject/address":!0,"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/json-wallets":!0,"ethers>@ethersproject/keccak256":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/random":!0,"ethers>@ethersproject/signing-key":!0}},"ethers>@ethersproject/web":{globals:{clearTimeout:!0,fetch:!0,setTimeout:!0},packages:{"@ethersproject/bytes":!0,"ethers>@ethersproject/base64":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0,"ethers>@ethersproject/strings":!0}},"ethers>@ethersproject/wordlists":{packages:{"ethers>@ethersproject/hash":!0,"ethers>@ethersproject/logger":!0,"ethers>@ethersproject/properties":!0}},"extension-port-stream":{globals:{AggregateError:!0,"navigator.userAgent.includes":!0,"performance.now":!0,queueMicrotask:!0,scheduler:!0,setTimeout:!0},packages:{"readable-stream":!0}},"fast-json-patch":{globals:{addEventListener:!0,clearTimeout:!0,removeEventListener:!0,setTimeout:!0}},"fuse.js":{globals:{console:!0,define:!0}},"gulp>vinyl-fs>object.assign":{packages:{"@lavamoat/webpack>json-stable-stringify>object-keys":!0,"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>define-properties":!0,"string.prototype.matchall>es-object-atoms":!0,"string.prototype.matchall>has-symbols":!0}},he:{globals:{define:!0}},"https-browserify":{packages:{"browserify>url":!0,"stream-http":!0}},"humanize-duration":{globals:{define:!0}},"jsdom>form-data>es-set-tostringtag>has-tostringtag":{packages:{"string.prototype.matchall>has-symbols":!0}},"lightweight-charts":{globals:{Image:!0,ResizeObserver:!0,URL:!0,cancelAnimationFrame:!0,chrome:!0,clearTimeout:!0,devicePixelRatio:!0,"document.activeElement":!0,"document.body":!0,"document.createElement":!0,"document.documentElement":!0,"document.getElementById":!0,"document.getSelection":!0,getComputedStyle:!0,"location.href":!0,"navigator.language":!0,"navigator.platform":!0,"navigator.userAgent.toLowerCase":!0,"navigator.userAgentData":!0,"performance.now":!0,queueMicrotask:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{"lightweight-charts>fancy-canvas":!0}},"lightweight-charts>fancy-canvas":{globals:{ResizeObserver:!0,"document.body":!0}},localforage:{globals:{Blob:!0,BlobBuilder:!0,FileReader:!0,IDBKeyRange:!0,MSBlobBuilder:!0,MozBlobBuilder:!0,OIndexedDB:!0,WebKitBlobBuilder:!0,atob:!0,btoa:!0,"console.error":!0,"console.info":!0,"console.warn":!0,define:!0,fetch:!0,indexedDB:!0,localStorage:!0,mozIndexedDB:!0,msIndexedDB:!0,"navigator.platform":!0,"navigator.userAgent":!0,openDatabase:!0,setTimeout:!0,webkitIndexedDB:!0}},lodash:{globals:{_:!0,clearTimeout:!0,define:!0,setTimeout:!0}},loglevel:{globals:{console:!0,define:!0,"document.cookie":!0,localStorage:!0,log:"write",navigator:!0}},"lottie-web":{globals:{Blob:!0,Howl:!0,OffscreenCanvas:!0,"URL.createObjectURL":!0,Worker:!0,XMLHttpRequest:!0,bodymovin:"write",clearInterval:!0,console:!0,define:!0,"document.body":!0,"document.createElement":!0,"document.createElementNS":!0,"document.getElementsByClassName":!0,"document.getElementsByTagName":!0,"document.querySelectorAll":!0,"document.readyState":!0,"location.origin":!0,"location.pathname":!0,navigator:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0}},luxon:{globals:{Intl:!0}},"mockttp>@httptoolkit/subscriptions-transport-ws>symbol-observable":{globals:{module:!0}},"mockttp>express>qs":{packages:{"string.prototype.matchall>call-bind>es-define-property":!0,"string.prototype.matchall>side-channel":!0}},"mockttp>express>safe-buffer":{packages:{buffer:!0}},nanoid:{globals:{"crypto.getRandomValues":!0}},"nock>debug":{globals:{console:!0,document:!0,localStorage:!0,navigator:!0,process:!0},packages:{"mocha>ms":!0,process:!0}},"openai>abort-controller":{globals:{AbortController:!0}},"openai>zod":{globals:{File:!0,URL:!0,__zod_globalConfig:"write",__zod_globalRegistry:"write",atob:!0,btoa:!0,navigator:!0}},"path-browserify":{globals:{"process.cwd":!0},packages:{process:!0}},process:{globals:{clearTimeout:!0,setTimeout:!0}},"qrcode.react":{globals:{Path2D:!0,devicePixelRatio:!0},packages:{react:!0}},"react-chartjs-2":{globals:{setTimeout:!0},packages:{"chart.js":!0,react:!0}},"react-compiler-runtime":{globals:{"console.error":!0},packages:{react:!0}},"react-devtools-core":{globals:{CSSStyleRule:!0,ElementTypeClass:!0,ElementTypeForwardRef:!0,ElementTypeFunction:!0,ElementTypeMemo:!0,ElementTypeVirtual:!0,ErrorEvent:!0,HTMLElement:!0,LOCAL_STORAGE_COMPONENT_FILTER_PREFERENCES_KEY:!0,LOCAL_STORAGE_OPEN_IN_EDITOR_URL:!0,"Node.ELEMENT_NODE":!0,SESSION_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY:!0,SESSION_STORAGE_RECORD_TIMELINE_KEY:!0,SESSION_STORAGE_RELOAD_AND_PROFILE_KEY:!0,URL:!0,WebSocket:!0,__REACT_DEVTOOLS_COMPONENT_FILTERS__:!0,__REACT_DEVTOOLS_GLOBAL_HOOK__:!0,__REACT_DEVTOOLS_TARGET_WINDOW__:!0,cancelAnimationFrame:!0,chrome:!0,clearTimeout:!0,console:!0,define:!0,devicePixelRatio:!0,devtoolsJestTestScheduler:!0,dispatchEvent:!0,document:!0,getComputedStyle:!0,getInObject:!0,innerHeight:!0,innerWidth:!0,"localStorage.getItem":!0,"localStorage.removeItem":!0,"localStorage.setItem":!0,localStorageGetItem:!0,localStorageSetItem:!0,"navigator.userAgent":!0,performance:!0,queueMicrotask:!0,"regeneratorRuntime.mark":!0,"regeneratorRuntime.wrap":!0,reportError:!0,requestAnimationFrame:!0,"sessionStorage.getItem":!0,"sessionStorage.removeItem":!0,"sessionStorage.setItem":!0,sessionStorageGetItem:!0,sessionStorageRemoveItem:!0,sessionStorageSetItem:!0,setInObject:!0,setTimeout:!0}},"react-dom":{globals:{HTMLIFrameElement:!0,MSApp:!0,__REACT_DEVTOOLS_GLOBAL_HOOK__:!0,addEventListener:!0,clearTimeout:!0,clipboardData:!0,"console.error":!0,document:!0,event:!1,queueMicrotask:!0,removeEventListener:!0,reportError:!0,setTimeout:!0},packages:{react:!0,"react-dom>scheduler":!0}},"react-dom>scheduler":{globals:{MessageChannel:!0,SharedArrayBuffer:!0,clearTimeout:!0,"console.error":!0,navigator:!0,performance:!0,setImmediate:!0,setTimeout:!0},packages:{"core-js-pure":!0}},"react-focus-lock":{globals:{addEventListener:!0,"console.error":!0,"console.warn":!0,document:!0,removeEventListener:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"prop-types":!0,react:!0,"react-focus-lock>focus-lock":!0,"react-focus-lock>react-clientside-effect":!0,"react-focus-lock>use-callback-ref":!0,"react-focus-lock>use-sidecar":!0}},"react-focus-lock>focus-lock":{globals:{HTMLIFrameElement:!0,"Node.DOCUMENT_FRAGMENT_NODE":!0,"Node.DOCUMENT_NODE":!0,"Node.DOCUMENT_POSITION_CONTAINED_BY":!0,"Node.DOCUMENT_POSITION_CONTAINS":!0,"Node.ELEMENT_NODE":!0,"console.error":!0,"console.warn":!0,document:!0,getComputedStyle:!0,setTimeout:!0}},"react-focus-lock>react-clientside-effect":{packages:{"@babel/runtime":!0,react:!0}},"react-focus-lock>use-callback-ref":{packages:{react:!0}},"react-focus-lock>use-sidecar":{packages:{tslib:!0}},"react-hot-toast":{globals:{MutationObserver:!0,clearTimeout:!0,matchMedia:!0,setTimeout:!0},packages:{react:!0,"react-hot-toast>goober":!0}},"react-hot-toast>goober":{globals:{__nonce__:!0,_goober:!0,"document.createElement":!0,"document.head":!0}},"react-idle-timer":{globals:{clearTimeout:!0,document:!0,setTimeout:!0},packages:{"prop-types":!0,react:!0}},"react-markdown":{globals:{"console.warn":!0},packages:{"prop-types":!0,react:!0,"react-markdown>comma-separated-tokens":!0,"react-markdown>property-information":!0,"react-markdown>react-is":!0,"react-markdown>remark-parse":!0,"react-markdown>remark-rehype":!0,"react-markdown>space-separated-tokens":!0,"react-markdown>style-to-object":!0,"react-markdown>unified":!0,"react-markdown>unist-util-visit":!0,"react-markdown>vfile":!0}},"react-markdown>property-information":{packages:{"browserify>xtend":!0}},"react-markdown>remark-parse":{packages:{"react-markdown>remark-parse>mdast-util-from-markdown":!0}},"react-markdown>remark-parse>mdast-util-from-markdown":{packages:{"react-markdown>remark-parse>mdast-util-from-markdown>mdast-util-to-string":!0,"react-markdown>remark-parse>mdast-util-from-markdown>micromark":!0,"react-markdown>vfile>unist-util-stringify-position":!0,"react-syntax-highlighter>refractor>parse-entities":!0}},"react-markdown>remark-parse>mdast-util-from-markdown>micromark":{packages:{"react-syntax-highlighter>refractor>parse-entities":!0}},"react-markdown>remark-rehype":{packages:{"react-markdown>remark-rehype>mdast-util-to-hast":!0}},"react-markdown>remark-rehype>mdast-util-to-hast":{globals:{"console.warn":!0},packages:{"@storybook/addon-docs>remark-external-links>mdast-util-definitions":!0,"react-markdown>remark-rehype>mdast-util-to-hast>mdurl":!0,"react-markdown>remark-rehype>mdast-util-to-hast>unist-builder":!0,"react-markdown>remark-rehype>mdast-util-to-hast>unist-util-generated":!0,"react-markdown>remark-rehype>mdast-util-to-hast>unist-util-position":!0,"react-markdown>unist-util-visit":!0}},"react-markdown>style-to-object":{packages:{"react-markdown>style-to-object>inline-style-parser":!0}},"react-markdown>unified":{packages:{"mocha>yargs-unparser>is-plain-obj":!0,"react-markdown>unified>bail":!0,"react-markdown>unified>extend":!0,"react-markdown>unified>is-buffer":!0,"react-markdown>unified>trough":!0,"react-markdown>vfile":!0}},"react-markdown>unist-util-visit":{packages:{"react-markdown>unist-util-visit>unist-util-visit-parents":!0}},"react-markdown>unist-util-visit>unist-util-visit-parents":{packages:{"react-markdown>unist-util-visit>unist-util-is":!0}},"react-markdown>vfile":{globals:{"process.cwd":!0},packages:{"path-browserify":!0,process:!0,"react-markdown>vfile>is-buffer":!0,"react-markdown>vfile>replace-ext":!0,"react-markdown>vfile>vfile-message":!0}},"react-markdown>vfile>replace-ext":{packages:{"path-browserify":!0}},"react-markdown>vfile>vfile-message":{packages:{"react-markdown>vfile>unist-util-stringify-position":!0}},"react-popper":{globals:{document:!0},packages:{"@popperjs/core":!0,react:!0,"react-popper>react-fast-compare":!0}},"react-popper>react-fast-compare":{globals:{Element:!0,"console.warn":!0}},"react-redux":{globals:{"console.warn":!0,document:!0},packages:{"@babel/runtime":!0,react:!0,"react-dom":!0,"react-redux>hoist-non-react-statics":!0,"react-redux>react-is":!0,"react-redux>use-sync-external-store":!0}},"react-redux>hoist-non-react-statics":{packages:{"react-redux>hoist-non-react-statics>react-is":!0}},"react-redux>use-sync-external-store":{globals:{document:!0},packages:{react:!0}},"react-router-dom":{globals:{FormData:!0,URL:!0,URLSearchParams:!0,__reactRouterVersion:"write",addEventListener:!0,confirm:!0,document:!0,history:!0,"location.href":!0,removeEventListener:!0,scrollTo:!0,scrollY:!0,"sessionStorage.getItem":!0,"sessionStorage.setItem":!0,setTimeout:!0},packages:{react:!0,"react-dom":!0,"react-router-dom>@remix-run/router":!0,"react-router-dom>react-router":!0}},"react-router-dom>@remix-run/router":{globals:{AbortController:!0,DOMException:!0,FormData:!0,Headers:!0,Request:!0,Response:!0,URL:!0,URLSearchParams:!0,console:!0,"document.defaultView":!0,history:!0}},"react-router-dom>react-router":{globals:{"console.error":!0,"console.warn":!0},packages:{react:!0,"react-router-dom>@remix-run/router":!0}},"react-simple-file-input":{globals:{File:!0,FileReader:!0,"console.warn":!0},packages:{"prop-types":!0,react:!0}},"react-syntax-highlighter>refractor>parse-entities":{globals:{"document.createElement":!0}},"react-tippy":{globals:{Element:!0,MSStream:!0,MutationObserver:!0,addEventListener:!0,clearTimeout:!0,"console.error":!0,"console.warn":!0,define:!0,document:!0,getComputedStyle:!0,innerHeight:!0,innerWidth:!0,"navigator.maxTouchPoints":!0,"navigator.msMaxTouchPoints":!0,"navigator.userAgent":!0,performance:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{react:!0,"react-dom":!0,"react-tippy>popper.js":!0}},"react-tippy>popper.js":{globals:{MSInputMethodContext:!0,"Node.DOCUMENT_POSITION_FOLLOWING":!0,cancelAnimationFrame:!0,"console.warn":!0,devicePixelRatio:!0,document:!0,getComputedStyle:!0,innerHeight:!0,innerWidth:!0,"navigator.userAgent":!0,requestAnimationFrame:!0,setTimeout:!0}},"react-toggle-button":{globals:{cancelAnimationFrame:!0,clearTimeout:!0,"console.warn":!0,define:!0,performance:!0,requestAnimationFrame:!0,setTimeout:!0},packages:{react:!0}},"react-transition-group":{globals:{Element:!0,setTimeout:!0},packages:{"@babel/runtime":!0,"prop-types":!0,react:!0,"react-dom":!0,"react-transition-group>dom-helpers":!0}},"readable-stream":{globals:{AbortController:!0,AbortSignal:!0,AggregateError:!0,Blob:!0,queueMicrotask:!0},packages:{"browserify>string_decoder":!0,buffer:!0,"openai>abort-controller":!0,process:!0,"webpack>events":!0}},"readable-stream-2>core-util-is":{globals:{"Buffer.isBuffer":!0},packages:{buffer:!0}},"readable-stream-2>process-nextick-args":{globals:{process:!0},packages:{process:!0}},redux:{globals:{console:!0},packages:{"@babel/runtime":!0}},"remote-redux-devtools":{globals:{"console.log":!0,"console.warn":!0,fetch:!0,setTimeout:!0},packages:{"remote-redux-devtools>jsan":!0,"remote-redux-devtools>redux-devtools-core":!0,"remote-redux-devtools>redux-devtools-instrument":!0,"remote-redux-devtools>rn-host-detect":!0,"remote-redux-devtools>socketcluster-client":!0}},"remote-redux-devtools>jsan":{globals:{"console.warn":!0}},"remote-redux-devtools>redux-devtools-core":{globals:{ErrorUtils:!0,console:!0,devToolsOptions:!0,onerror:"write",serializeState:!0},packages:{lodash:!0,"remote-redux-devtools>jsan":!0,"remote-redux-devtools>redux-devtools-core>get-params":!0,"remote-redux-devtools>redux-devtools-core>nanoid":!0,"remote-redux-devtools>redux-devtools-core>remotedev-serialize":!0}},"remote-redux-devtools>redux-devtools-core>get-params":{globals:{GetParams:"write"}},"remote-redux-devtools>redux-devtools-instrument":{globals:{chrome:!0,"console.error":!0,process:!0,setTimeout:!0},packages:{lodash:!0,"mockttp>@httptoolkit/subscriptions-transport-ws>symbol-observable":!0,process:!0}},"remote-redux-devtools>rn-host-detect":{globals:{__DEV__:!0,__fbBatchedBridgeConfig:!0,console:!0}},"remote-redux-devtools>socketcluster-client":{globals:{WebSocket:!0,WorkerGlobalScope:!0,addEventListener:!0,clearTimeout:!0,localStorage:!0,location:!0,removeEventListener:!0,setTimeout:!0},packages:{"remote-redux-devtools>socketcluster-client>buffer":!0,"remote-redux-devtools>socketcluster-client>clone":!0,"remote-redux-devtools>socketcluster-client>component-emitter":!0,"remote-redux-devtools>socketcluster-client>linked-list":!0,"remote-redux-devtools>socketcluster-client>querystring":!0,"remote-redux-devtools>socketcluster-client>sc-channel":!0,"remote-redux-devtools>socketcluster-client>sc-errors":!0,"remote-redux-devtools>socketcluster-client>sc-formatter":!0,"remote-redux-devtools>socketcluster-client>uuid":!0}},"remote-redux-devtools>socketcluster-client>buffer":{globals:{console:!0},packages:{"base64-js":!0,"buffer>ieee754":!0}},"remote-redux-devtools>socketcluster-client>clone":{globals:{Buffer:!0},packages:{"remote-redux-devtools>socketcluster-client>buffer":!0}},"remote-redux-devtools>socketcluster-client>sc-channel":{packages:{"remote-redux-devtools>socketcluster-client>component-emitter":!0}},"remote-redux-devtools>socketcluster-client>sc-formatter":{globals:{Buffer:!0}},"remote-redux-devtools>socketcluster-client>uuid":{globals:{crypto:!0,msCrypto:!0}},reselect:{globals:{WeakRef:!0,"console.warn":!0}},semver:{globals:{"console.error":!0,process:!0},packages:{process:!0}},"stream-browserify":{packages:{"duplexify>inherits":!0,"stream-browserify>readable-stream":!0,"webpack>events":!0}},"stream-browserify>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"stream-http":{globals:{AbortController:!0,Blob:!0,"Buffer.alloc":!0,"Buffer.from":!0,MSStreamReader:!0,ReadableStream:!0,WritableStream:!0,XDomainRequest:!0,XMLHttpRequest:!0,clearTimeout:!0,fetch:!0,"location.protocol.search":!0,"process.nextTick":!0,setTimeout:!0},packages:{"browserify>url":!0,"browserify>xtend":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"stream-http>builtin-status-codes":!0,"stream-http>readable-stream":!0}},"stream-http>readable-stream":{globals:{"process.nextTick":!0,"process.stderr":!0,"process.stdout":!0},packages:{"@storybook/react>util-deprecate":!0,"browserify>string_decoder":!0,buffer:!0,"duplexify>inherits":!0,process:!0,"webpack>events":!0}},"string.prototype.matchall>call-bind":{packages:{"string.prototype.matchall>call-bind>call-bind-apply-helpers":!0,"string.prototype.matchall>call-bind>es-define-property":!0,"string.prototype.matchall>call-bind>set-function-length":!0,"string.prototype.matchall>get-intrinsic":!0}},"string.prototype.matchall>call-bind>call-bind-apply-helpers":{packages:{"browserify>has>function-bind":!0,"string.prototype.matchall>es-errors":!0}},"string.prototype.matchall>call-bind>set-function-length":{packages:{"eslint-plugin-react>es-iterator-helpers>has-property-descriptors":!0,"string.prototype.matchall>define-properties>define-data-property":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>get-intrinsic":!0,"string.prototype.matchall>gopd":!0}},"string.prototype.matchall>call-bound":{packages:{"string.prototype.matchall>call-bind>call-bind-apply-helpers":!0,"string.prototype.matchall>get-intrinsic":!0}},"string.prototype.matchall>define-properties":{packages:{"@lavamoat/webpack>json-stable-stringify>object-keys":!0,"eslint-plugin-react>es-iterator-helpers>has-property-descriptors":!0,"string.prototype.matchall>define-properties>define-data-property":!0}},"string.prototype.matchall>define-properties>define-data-property":{packages:{"string.prototype.matchall>call-bind>es-define-property":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>gopd":!0}},"string.prototype.matchall>es-abstract>array-buffer-byte-length":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>is-array-buffer":!0}},"string.prototype.matchall>es-abstract>available-typed-arrays":{packages:{"string.prototype.matchall>es-abstract>typed-array-length>possible-typed-array-names":!0}},"string.prototype.matchall>es-abstract>es-to-primitive>is-symbol":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>safe-regex-test":!0,"string.prototype.matchall>has-symbols":!0}},"string.prototype.matchall>es-abstract>get-proto":{packages:{"eslint-plugin-react>es-iterator-helpers>has-proto>dunder-proto":!0,"string.prototype.matchall>es-object-atoms":!0}},"string.prototype.matchall>es-abstract>is-array-buffer":{packages:{"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>get-intrinsic":!0}},"string.prototype.matchall>es-abstract>is-callable":{globals:{document:!0}},"string.prototype.matchall>es-abstract>is-regex":{packages:{"eslint-plugin-react>hasown":!0,"jsdom>form-data>es-set-tostringtag>has-tostringtag":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>gopd":!0}},"string.prototype.matchall>es-abstract>is-shared-array-buffer":{packages:{"string.prototype.matchall>call-bound":!0}},"string.prototype.matchall>es-abstract>object-inspect":{globals:{HTMLElement:!0,WeakRef:!0}},"string.prototype.matchall>es-abstract>safe-regex-test":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>is-regex":!0,"string.prototype.matchall>es-errors":!0}},"string.prototype.matchall>es-abstract>stop-iteration-iterator":{globals:{StopIteration:!0},packages:{"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>internal-slot":!0}},"string.prototype.matchall>es-abstract>typed-array-buffer":{packages:{"browserify>util>is-typed-array":!0,"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-errors":!0}},"string.prototype.matchall>get-intrinsic":{globals:{AggregateError:!0,Atomics:!0,FinalizationRegistry:!0,Float16Array:!0,SharedArrayBuffer:!0,WeakRef:!0},packages:{"browserify>has>function-bind":!0,"eslint-plugin-react>array-includes>math-intrinsics":!0,"eslint-plugin-react>hasown":!0,"string.prototype.matchall>call-bind>call-bind-apply-helpers":!0,"string.prototype.matchall>call-bind>es-define-property":!0,"string.prototype.matchall>es-abstract>get-proto":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>es-object-atoms":!0,"string.prototype.matchall>get-intrinsic>async-function":!0,"string.prototype.matchall>get-intrinsic>async-generator-function":!0,"string.prototype.matchall>get-intrinsic>generator-function":!0,"string.prototype.matchall>gopd":!0,"string.prototype.matchall>has-symbols":!0}},"string.prototype.matchall>internal-slot":{packages:{"eslint-plugin-react>hasown":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>side-channel":!0}},"string.prototype.matchall>regexp.prototype.flags":{packages:{"string.prototype.matchall>call-bind":!0,"string.prototype.matchall>define-properties":!0,"string.prototype.matchall>es-abstract>get-proto":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>gopd":!0,"string.prototype.matchall>set-function-name":!0}},"string.prototype.matchall>set-function-name":{packages:{"eslint-plugin-react>es-iterator-helpers>has-property-descriptors":!0,"string.prototype.matchall>define-properties>define-data-property":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>set-function-name>functions-have-names":!0}},"string.prototype.matchall>side-channel":{packages:{"string.prototype.matchall>es-abstract>object-inspect":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>side-channel>side-channel-list":!0,"string.prototype.matchall>side-channel>side-channel-map":!0,"string.prototype.matchall>side-channel>side-channel-weakmap":!0}},"string.prototype.matchall>side-channel>side-channel-list":{packages:{"string.prototype.matchall>es-abstract>object-inspect":!0,"string.prototype.matchall>es-errors":!0}},"string.prototype.matchall>side-channel>side-channel-map":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>object-inspect":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>get-intrinsic":!0}},"string.prototype.matchall>side-channel>side-channel-weakmap":{packages:{"string.prototype.matchall>call-bound":!0,"string.prototype.matchall>es-abstract>object-inspect":!0,"string.prototype.matchall>es-errors":!0,"string.prototype.matchall>get-intrinsic":!0,"string.prototype.matchall>side-channel>side-channel-map":!0}},tslib:{globals:{SuppressedError:!0}},tweetnacl:{globals:{crypto:!0,msCrypto:!0,nacl:"write"}},"uri-js":{globals:{define:!0}},uuid:{globals:{crypto:!0,msCrypto:!0}},viem:{globals:{TextDecoder:!0,TextEncoder:!0},packages:{"@noble/hashes":!0}},"wait-on>axios":{globals:{AbortController:!0,Blob:!0,Buffer:!0,FormData:!0,ReadableStream:!0,Request:!0,Response:!0,TextEncoder:!0,URL:!0,URLSearchParams:!0,WorkerGlobalScope:!0,XMLHttpRequest:!0,btoa:!0,clearTimeout:!0,"console.warn":!0,document:!0,fetch:!0,importScripts:!1,"location.href":!0,navigator:!0,postMessage:!0,process:!0,queueMicrotask:!0,setImmediate:!0,setTimeout:!0},packages:{buffer:!0,"core-js-pure":!0,process:!0}},"wait-on>rxjs":{globals:{clearTimeout:!0,"setTimeout.apply":!0},packages:{tslib:!0}},"web-vitals":{globals:{"PerformanceEventTiming.prototype":!0,PerformanceObserver:!0,addEventListener:!0,"document.addEventListener":!0,"document.prerendering":!0,"document.readyState":!0,"document.visibilityState":!0,"document.wasDiscarded":!0,performance:!0,removeEventListener:!0,requestAnimationFrame:!0,requestIdleCallback:!0,setTimeout:!0}},"webextension-polyfill":{globals:{browser:!0,chrome:!0,"console.error":!0,"console.warn":!0,define:!0}},"webpack>events":{globals:{console:!0}}}},e.ENUM={NAME_globalThis:"G",NAME_scopeTerminator:"ST",NAME_runtimeHandler:"RH",RUNTIME_KEY:"_LM_"},(()=>{let t={exports:{}};function r({createFunctionWrapper:e=l,handleGlobalWrite:t=!1,knownWritableFields:c=new Set}={}){return{getEndowmentsForConfig:u,copyWrappedGlobals:k,getBuiltinForConfig:f,createFunctionWrapper:e,attenuateBuiltin:h,makeMinimalViewOfRef:m,copyValueAtPath:d,applyGetSetPropDescTransforms:g,applyEndowmentPropDescTransforms:p};function u(e,r,n,a){if(!r.globals)return{};let s=[],i=new Set,o=[];return Object.entries(r.globals).forEach(([e,r])=>{let n=e.split(".");if(n.some(e=>"__proto__"===e))throw Error(`Lavamoat - "__proto__" disallowed when creating minimal view. saw "${e}"`);if(!1===r)return void o.push(e);if(s.push(e),"write"===r){if(t){if(n.length>1)throw Error(`LavaMoat - write access is only allowed at the top level, saw "${e}"`);i.add(e)}}else if(!0!==r)throw Error(`LavaMoat - unrecognizable policy value (${typeof r}) for path "${e}"`)}),s.sort((e,t)=>e.length-t.length),m(e,s,n,a,o,i)}function m(e,t,r,n,a=[],s=new Set){let l={};return t.forEach(t=>{let u=t.split(".");c.has(u[0])?s.has(u[0])?i(u[0],e,l):o(u,e,l):d("",u,a,e,l,r,n)}),l}function h(e,t,r=[]){return m(e,t.sort(),void 0,void 0,r)}function f(e,t,r){let n=[],a=[];return Object.entries(r).forEach(([e,r])=>{let s=e.split(".");if(t===s[0]){let e=s.slice(1).join(".");!0===r?n.push(e):!1===r&&a.push(e)}}),h(e,n,a)}function d(t,r,n,i,o,l=i,c=o){if(0===r.length)throw Error("unable to copy, must have pathParts, was empty");let[u,...m]=r,h=a(t,u),{prop:f}=b(i,u);if(s(f))return;let p=Reflect.getOwnPropertyDescriptor(o,u);if(p){if(!("value"in p))throw Error(`unable to copy on to targetRef, targetRef has a getter at "${h}"`);let e=typeof p.value;if("object"!==e&&"function"!==e)throw Error(`unable to copy on to targetRef, targetRef value is not an obj or func at "${h}"`)}if(m.length>0){let e,{sourceValue:t,sourceWritable:r}=v(f);if(p&&!n.includes(h))e=p.value;else{let t={};Reflect.defineProperty(o,u,{value:t,writable:r,enumerable:f.enumerable,configurable:f.configurable}),e=t}d(h,m,n,t,e);return}if(n.includes(h))return void console.warn(`LavaMoat - conflicting rules exist for "${h}"`);if(!("value"in f))return void Reflect.defineProperty(o,u,g(f,c,l));let{sourceValue:y,sourceWritable:k}=v(f);if("function"!=typeof y)return void Reflect.defineProperty(o,u,f);function v(e){let t,r;if("value"in e)t=e.value,r=e.writable;else if("get"in e&&e.get)t=e.get.call(l),r="set"in e;else throw Error("getEndowmentsForConfig - property descriptor missing a getter");return{sourceValue:t,sourceWritable:r}}Reflect.defineProperty(o,u,{value:e(y,e=>e===c,l),writable:k,enumerable:f.enumerable,configurable:f.configurable})}function p(e,t,r){let n=e;return g(n=y(n,t,r),t,r)}function g(t,r,n){let a={...t};return t.get&&(a.get=function(){let a=Reflect.apply(t.get,this===r?n:this,[]);return"function"==typeof a?e(a,e=>e===r,n):a}),t.set&&(a.set=function(e){let a=this===r?n:this;return Reflect.apply(t.set,a,[e])}),a}function y(t,r,n){if(!("value"in t&&"function"==typeof t.value))return t;let a=e(t.value,e=>e===r,n);return{...t,value:a}}function b(e,t){let r=e;for(;;){if(!r)return{prop:null,receiver:null};let e=typeof r;if("object"===e||"function"===e){let e=Reflect.getOwnPropertyDescriptor(r,t);if(e)return{receiver:r,prop:e};r=Reflect.getPrototypeOf(r)}else r=r.__proto__}}function k(e,t,r=["globalThis"]){let a=n(e),s=a.findIndex(e=>e===Object.prototype),i=-1===s;i&&(s=a.length);let o=a.slice(0,s);o.forEach(t=>{Object.values(Object.getOwnPropertyDescriptors(t)).forEach(t=>{if("get"in t&&t.get)try{Reflect.apply(t.get,e,[])}catch{}})});let l=o.map((e,t)=>{let r=Object.getOwnPropertyDescriptors(e);return i&&t===o.length-1?Object.fromEntries(Object.entries(r).filter(([e])=>!(e in Object.prototype))):r});for(let n of(Object.entries(Object.assign(Object.create(null),...l.reverse())).filter(([e])=>!(e in t)).filter(([e])=>!r.includes(e)).forEach(([r,n])=>{let a=p(n,t,e);Reflect.defineProperty(t,r,a)}),r))n in t||(t[n]=t);return t}}function n(e){let t=[],r=e;for(;r&&("object"==typeof r||"function"==typeof r);)t.push(r),r=Reflect.getPrototypeOf(r);return t}function a(e,t){return e&&0!==e.length?`${e}.${t}`:t}function s(e){return!e}function i(e,t,r){let n=Reflect.getOwnPropertyDescriptor(t,e)?.enumerable;Reflect.defineProperty(r,e,{configurable:!1,enumerable:n,set(r){t[e]=r},get:()=>t[e]})}function o(e,t,r){let n=Reflect.getOwnPropertyDescriptor(t,e[0])?.enumerable,s=r,i="";for(let t=0;t<e.length-1;t++){i=a(i,e[t]);let r=e[t];if(Reflect.getOwnPropertyDescriptor(s,r)?.get)throw Error(`LavaMoat - "${e[0]}" is writeable elsewhere and both "${i}" and "${e.join(".")}" are allowed for one package. One of these entries is redundant.`);"object"!=typeof s[r]&&(s[r]={}),s=s[r]}Reflect.defineProperty(s,e[e.length-1],{get:()=>{let r=t[e[0]],n=t;for(let t=1;t<e.length;t++)n=r,r=r[e[t]];return"function"==typeof r&&(r=r.bind(n)),r},writeable:!1,enumerable:n,configurable:!1})}function l(e,t,r){let n=function(){return new.target?Reflect.construct(e,arguments,new.target):Reflect.apply(e,t(this)?r:this,arguments)};return Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)),Reflect.getPrototypeOf(n)!==Reflect.getPrototypeOf(e)&&Object.setPrototypeOf(n,Reflect.getPrototypeOf(e)),n}t.exports,t.exports=r,t.exports.defaultCreateFunctionWrapper=l,t.exports._test={instrumentDynamicValueAtPath:o},e.endowmentsToolkit=t.exports})(),(()=>{let t={exports:{}},r=t.exports;"event"in globalThis&&(globalThis.event=void 0);let{getOwnPropertyNames:n}=Object;function a(e){let t=[],r=e;for(;r&&("object"==typeof r||"function"==typeof r);)t.push(r),r=Reflect.getPrototypeOf(r);return t}!function(e){if("window"in e&&"object"==typeof e.window&&e!==e.window){let t=e.window,r=a(t),s=a(e);r.pop();let i=r.flatMap(e=>n(e)),o=new Set(s.flatMap(e=>n(e)));for(let r of i)if(!o.has(r)&&r in globalThis&&void 0!==t[r])try{e[r]=e[r]}catch{}}}(globalThis);let{defineProperty:s}=Object,{call:i}=Function.prototype,o=new WeakMap,l=globalThis,c=MessageEvent.prototype,u=new Compartment().globalThis,m=Object.getOwnPropertyDescriptor(c,"source");if(m&&m.get){let e=i.bind(m.get);s(c,"source",{...m,get(){let t=e(this);return t===l||t===l.window?o.get(this)||u:t}})}r.MessageEvent=(e,t,r)=>{let n=e.MessageEvent;n&&(e.MessageEvent=function(e,t){let a=new n(e,t);return o.set(a,r),a},e.MessageEvent.prototype=n.prototype)},r.addEventListener=(e,t,r)=>{let n=e.addEventListener;n&&(e.addEventListener=(e,a,s)=>"message"===e?n.call(t,e,e=>(o.set(e,r),a.call(r,e)),s):n.call(r,e,a,s))},e.repairs=t.exports})(),(()=>{let t,r={exports:{}};r.exports;let{repairIntrinsics:n}=globalThis,a="object"==typeof console?console.warn:()=>{},s=void 0!==n;s?(n(e.options.lockdown),LOCKDOWN_SHIMS.forEach(e=>{e()}),hardenIntrinsics()):a("LavaMoatPlugin: runtime execution started without SES present, switching to no-op.");let{keys:i,create:o,freeze:l,assign:c,defineProperty:u,defineProperties:m,getOwnPropertyDescriptors:h,fromEntries:f,entries:d,values:p}=Object,{Proxy:g,Math:y,Date:b}=globalThis,{harden:k}=globalThis,v=new Set;p(e.policy.resources).forEach(e=>{e.globals&&"object"==typeof e.globals&&d(e.globals).forEach(([e,t])=>{"write"===t&&v.add(e)})});let{getEndowmentsForConfig:w,copyWrappedGlobals:_,getBuiltinForConfig:T}=e.endowmentsToolkit({handleGlobalWrite:!0,knownWritableFields:v}),{NAME_globalThis:S,NAME_scopeTerminator:j,NAME_runtimeHandler:x}=e.ENUM,E=l(new g(l(o(null)),l({has:l(()=>!0)}))),A=globalThis,O=["window","self","global","globalThis","frames"],L=i(e.repairs||{}),R=new Map,C=t=>{let r=e.idmap.find(([,e])=>e.includes(t));if(r)return r[0]};e.defaultExport=l((r,n)=>{if(!s)return o(null);if(!R.has(r)){let n=new Compartment({Math:y,Date:b});((r,n)=>{if(r===e.root)_(A,t=n,O),e?.scuttling?.scuttle(A,e.options?.scuttleGlobalThis);else{let a=e.policy.resources[r]||{},s=w(t,a,globalThis,n);L.length>0&&a.globals&&i(a.globals).length>0&&L.forEach(t=>{if(s[t]){let r=e.repairs[t];r&&r(s,A,n)}}),m(n,{...h(s),...f(O.map(e=>[e,{value:n}]))}),e.debug&&e.debug.debugProxy(n,t,r)}})(r,n.globalThis),R.set(r,n)}let d=o(null),{__webpack_require__:p}=n,{module:v}=n;if(p){let t=function(t,...n){"number"!=typeof t&&(t=`${t}`);let a=p.bind(this,t,...n);var s=t;if(void 0===s)throw Error("Requested specifier is undefined");if(e.unenforceable.includes(s)||r===e.root)return a();let o=e.policy.resources[r]||{};if(e.externals[s]){let t=e.externals[s];if(o.builtin){if(o.builtin[t])return a();if(t&&!t.includes(".")&&i(o.builtin).some(e=>e.startsWith(`${t}.`)))return T(a(),t,o.builtin)}if(o.packages){let e=C(t);if(e&&o.packages[e])return a()}}let l=C(s);if(!l){if(e.ctxm.includes(s))throw Error(`'${r}' is trying to load a module dynamically from a dependency it has not been allowed using the following Webpack Context Module: '${s}'`);throw Error(`Requested specifier '${s}' is not allowed as a builtin and is not a known dependency of '${r}'; regenerate policy or add it to policy-override.json.`)}if(l===r||o.packages?.[l])return a();throw Error(`Policy does not allow importing ${l} from ${r}`)};for(let n of(t.e=t=>{if(!e.kch.includes(t))throw Error(`Attempt to load a chunk that was not known at compile time: ${t} from ${r}`);return p.e(t)},["O","n","d","o","r","s","t","b","j"]))t[n]=k(p[n]);t.m=new g({},{has:(e,t)=>(a(`A module attempted to read ${String(t)} directly from webpack's module cache`),!1)}),t.g=R.get(r).globalThis,t.nmd=e=>e===v?p.nmd(v):e,t.hmd=e=>e===v?p.hmd(v):e,d.__webpack_require__=t}let M=c(o(null),n,d);u(M,"module",{get:()=>v,set:()=>{}});let I=M.exports;return u(M,"exports",{get:()=>I,set:e=>{I=e}}),l(M),l(c(o(null),{[j]:E,[x]:M,[S]:R.get(r).globalThis}))}),e.runtime=r.exports})(),__webpack_require__._LM_=e.defaultExport,"undefined"!=typeof harden&&harden(__webpack_require__._LM_)})(),(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__(858572);var e=__webpack_require__(721127);var t=__webpack_require__(780094);let{chrome:r}=globalThis;function n(){let e=new Date().toISOString();r.storage.session.set({timestamp:e})}n(),setInterval(n,2*1e3);let a=new t.u(r,{runtime:["onInstalled","onConnect"]});globalThis.stateHooks.lazyListener=a;let s=!1;async function i(){if(s)return;s=!0;let e=performance.now();await Promise.all([__webpack_require__.e(3107),__webpack_require__.e(5819),__webpack_require__.e(7446),__webpack_require__.e(937),__webpack_require__.e(8452),__webpack_require__.e(9476),__webpack_require__.e(9543),__webpack_require__.e(3351),__webpack_require__.e(9256),__webpack_require__.e(1923),__webpack_require__.e(5150),__webpack_require__.e(4337),__webpack_require__.e(7829),__webpack_require__.e(9828),__webpack_require__.e(8942),__webpack_require__.e(6951),__webpack_require__.e(7193),__webpack_require__.e(7416),__webpack_require__.e(6063),__webpack_require__.e(7203),__webpack_require__.e(4558),__webpack_require__.e(374),__webpack_require__.e(9504),__webpack_require__.e(283),__webpack_require__.e(4661),__webpack_require__.e(9510),__webpack_require__.e(3366)]).then(__webpack_require__.bind(__webpack_require__,543366));let t=performance.now();console.log(`importScripts completed in ${(t-e)/1e3} seconds`)}self.addEventListener("install",i),r.runtime.onConnect.addListener(t=>{console.log("MetaMask service worker: Received connection from port",t.name);try{t.postMessage({data:{method:e.pr},name:"app-init-liveness"})}catch(e){console.error("MetaMask - app-init-liveness check: Failed to message to port",e)}}),self.serviceWorker.state==="activated"&&i()}}).call(__webpack_require__._LM_("$root$",{__webpack_require__}))()})();