LavaPack.loadBundle([["/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router/dist/umd/react-router.development.js",{"@remix-run/router":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@remix-run/router/dist/router.cjs.js",react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/**
 * React Router v6.30.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
!function(n,s){"object"==typeof r&&void 0!==t?s(r,e("react"),e("@remix-run/router")):"function"==typeof define&&define.amd?define(["exports","react","@remix-run/router"],s):s((n="undefined"!=typeof globalThis?globalThis:n||self).ReactRouter={},n.React,n.RemixRouter)}(this,function(e,t,r){function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var s=n(t);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o.apply(this,arguments)}const a=s.createContext(null);a.displayName="DataRouter";const i=s.createContext(null);i.displayName="DataRouterState";const l=s.createContext(null);l.displayName="Await";const u=s.createContext(null);u.displayName="Navigation";const c=s.createContext(null);c.displayName="Location";const d=s.createContext({outlet:null,matches:[],isDataRoute:!1});d.displayName="Route";const m=s.createContext(null);function f(){return null!=s.useContext(c)}function h(){return f()||r.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(c).location}m.displayName="RouteError";const p="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function b(e){s.useContext(u).static||s.useLayoutEffect(e)}function g(){let{isDataRoute:e}=s.useContext(d);return e?function(){let{router:e}=P(R.UseNavigateStable),t=I(T.UseNavigateStable),n=s.useRef(!1);return b(()=>{n.current=!0}),s.useCallback(function(s,a){void 0===a&&(a={}),r.UNSAFE_warning(n.current,p),n.current&&("number"==typeof s?e.navigate(s):e.navigate(s,o({fromRouteId:t},a)))},[e,t])}():function(){f()||r.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let e=s.useContext(a),{basename:t,future:n,navigator:o}=s.useContext(u),{matches:i}=s.useContext(d),{pathname:l}=h(),c=JSON.stringify(r.UNSAFE_getResolveToMatches(i,n.v7_relativeSplatPath)),m=s.useRef(!1);return b(()=>{m.current=!0}),s.useCallback(function(n,s){if(void 0===s&&(s={}),r.UNSAFE_warning(m.current,p),!m.current)return;if("number"==typeof n)return void o.go(n);let a=r.resolveTo(n,JSON.parse(c),l,"path"===s.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:r.joinPaths([t,a.pathname])),(s.replace?o.replace:o.push)(a,s.state,s)},[t,o,c,l,e])}()}const w=s.createContext(null);function y(e){let t=s.useContext(d).outlet;return t?s.createElement(w.Provider,{value:e},t):t}function _(e,t){let{relative:n}=void 0===t?{}:t,{future:o}=s.useContext(u),{matches:a}=s.useContext(d),{pathname:i}=h(),l=JSON.stringify(r.UNSAFE_getResolveToMatches(a,o.v7_relativeSplatPath));return s.useMemo(()=>r.resolveTo(e,JSON.parse(l),i,"path"===n),[e,l,i,n])}function k(e,t){return v(e,t)}function v(e,t,n,a){f()||r.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=s.useContext(u),{matches:l}=s.useContext(d),m=l[l.length-1],p=m?m.params:{},b=m?m.pathname:"/",g=m?m.pathnameBase:"/",w=m&&m.route;{let e=w&&w.path||"";U(b,!w||e.endsWith("*"),'You rendered descendant <Routes> (or called `useRoutes()`) at "'+b+'" (under <Route path="'+e+'">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="'+e+'"> to <Route path="'+("/"===e?"*":e+"/*")+'">.')}let y,_=h();if(t){var k;let e="string"==typeof t?r.parsePath(t):t;"/"===g||(null==(k=e.pathname)?void 0:k.startsWith(g))||r.UNSAFE_invariant(!1,'When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "'+g+'" but pathname "'+e.pathname+'" was given in the `location` prop.'),y=e}else y=_;let v=y.pathname||"/",x=v;if("/"!==g){let e=g.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let j=r.matchRoutes(e,{pathname:x});r.UNSAFE_warning(w||null!=j,'No routes matched location "'+y.pathname+y.search+y.hash+'" '),r.UNSAFE_warning(null==j||j[j.length-1].route.element!==undefined||j[j.length-1].route.Component!==undefined||j[j.length-1].route.lazy!==undefined,'Matched leaf route at location "'+y.pathname+y.search+y.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let E=A(j&&j.map(e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:r.joinPaths([g,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:r.joinPaths([g,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),l,n,a);return t&&E?s.createElement(c.Provider,{value:{location:o({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:r.Action.Pop}},E):E}function x(){let e=N(),t=r.isRouteErrorResponse(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:o},i={padding:"2px 4px",backgroundColor:o},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=s.createElement(s.Fragment,null,s.createElement("p",null,"💿 Hey developer 👋"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:i},"ErrorBoundary")," or"," ",s.createElement("code",{style:i},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},t),n?s.createElement("pre",{style:a},n):null,l)}const j=s.createElement(x,null);class E extends s.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==undefined?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==undefined?s.createElement(d.Provider,{value:this.props.routeContext},s.createElement(m.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function S(e){let{routeContext:t,match:r,children:n}=e,o=s.useContext(a);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),s.createElement(d.Provider,{value:t},n)}function A(e,t,n,o){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===o&&(o=null),null==e){var i;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(i=o)&&i.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let l=e,u=null==(a=n)?void 0:a.errors;if(null!=u){let e=l.findIndex(e=>e.route.id&&(null==u?void 0:u[e.route.id])!==undefined);e>=0||r.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(u).join(",")),l=l.slice(0,Math.min(l.length,e+1))}let c=!1,d=-1;if(n&&o&&o.v7_partialHydration)for(let e=0;e<l.length;e++){let t=l[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:r}=n,s=t.route.loader&&e[t.route.id]===undefined&&(!r||r[t.route.id]===undefined);if(t.route.lazy||s){c=!0,l=d>=0?l.slice(0,d+1):[l[0]];break}}}return l.reduceRight((e,r,o)=>{let a,i=!1,m=null,f=null;n&&(a=u&&r.route.id?u[r.route.id]:undefined,m=r.route.errorElement||j,c&&(d<0&&0===o?(U("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),i=!0,f=null):d===o&&(i=!0,f=r.route.hydrateFallbackElement||null)));let h=t.concat(l.slice(0,o+1)),p=()=>{let t;return t=a?m:i?f:r.route.Component?s.createElement(r.route.Component,null):r.route.element?r.route.element:e,s.createElement(S,{match:r,routeContext:{outlet:e,matches:h,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?s.createElement(E,{location:n.location,revalidation:n.revalidation,component:m,error:a,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}var R=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(R||{}),T=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(T||{});function O(e){return e+" must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router."}function P(e){let t=s.useContext(a);return t||r.UNSAFE_invariant(!1,O(e)),t}function M(e){let t=s.useContext(i);return t||r.UNSAFE_invariant(!1,O(e)),t}function I(e){let t=function(e){let t=s.useContext(d);return t||r.UNSAFE_invariant(!1,O(e)),t}(e),n=t.matches[t.matches.length-1];return n.route.id||r.UNSAFE_invariant(!1,e+' can only be used on routes that contain a unique "id"'),n.route.id}function N(){var e;let t=s.useContext(m),r=M(T.UseRouteError),n=I(T.UseRouteError);return t!==undefined?t:null==(e=r.errors)?void 0:e[n]}function C(){let e=s.useContext(l);return null==e?void 0:e._data}let L=0;const D={};function U(e,t,n){t||D[e]||(D[e]=!0,r.UNSAFE_warning(!1,n))}const $={};const F=(e,t,r)=>{var n;$[n="⚠️ React Router Future Flag Warning: "+t+". You can use the `"+e+"` future flag to opt-in early. For more information, see "+r+"."]||($[n]=!0,console.warn(n))};function B(e,t){(null==e?void 0:e.v7_startTransition)===undefined&&F("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(null==e?void 0:e.v7_relativeSplatPath)!==undefined||t&&t.v7_relativeSplatPath!==undefined||F("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(t.v7_fetcherPersist===undefined&&F("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod===undefined&&F("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),t.v7_partialHydration===undefined&&F("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation===undefined&&F("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}const W=s.startTransition;function q(e){let{routes:t,future:r,state:n}=e;return v(t,undefined,n,r)}function H(e){r.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function z(e){let{basename:t="/",children:n=null,location:a,navigationType:i=r.Action.Pop,navigator:l,static:d=!1,future:m}=e;f()&&r.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=t.replace(/^\/*/,"/"),p=s.useMemo(()=>({basename:h,navigator:l,static:d,future:o({v7_relativeSplatPath:!1},m)}),[h,m,l,d]);"string"==typeof a&&(a=r.parsePath(a));let{pathname:b="/",search:g="",hash:w="",state:y=null,key:_="default"}=a,k=s.useMemo(()=>{let e=r.stripBasename(b,h);return null==e?null:{location:{pathname:e,search:g,hash:w,state:y,key:_},navigationType:i}},[h,b,g,w,y,_,i]);return r.UNSAFE_warning(null!=k,'<Router basename="'+h+'"> is not able to match the URL "'+b+g+w+"\" because it does not start with the basename, so the <Router> won't render anything."),null==k?null:s.createElement(u.Provider,{value:p},s.createElement(c.Provider,{children:n,value:k}))}var V=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(V||{});const G=new Promise(()=>{});class K extends s.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:n}=this.props,o=null,a=V.pending;if(n instanceof Promise)if(this.state.error){a=V.error;let e=this.state.error;o=Promise.reject().catch(()=>{}),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_error",{get:()=>e})}else n._tracked?(o=n,a="_error"in o?V.error:"_data"in o?V.success:V.pending):(a=V.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),o=n.then(e=>Object.defineProperty(n,"_data",{get:()=>e}),e=>Object.defineProperty(n,"_error",{get:()=>e})));else a=V.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>n});if(a===V.error&&o._error instanceof r.AbortedDeferredError)throw G;if(a===V.error&&!t)throw o._error;if(a===V.error)return s.createElement(l.Provider,{value:o,children:t});if(a===V.success)return s.createElement(l.Provider,{value:o,children:e});throw o}}function Y(e){let{children:t}=e,r=C(),n="function"==typeof t?t(r):t;return s.createElement(s.Fragment,null,n)}function X(e,t){void 0===t&&(t=[]);let n=[];return s.Children.forEach(e,(e,o)=>{if(!s.isValidElement(e))return;let a=[...t,o];if(e.type===s.Fragment)return void n.push.apply(n,X(e.props.children,a));e.type!==H&&r.UNSAFE_invariant(!1,"["+("string"==typeof e.type?e.type:e.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),e.props.index&&e.props.children&&r.UNSAFE_invariant(!1,"An index route cannot have child routes.");let i={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=X(e.props.children,a)),n.push(i)}),n}function Z(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&(e.element&&r.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:s.createElement(e.Component),Component:undefined})),e.HydrateFallback&&(e.hydrateFallbackElement&&r.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:s.createElement(e.HydrateFallback),HydrateFallback:undefined})),e.ErrorBoundary&&(e.errorElement&&r.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:s.createElement(e.ErrorBoundary),ErrorBoundary:undefined})),t}Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return r.AbortedDeferredError}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return r.Action}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return r.createPath}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return r.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return r.generatePath}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return r.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return r.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return r.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return r.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return r.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return r.redirect}}),Object.defineProperty(e,"redirectDocument",{enumerable:!0,get:function(){return r.redirectDocument}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return r.replace}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return r.resolvePath}}),e.Await=function(e){let{children:t,errorElement:r,resolve:n}=e;return s.createElement(K,{resolve:n,errorElement:r},s.createElement(Y,null,t))},e.MemoryRouter=function(e){let{basename:t,children:n,initialEntries:o,initialIndex:a,future:i}=e,l=s.useRef();null==l.current&&(l.current=r.createMemoryHistory({initialEntries:o,initialIndex:a,v5Compat:!0}));let u=l.current,[c,d]=s.useState({action:u.action,location:u.location}),{v7_startTransition:m}=i||{},f=s.useCallback(e=>{m&&W?W(()=>d(e)):d(e)},[d,m]);return s.useLayoutEffect(()=>u.listen(f),[u,f]),s.useEffect(()=>B(i),[i]),s.createElement(z,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:u,future:i})},e.Navigate=function(e){let{to:t,replace:n,state:o,relative:a}=e;f()||r.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:i,static:l}=s.useContext(u);r.UNSAFE_warning(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=s.useContext(d),{pathname:m}=h(),p=g(),b=r.resolveTo(t,r.UNSAFE_getResolveToMatches(c,i.v7_relativeSplatPath),m,"path"===a),w=JSON.stringify(b);return s.useEffect(()=>p(JSON.parse(w),{replace:n,state:o,relative:a}),[p,w,a,n,o]),null},e.Outlet=function(e){return y(e.context)},e.Route=H,e.Router=z,e.RouterProvider=function(e){let{fallbackElement:t,router:n,future:o}=e,[l,u]=s.useState(n.state),{v7_startTransition:c}=o||{},d=s.useCallback(e=>{c&&W?W(()=>u(e)):u(e)},[u,c]);s.useLayoutEffect(()=>n.subscribe(d),[n,d]),s.useEffect(()=>{r.UNSAFE_warning(null==t||!n.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let m=s.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})}),[n]),f=n.basename||"/",h=s.useMemo(()=>({router:n,navigator:m,static:!1,basename:f}),[n,m,f]);return s.useEffect(()=>B(o,n.future),[n,o]),s.createElement(s.Fragment,null,s.createElement(a.Provider,{value:h},s.createElement(i.Provider,{value:l},s.createElement(z,{basename:f,location:l.location,navigationType:l.historyAction,navigator:m,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},l.initialized||n.future.v7_partialHydration?s.createElement(q,{routes:n.routes,future:n.future,state:l}):t))),null)},e.Routes=function(e){let{children:t,location:r}=e;return k(X(t),r)},e.UNSAFE_DataRouterContext=a,e.UNSAFE_DataRouterStateContext=i,e.UNSAFE_LocationContext=c,e.UNSAFE_NavigationContext=u,e.UNSAFE_RouteContext=d,e.UNSAFE_logV6DeprecationWarnings=B,e.UNSAFE_mapRouteProperties=Z,e.UNSAFE_useRouteId=function(){return I(T.UseRouteId)},e.UNSAFE_useRoutesImpl=v,e.createMemoryRouter=function(e,t){return r.createRouter({basename:null==t?void 0:t.basename,future:o({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:r.createMemoryHistory({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:Z,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()},e.createRoutesFromChildren=X,e.createRoutesFromElements=X,e.renderMatches=function(e){return A(e)},e.useActionData=function(){let e=M(T.UseActionData),t=I(T.UseLoaderData);return e.actionData?e.actionData[t]:undefined},e.useAsyncError=function(){let e=s.useContext(l);return null==e?void 0:e._error},e.useAsyncValue=C,e.useBlocker=function(e){let{router:t,basename:n}=P(R.UseBlocker),a=M(T.UseBlocker),[i,l]=s.useState(""),u=s.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===n)return e(t);let{currentLocation:s,nextLocation:a,historyAction:i}=t;return e({currentLocation:o({},s,{pathname:r.stripBasename(s.pathname,n)||s.pathname}),nextLocation:o({},a,{pathname:r.stripBasename(a.pathname,n)||a.pathname}),historyAction:i})},[n,e]);return s.useEffect(()=>{let e=String(++L);return l(e),()=>t.deleteBlocker(e)},[t]),s.useEffect(()=>{""!==i&&t.getBlocker(i,u)},[t,i,u]),i&&a.blockers.has(i)?a.blockers.get(i):r.IDLE_BLOCKER},e.useHref=function(e,t){let{relative:n}=void 0===t?{}:t;f()||r.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:a}=s.useContext(u),{hash:i,pathname:l,search:c}=_(e,{relative:n}),d=l;return"/"!==o&&(d="/"===l?o:r.joinPaths([o,l])),a.createHref({pathname:d,search:c,hash:i})},e.useInRouterContext=f,e.useLoaderData=function(){let e=M(T.UseLoaderData),t=I(T.UseLoaderData);return e.errors&&null!=e.errors[t]?(console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")"),undefined):e.loaderData[t]},e.useLocation=h,e.useMatch=function(e){f()||r.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:t}=h();return s.useMemo(()=>r.matchPath(e,r.UNSAFE_decodePath(t)),[t,e])},e.useMatches=function(){let{matches:e,loaderData:t}=M(T.UseMatches);return s.useMemo(()=>e.map(e=>r.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=g,e.useNavigation=function(){return M(T.UseNavigation).navigation},e.useNavigationType=function(){return s.useContext(c).navigationType},e.useOutlet=y,e.useOutletContext=function(){return s.useContext(w)},e.useParams=function(){let{matches:e}=s.useContext(d),t=e[e.length-1];return t?t.params:{}},e.useResolvedPath=_,e.useRevalidator=function(){let e=P(R.UseRevalidator),t=M(T.UseRevalidator);return s.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])},e.useRouteError=N,e.useRouteLoaderData=function(e){return M(T.UseRouteLoaderData).loaderData[e]},e.useRoutes=k,Object.defineProperty(e,"__esModule",{value:!0})})}}},{package:"react-router-dom>react-router",file:"node_modules/react-router/dist/umd/react-router.development.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react-router/dist/umd/react-router.production.min.js",{"@remix-run/router":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@remix-run/router/dist/router.cjs.js",react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s;n=this,s=function(e,t,r){var n=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}(t);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}const o=n.createContext(null),a=n.createContext(null),i=n.createContext(null),l=n.createContext(null),u=n.createContext(null),c=n.createContext({outlet:null,matches:[],isDataRoute:!1}),d=n.createContext(null);function m(){return null!=n.useContext(u)}function f(){return m()||r.UNSAFE_invariant(!1),n.useContext(u).location}function h(e){n.useContext(l).static||n.useLayoutEffect(e)}function p(){let{isDataRoute:e}=n.useContext(c);return e?function(){let{router:e}=A(E.UseNavigateStable),t=T(S.UseNavigateStable),r=n.useRef(!1);return h(()=>{r.current=!0}),n.useCallback(function(n,o){void 0===o&&(o={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,s({fromRouteId:t},o)))},[e,t])}():function(){m()||r.UNSAFE_invariant(!1);let e=n.useContext(o),{basename:t,future:s,navigator:a}=n.useContext(l),{matches:i}=n.useContext(c),{pathname:u}=f(),d=JSON.stringify(r.UNSAFE_getResolveToMatches(i,s.v7_relativeSplatPath)),p=n.useRef(!1);return h(()=>{p.current=!0}),n.useCallback(function(n,s){if(void 0===s&&(s={}),!p.current)return;if("number"==typeof n)return void a.go(n);let o=r.resolveTo(n,JSON.parse(d),u,"path"===s.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:r.joinPaths([t,o.pathname])),(s.replace?a.replace:a.push)(o,s.state,s)},[t,a,d,u,e])}()}const b=n.createContext(null);function g(e){let t=n.useContext(c).outlet;return t?n.createElement(b.Provider,{value:e},t):t}function w(e,t){let{relative:s}=void 0===t?{}:t,{future:o}=n.useContext(l),{matches:a}=n.useContext(c),{pathname:i}=f(),u=JSON.stringify(r.UNSAFE_getResolveToMatches(a,o.v7_relativeSplatPath));return n.useMemo(()=>r.resolveTo(e,JSON.parse(u),i,"path"===s),[e,u,i,s])}function y(e,t){return _(e,t)}function _(e,t,o,a){m()||r.UNSAFE_invariant(!1);let{navigator:i}=n.useContext(l),{matches:d}=n.useContext(c),h=d[d.length-1],p=h?h.params:{};!h||h.pathname;let b=h?h.pathnameBase:"/";h&&h.route;let g,w=f();if(t){var y;let e="string"==typeof t?r.parsePath(t):t;"/"===b||(null==(y=e.pathname)?void 0:y.startsWith(b))||r.UNSAFE_invariant(!1),g=e}else g=w;let _=g.pathname||"/",k=_;if("/"!==b){let e=b.replace(/^\//,"").split("/");k="/"+_.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=r.matchRoutes(e,{pathname:k}),x=j(v&&v.map(e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:r.joinPaths([b,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?b:r.joinPaths([b,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),d,o,a);return t&&x?n.createElement(u.Provider,{value:{location:s({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:r.Action.Pop}},x):x}const k=n.createElement(function(){let e=O(),t=r.isRouteErrorResponse(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),s=e instanceof Error?e.stack:null;return n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),s?n.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},s):null,null)},null);class v extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?n.createElement(c.Provider,{value:this.props.routeContext},n.createElement(d.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function x(e){let{routeContext:t,match:r,children:s}=e,a=n.useContext(o);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),n.createElement(c.Provider,{value:t},s)}function j(e,t,s,o){var a;if(void 0===t&&(t=[]),void 0===s&&(s=null),void 0===o&&(o=null),null==e){var i;if(!s)return null;if(s.errors)e=s.matches;else{if(!(null!=(i=o)&&i.v7_partialHydration&&0===t.length&&!s.initialized&&s.matches.length>0))return null;e=s.matches}}let l=e,u=null==(a=s)?void 0:a.errors;if(null!=u){let e=l.findIndex(e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id]));e>=0||r.UNSAFE_invariant(!1),l=l.slice(0,Math.min(l.length,e+1))}let c=!1,d=-1;if(s&&o&&o.v7_partialHydration)for(let e=0;e<l.length;e++){let t=l[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:r}=s,n=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||n){c=!0,l=d>=0?l.slice(0,d+1):[l[0]];break}}}return l.reduceRight((e,r,o)=>{let a,i=!1,m=null,f=null;var h;s&&(a=u&&r.route.id?u[r.route.id]:void 0,m=r.route.errorElement||k,c&&(d<0&&0===o?(I[h="route-fallback"]||(I[h]=!0),i=!0,f=null):d===o&&(i=!0,f=r.route.hydrateFallbackElement||null)));let p=t.concat(l.slice(0,o+1)),b=()=>{let t;return t=a?m:i?f:r.route.Component?n.createElement(r.route.Component,null):r.route.element?r.route.element:e,n.createElement(x,{match:r,routeContext:{outlet:e,matches:p,isDataRoute:null!=s},children:t})};return s&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?n.createElement(v,{location:s.location,revalidation:s.revalidation,component:m,error:a,children:b(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):b()},null)}var E=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(E||{}),S=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(S||{});function A(e){let t=n.useContext(o);return t||r.UNSAFE_invariant(!1),t}function R(e){let t=n.useContext(a);return t||r.UNSAFE_invariant(!1),t}function T(e){let t=function(){let e=n.useContext(c);return e||r.UNSAFE_invariant(!1),e}(),s=t.matches[t.matches.length-1];return s.route.id||r.UNSAFE_invariant(!1),s.route.id}function O(){var e;let t=n.useContext(d),r=R(S.UseRouteError),s=T(S.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[s]}function P(){let e=n.useContext(i);return null==e?void 0:e._data}let M=0;const I={};function N(e,t){null==e||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}const C=n.startTransition;function L(e){let{routes:t,future:r,state:n}=e;return _(t,void 0,n,r)}function D(e){r.UNSAFE_invariant(!1)}function U(e){let{basename:t="/",children:o=null,location:a,navigationType:i=r.Action.Pop,navigator:c,static:d=!1,future:f}=e;m()&&r.UNSAFE_invariant(!1);let h=t.replace(/^\/*/,"/"),p=n.useMemo(()=>({basename:h,navigator:c,static:d,future:s({v7_relativeSplatPath:!1},f)}),[h,f,c,d]);"string"==typeof a&&(a=r.parsePath(a));let{pathname:b="/",search:g="",hash:w="",state:y=null,key:_="default"}=a,k=n.useMemo(()=>{let e=r.stripBasename(b,h);return null==e?null:{location:{pathname:e,search:g,hash:w,state:y,key:_},navigationType:i}},[h,b,g,w,y,_,i]);return null==k?null:n.createElement(l.Provider,{value:p},n.createElement(u.Provider,{children:o,value:k}))}var $=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}($||{});const F=new Promise(()=>{});class B extends n.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:s}=this.props,o=null,a=$.pending;if(s instanceof Promise)if(this.state.error){a=$.error;let e=this.state.error;o=Promise.reject().catch(()=>{}),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_error",{get:()=>e})}else s._tracked?(o=s,a="_error"in o?$.error:"_data"in o?$.success:$.pending):(a=$.pending,Object.defineProperty(s,"_tracked",{get:()=>!0}),o=s.then(e=>Object.defineProperty(s,"_data",{get:()=>e}),e=>Object.defineProperty(s,"_error",{get:()=>e})));else a=$.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>s});if(a===$.error&&o._error instanceof r.AbortedDeferredError)throw F;if(a===$.error&&!t)throw o._error;if(a===$.error)return n.createElement(i.Provider,{value:o,children:t});if(a===$.success)return n.createElement(i.Provider,{value:o,children:e});throw o}}function W(e){let{children:t}=e,r=P(),s="function"==typeof t?t(r):t;return n.createElement(n.Fragment,null,s)}function q(e,t){void 0===t&&(t=[]);let s=[];return n.Children.forEach(e,(e,o)=>{if(!n.isValidElement(e))return;let a=[...t,o];if(e.type===n.Fragment)return void s.push.apply(s,q(e.props.children,a));e.type!==D&&r.UNSAFE_invariant(!1),e.props.index&&e.props.children&&r.UNSAFE_invariant(!1);let i={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=q(e.props.children,a)),s.push(i)}),s}function H(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:n.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:n.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:n.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return r.AbortedDeferredError}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return r.Action}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return r.createPath}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return r.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return r.generatePath}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return r.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return r.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return r.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return r.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return r.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return r.redirect}}),Object.defineProperty(e,"redirectDocument",{enumerable:!0,get:function(){return r.redirectDocument}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return r.replace}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return r.resolvePath}}),e.Await=function(e){let{children:t,errorElement:r,resolve:s}=e;return n.createElement(B,{resolve:s,errorElement:r},n.createElement(W,null,t))},e.MemoryRouter=function(e){let{basename:t,children:s,initialEntries:o,initialIndex:a,future:i}=e,l=n.useRef();null==l.current&&(l.current=r.createMemoryHistory({initialEntries:o,initialIndex:a,v5Compat:!0}));let u=l.current,[c,d]=n.useState({action:u.action,location:u.location}),{v7_startTransition:m}=i||{},f=n.useCallback(e=>{m&&C?C(()=>d(e)):d(e)},[d,m]);return n.useLayoutEffect(()=>u.listen(f),[u,f]),n.useEffect(()=>N(i),[i]),n.createElement(U,{basename:t,children:s,location:c.location,navigationType:c.action,navigator:u,future:i})},e.Navigate=function(e){let{to:t,replace:s,state:o,relative:a}=e;m()||r.UNSAFE_invariant(!1);let{future:i,static:u}=n.useContext(l),{matches:d}=n.useContext(c),{pathname:h}=f(),b=p(),g=r.resolveTo(t,r.UNSAFE_getResolveToMatches(d,i.v7_relativeSplatPath),h,"path"===a),w=JSON.stringify(g);return n.useEffect(()=>b(JSON.parse(w),{replace:s,state:o,relative:a}),[b,w,a,s,o]),null},e.Outlet=function(e){return g(e.context)},e.Route=D,e.Router=U,e.RouterProvider=function(e){let{fallbackElement:t,router:r,future:s}=e,[i,l]=n.useState(r.state),{v7_startTransition:u}=s||{},c=n.useCallback(e=>{u&&C?C(()=>l(e)):l(e)},[l,u]);n.useLayoutEffect(()=>r.subscribe(c),[r,c]),n.useEffect(()=>{},[]);let d=n.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}),[r]),m=r.basename||"/",f=n.useMemo(()=>({router:r,navigator:d,static:!1,basename:m}),[r,d,m]);return n.useEffect(()=>N(s,r.future),[r,s]),n.createElement(n.Fragment,null,n.createElement(o.Provider,{value:f},n.createElement(a.Provider,{value:i},n.createElement(U,{basename:m,location:i.location,navigationType:i.historyAction,navigator:d,future:{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},i.initialized||r.future.v7_partialHydration?n.createElement(L,{routes:r.routes,future:r.future,state:i}):t))),null)},e.Routes=function(e){let{children:t,location:r}=e;return y(q(t),r)},e.UNSAFE_DataRouterContext=o,e.UNSAFE_DataRouterStateContext=a,e.UNSAFE_LocationContext=u,e.UNSAFE_NavigationContext=l,e.UNSAFE_RouteContext=c,e.UNSAFE_logV6DeprecationWarnings=N,e.UNSAFE_mapRouteProperties=H,e.UNSAFE_useRouteId=function(){return T(S.UseRouteId)},e.UNSAFE_useRoutesImpl=_,e.createMemoryRouter=function(e,t){return r.createRouter({basename:null==t?void 0:t.basename,future:s({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:r.createMemoryHistory({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:H,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()},e.createRoutesFromChildren=q,e.createRoutesFromElements=q,e.renderMatches=function(e){return j(e)},e.useActionData=function(){let e=R(S.UseActionData),t=T(S.UseLoaderData);return e.actionData?e.actionData[t]:void 0},e.useAsyncError=function(){let e=n.useContext(i);return null==e?void 0:e._error},e.useAsyncValue=P,e.useBlocker=function(e){let{router:t,basename:o}=A(E.UseBlocker),a=R(S.UseBlocker),[i,l]=n.useState(""),u=n.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===o)return e(t);let{currentLocation:n,nextLocation:a,historyAction:i}=t;return e({currentLocation:s({},n,{pathname:r.stripBasename(n.pathname,o)||n.pathname}),nextLocation:s({},a,{pathname:r.stripBasename(a.pathname,o)||a.pathname}),historyAction:i})},[o,e]);return n.useEffect(()=>{let e=String(++M);return l(e),()=>t.deleteBlocker(e)},[t]),n.useEffect(()=>{""!==i&&t.getBlocker(i,u)},[t,i,u]),i&&a.blockers.has(i)?a.blockers.get(i):r.IDLE_BLOCKER},e.useHref=function(e,t){let{relative:s}=void 0===t?{}:t;m()||r.UNSAFE_invariant(!1);let{basename:o,navigator:a}=n.useContext(l),{hash:i,pathname:u,search:c}=w(e,{relative:s}),d=u;return"/"!==o&&(d="/"===u?o:r.joinPaths([o,u])),a.createHref({pathname:d,search:c,hash:i})},e.useInRouterContext=m,e.useLoaderData=function(){let e=R(S.UseLoaderData),t=T(S.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")},e.useLocation=f,e.useMatch=function(e){m()||r.UNSAFE_invariant(!1);let{pathname:t}=f();return n.useMemo(()=>r.matchPath(e,r.UNSAFE_decodePath(t)),[t,e])},e.useMatches=function(){let{matches:e,loaderData:t}=R(S.UseMatches);return n.useMemo(()=>e.map(e=>r.UNSAFE_convertRouteMatchToUiMatch(e,t)),[e,t])},e.useNavigate=p,e.useNavigation=function(){return R(S.UseNavigation).navigation},e.useNavigationType=function(){return n.useContext(u).navigationType},e.useOutlet=g,e.useOutletContext=function(){return n.useContext(b)},e.useParams=function(){let{matches:e}=n.useContext(c),t=e[e.length-1];return t?t.params:{}},e.useResolvedPath=w,e.useRevalidator=function(){let e=A(E.UseRevalidator),t=R(S.UseRevalidator);return n.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])},e.useRouteError=O,e.useRouteLoaderData=function(e){return R(S.UseRouteLoaderData).loaderData[e]},e.useRoutes=y,Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof r&&void 0!==t?s(r,e("react"),e("@remix-run/router")):"function"==typeof define&&define.amd?define(["exports","react","@remix-run/router"],s):s((n="undefined"!=typeof globalThis?globalThis:n||self).ReactRouter={},n.React,n.RemixRouter)}}},{package:"react-router-dom>react-router",file:"node_modules/react-router/dist/umd/react-router.production.min.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react-jsx-runtime.development.js",{"object-assign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-assign/index.js",react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){0}}},{package:"react",file:"node_modules/react/cjs/react-jsx-runtime.development.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react-jsx-runtime.production.min.js",{"object-assign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-assign/index.js",react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("object-assign");var n=e("react"),s=60103;if(r.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;s=o("react.element"),r.Fragment=o("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:s,type:e,key:u,ref:c,props:o,_owner:a.current}}r.jsx=u,r.jsxs=u}}},{package:"react",file:"node_modules/react/cjs/react-jsx-runtime.production.min.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react.development.js",{"object-assign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-assign/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){0}}},{package:"react",file:"node_modules/react/cjs/react.development.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react.production.min.js",{"object-assign":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-assign/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("object-assign"),s=60103,o=60106;r.Fragment=60107,r.StrictMode=60108,r.Profiler=60114;var a=60109,i=60110,l=60112;r.Suspense=60113;var u=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;s=d("react.element"),o=d("react.portal"),r.Fragment=d("react.fragment"),r.StrictMode=d("react.strict_mode"),r.Profiler=d("react.profiler"),a=d("react.provider"),i=d("react.context"),l=d("react.forward_ref"),r.Suspense=d("react.suspense"),u=d("react.memo"),c=d("react.lazy")}var m="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function b(e,t,r){this.props=e,this.context=t,this.refs=p,this.updater=r||h}function g(){}function w(e,t,r){this.props=e,this.context=t,this.refs=p,this.updater=r||h}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=b.prototype;var y=w.prototype=new g;y.constructor=w,n(y,b.prototype),y.isPureReactComponent=!0;var _={current:null},k=Object.prototype.hasOwnProperty,v={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var n,o={},a=null,i=null;if(null!=t)for(n in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,n)&&!v.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps)void 0===o[n]&&(o[n]=l[n]);return{$$typeof:s,type:e,key:a,ref:i,props:o,_owner:_.current}}function j(e){return"object"==typeof e&&null!==e&&e.$$typeof===s}var E=/\/+/g;function S(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function A(e,t,r,n,a){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var l=!1;if(null===e)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case s:case o:l=!0}}if(l)return a=a(l=e),e=""===n?"."+S(l,0):n,Array.isArray(a)?(r="",null!=e&&(r=e.replace(E,"$&/")+"/"),A(a,t,r,"",function(e){return e})):null!=a&&(j(a)&&(a=function(e,t){return{$$typeof:s,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,r+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(E,"$&/")+"/")+e)),t.push(a)),1;if(l=0,n=""===n?".":n+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=n+S(i=e[u],u);l+=A(i,t,r,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=m&&e[m]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(i=e.next()).done;)l+=A(i=i.value,t,r,c=n+S(i,u++),a);else if("object"===i)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function R(e,t,r){if(null==e)return e;var n=[],s=0;return A(e,n,"","",function(e){return t.call(r,e,s++)}),n}function T(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}if(1===e._status)return e._result;throw e._result}var O={current:null};function P(){var e=O.current;if(null===e)throw Error(f(321));return e}var M={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:n};r.Children={map:R,forEach:function(e,t,r){R(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!j(e))throw Error(f(143));return e}},r.Component=b,r.PureComponent=w,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,r.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=n({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)k.call(t,c)&&!v.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];o.children=u}return{$$typeof:s,type:e.type,key:a,ref:i,props:o,_owner:l}},r.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:i,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},r.createElement=x,r.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:l,render:e}},r.isValidElement=j,r.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:T}},r.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},r.useCallback=function(e,t){return P().useCallback(e,t)},r.useContext=function(e,t){return P().useContext(e,t)},r.useDebugValue=function(){},r.useEffect=function(e,t){return P().useEffect(e,t)},r.useImperativeHandle=function(e,t,r){return P().useImperativeHandle(e,t,r)},r.useLayoutEffect=function(e,t){return P().useLayoutEffect(e,t)},r.useMemo=function(e,t){return P().useMemo(e,t)},r.useReducer=function(e,t,r){return P().useReducer(e,t,r)},r.useRef=function(e){return P().useRef(e)},r.useState=function(e){return P().useState(e)},r.version="17.0.2"}}},{package:"react",file:"node_modules/react/cjs/react.production.min.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js",{"./cjs/react.development.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react.development.js","./cjs/react.production.min.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react.production.min.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./cjs/react.production.min.js")}}},{package:"react",file:"node_modules/react/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/react/jsx-runtime.js",{"./cjs/react-jsx-runtime.development.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react-jsx-runtime.development.js","./cjs/react-jsx-runtime.production.min.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/cjs/react-jsx-runtime.production.min.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./cjs/react-jsx-runtime.production.min.js")}}},{package:"react",file:"node_modules/react/jsx-runtime.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{SymbolDispose:n}=e("../../ours/primordials"),{AbortError:s,codes:o}=e("../../ours/errors"),{isNodeStream:a,isWebStream:i,kControllerErrorFunction:l}=e("./utils"),u=e("./end-of-stream"),{ERR_INVALID_ARG_TYPE:c}=o;let d;t.exports.addAbortSignal=function(e,r){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new c(t,"AbortSignal",e)})(e,"signal"),!a(r)&&!i(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return t.exports.addAbortSignalNoValidate(e,r)},t.exports.addAbortSignalNoValidate=function(t,r){if("object"!=typeof t||!("aborted"in t))return r;const o=a(r)?()=>{r.destroy(new s(undefined,{cause:t.reason}))}:()=>{r[l](new s(undefined,{cause:t.reason}))};if(t.aborted)o();else{d=d||e("../../ours/util").addAbortListener;const s=d(t,o);u(r,s[n])}return r}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{StringPrototypeSlice:n,SymbolIterator:s,TypedArrayPrototypeSet:o,Uint8Array:a}=e("../../ours/primordials"),{Buffer:i}=e("buffer"),{inspect:l}=e("../../ours/util");t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return i.alloc(0);const t=i.allocUnsafe(e>>>0);let r=this.head,n=0;for(;r;)o(t,r.data,n),n+=r.data.length,r=r.next;return t}consume(e,t){const r=this.head.data;if(e<r.length){const t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[s](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",r=this.head,s=0;do{const o=r.data;if(!(e>o.length)){e===o.length?(t+=o,++s,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(o,0,e),this.head=r,r.data=n(o,e));break}t+=o,e-=o.length,++s}while(null!==(r=r.next));return this.length-=s,t}_getBuffer(e){const t=i.allocUnsafe(e),r=e;let n=this.head,s=0;do{const i=n.data;if(!(e>i.length)){e===i.length?(o(t,i,r-e),++s,n.next?this.head=n.next:this.head=this.tail=null):(o(t,new a(i.buffer,i.byteOffset,e),r-e),this.head=n,n.data=i.slice(e));break}o(t,i,r-e),e-=i.length,++s}while(null!==(n=n.next));return this.length-=s,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return l(this,{...t,depth:0,customInspect:!1})}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/compose.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./pipeline":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/pipeline.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{pipeline:n}=e("./pipeline"),s=e("./duplex"),{destroyer:o}=e("./destroy"),{isNodeStream:a,isReadable:i,isWritable:l,isWebStream:u,isTransformStream:c,isWritableStream:d,isReadableStream:m}=e("./utils"),{AbortError:f,codes:{ERR_INVALID_ARG_VALUE:h,ERR_MISSING_ARGS:p}}=e("../../ours/errors"),b=e("./end-of-stream");t.exports=function(...e){if(0===e.length)throw new p("streams");if(1===e.length)return s.from(e[0]);const t=[...e];if("function"==typeof e[0]&&(e[0]=s.from(e[0])),"function"==typeof e[e.length-1]){const t=e.length-1;e[t]=s.from(e[t])}for(let r=0;r<e.length;++r)if(a(e[r])||u(e[r])){if(r<e.length-1&&!(i(e[r])||m(e[r])||c(e[r])))throw new h(`streams[${r}]`,t[r],"must be readable");if(r>0&&!(l(e[r])||d(e[r])||c(e[r])))throw new h(`streams[${r}]`,t[r],"must be writable")}let r,g,w,y,_;const k=e[0],v=n(e,function(e){const t=y;y=null,t?t(e):e?_.destroy(e):j||x||_.destroy()}),x=!!(l(k)||d(k)||c(k)),j=!!(i(v)||m(v)||c(v));if(_=new s({writableObjectMode:!(null===k||k===undefined||!k.writableObjectMode),readableObjectMode:!(null===v||v===undefined||!v.readableObjectMode),writable:x,readable:j}),x){if(a(k))_._write=function(e,t,n){k.write(e,t)?n():r=n},_._final=function(e){k.end(),g=e},k.on("drain",function(){if(r){const e=r;r=null,e()}});else if(u(k)){const e=(c(k)?k.writable:k).getWriter();_._write=async function(t,r,n){try{await e.ready,e.write(t).catch(()=>{}),n()}catch(e){n(e)}},_._final=async function(t){try{await e.ready,e.close().catch(()=>{}),g=t}catch(e){t(e)}}}const e=c(v)?v.readable:v;b(e,()=>{if(g){const e=g;g=null,e()}})}if(j)if(a(v))v.on("readable",function(){if(w){const e=w;w=null,e()}}),v.on("end",function(){_.push(null)}),_._read=function(){for(;;){const e=v.read();if(null===e)return void(w=_._read);if(!_.push(e))return}};else if(u(v)){const e=(c(v)?v.readable:v).getReader();_._read=async function(){for(;;)try{const{value:t,done:r}=await e.read();if(!_.push(t))return;if(r)return void _.push(null)}catch{return}}}return _._destroy=function(e,t){e||null===y||(e=new f),w=null,r=null,g=null,null===y?t(e):(y=t,a(v)&&o(v,e))},_}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/compose.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{aggregateTwoErrors:s,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:a}=e("../../ours/errors"),{Symbol:i}=e("../../ours/primordials"),{kIsDestroyed:l,isDestroyed:u,isFinished:c,isServerRequest:d}=e("./utils"),m=i("kDestroy"),f=i("kConstruct");function h(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function p(e,t,r){let s=!1;function o(t){if(s)return;s=!0;const o=e._readableState,a=e._writableState;h(t,a,o),a&&(a.closed=!0),o&&(o.closed=!0),"function"==typeof r&&r(t),t?n.nextTick(b,e,t):n.nextTick(g,e)}try{e._destroy(t||null,o)}catch(t){o(t)}}function b(e,t){w(e,t),g(e)}function g(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!==r&&r!==undefined&&r.emitClose||null!==t&&t!==undefined&&t.emitClose)&&e.emit("close")}function w(e,t){const r=e._readableState,n=e._writableState;null!==n&&n!==undefined&&n.errorEmitted||null!==r&&r!==undefined&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function y(e,t,r){const s=e._readableState,o=e._writableState;if(null!==o&&o!==undefined&&o.destroyed||null!==s&&s!==undefined&&s.destroyed)return this;null!==s&&s!==undefined&&s.autoDestroy||null!==o&&o!==undefined&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),s&&!s.errored&&(s.errored=t),r?n.nextTick(w,e,t):w(e,t))}function _(e){let t=!1;function r(r){if(t)return void y(e,null!==r&&r!==undefined?r:new o);t=!0;const s=e._readableState,a=e._writableState,i=a||s;s&&(s.constructed=!0),a&&(a.constructed=!0),i.destroyed?e.emit(m,r):r?y(e,r,!0):n.nextTick(k,e)}try{e._construct(e=>{n.nextTick(r,e)})}catch(e){n.nextTick(r,e)}}function k(e){e.emit(f)}function v(e){return(null===e||e===undefined?undefined:e.setHeader)&&"function"==typeof e.abort}function x(e){e.emit("close")}function j(e,t){e.emit("error",t),n.nextTick(x,e)}t.exports={construct:function(e,t){if("function"!=typeof e._construct)return;const r=e._readableState,s=e._writableState;r&&(r.constructed=!1),s&&(s.constructed=!1),e.once(f,t),e.listenerCount(f)>1||n.nextTick(_,e)},destroyer:function(e,t){e&&!u(e)&&(t||c(e)||(t=new a),d(e)?(e.socket=null,e.destroy(t)):v(e)?e.abort():v(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?n.nextTick(j,e,t):n.nextTick(x,e),e.destroyed||(e[l]=!0))},destroy:function(e,t){const r=this._readableState,n=this._writableState,o=n||r;return null!==n&&n!==undefined&&n.destroyed||null!==r&&r!==undefined&&r.destroyed?("function"==typeof t&&t(),this):(h(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?p(this,e,t):this.once(m,function(r){p(this,s(r,e),t)}),this)},undestroy:function(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:y}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/destroy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./duplexify":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplexify.js","./readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js","./writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/writable.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:s,ObjectKeys:o,ObjectSetPrototypeOf:a}=e("../../ours/primordials");t.exports=u;const i=e("./readable"),l=e("./writable");a(u.prototype,i.prototype),a(u,i);{const e=o(l.prototype);for(let t=0;t<e.length;t++){const r=e[t];u.prototype[r]||(u.prototype[r]=l.prototype[r])}}function u(e){if(!(this instanceof u))return new u(e);i.call(this,e),l.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let c,d;function m(){return c===undefined&&(c={}),c}n(u.prototype,{writable:{__proto__:null,...s(l.prototype,"writable")},writableHighWaterMark:{__proto__:null,...s(l.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...s(l.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...s(l.prototype,"writableBuffer")},writableLength:{__proto__:null,...s(l.prototype,"writableLength")},writableFinished:{__proto__:null,...s(l.prototype,"writableFinished")},writableCorked:{__proto__:null,...s(l.prototype,"writableCorked")},writableEnded:{__proto__:null,...s(l.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...s(l.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),u.fromWeb=function(e,t){return m().newStreamDuplexFromReadableWritablePair(e,t)},u.toWeb=function(e){return m().newReadableWritablePairFromDuplex(e)},u.from=function(t){return d||(d=e("./duplexify")),d(t,"body")}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplexify.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/from.js","./readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","./writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/writable.js","abort-controller":"/home/runner/work/metamask-extension/metamask-extension/node_modules/abort-controller/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),s=e("buffer"),{isReadable:o,isWritable:a,isIterable:i,isNodeStream:l,isReadableNodeStream:u,isWritableNodeStream:c,isDuplexNodeStream:d,isReadableStream:m,isWritableStream:f}=e("./utils"),h=e("./end-of-stream"),{AbortError:p,codes:{ERR_INVALID_ARG_TYPE:b,ERR_INVALID_RETURN_VALUE:g}}=e("../../ours/errors"),{destroyer:w}=e("./destroy"),y=e("./duplex"),_=e("./readable"),k=e("./writable"),{createDeferredPromise:v}=e("../../ours/util"),x=e("./from"),j=globalThis.Blob||s.Blob,E=void 0!==j?function(e){return e instanceof j}:function(e){return!1},S=globalThis.AbortController||e("abort-controller").AbortController,{FunctionPrototypeCall:A}=e("../../ours/primordials");class R extends y{constructor(e){super(e),!1===(null===e||e===undefined?undefined:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null===e||e===undefined?undefined:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function T(e){const t=e.readable&&"function"!=typeof e.readable.read?_.wrap(e.readable):e.readable,r=e.writable;let n,s,i,l,u,c=!!o(t),d=!!a(r);function m(e){const t=l;l=null,t?t(e):e&&u.destroy(e)}return u=new R({readableObjectMode:!(null===t||t===undefined||!t.readableObjectMode),writableObjectMode:!(null===r||r===undefined||!r.writableObjectMode),readable:c,writable:d}),d&&(h(r,e=>{d=!1,e&&w(t,e),m(e)}),u._write=function(e,t,s){r.write(e,t)?s():n=s},u._final=function(e){r.end(),s=e},r.on("drain",function(){if(n){const e=n;n=null,e()}}),r.on("finish",function(){if(s){const e=s;s=null,e()}})),c&&(h(t,e=>{c=!1,e&&w(t,e),m(e)}),t.on("readable",function(){if(i){const e=i;i=null,e()}}),t.on("end",function(){u.push(null)}),u._read=function(){for(;;){const e=t.read();if(null===e)return void(i=u._read);if(!u.push(e))return}}),u._destroy=function(e,o){e||null===l||(e=new p),i=null,n=null,s=null,null===l?o(e):(l=o,w(r,e),w(t,e))},u}t.exports=function e(t,r){if(d(t))return t;if(u(t))return T({readable:t});if(c(t))return T({writable:t});if(l(t))return T({writable:!1,readable:!1});if(m(t))return T({readable:_.fromWeb(t)});if(f(t))return T({writable:k.fromWeb(t)});if("function"==typeof t){const{value:e,write:s,final:o,destroy:a}=function(e){let{promise:t,resolve:r}=v();const s=new S,o=s.signal,a=e(async function*(){for(;;){const e=t;t=null;const{chunk:s,done:a,cb:i}=await e;if(n.nextTick(i),a)return;if(o.aborted)throw new p(undefined,{cause:o.reason});({promise:t,resolve:r}=v()),yield s}}(),{signal:o});return{value:a,write(e,t,n){const s=r;r=null,s({chunk:e,done:!1,cb:n})},final(e){const t=r;r=null,t({done:!0,cb:e})},destroy(e,t){s.abort(),t(e)}}}(t);if(i(e))return x(R,e,{objectMode:!0,write:s,final:o,destroy:a});const l=null===e||e===undefined?undefined:e.then;if("function"==typeof l){let t;const r=A(l,e,e=>{if(null!=e)throw new g("nully","body",e)},e=>{w(t,e)});return t=new R({objectMode:!0,readable:!1,write:s,final(e){o(async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}})},destroy:a})}throw new g("Iterable, AsyncIterable or AsyncFunction",r,e)}if(E(t))return e(t.arrayBuffer());if(i(t))return x(R,t,{objectMode:!0,writable:!1});if(m(null===t||t===undefined?undefined:t.readable)&&f(null===t||t===undefined?undefined:t.writable))return R.fromWeb(t);if("object"==typeof(null===t||t===undefined?undefined:t.writable)||"object"==typeof(null===t||t===undefined?undefined:t.readable)){return T({readable:null!==t&&t!==undefined&&t.readable?u(null===t||t===undefined?undefined:t.readable)?null===t||t===undefined?undefined:t.readable:e(t.readable):undefined,writable:null!==t&&t!==undefined&&t.writable?c(null===t||t===undefined?undefined:t.writable)?null===t||t===undefined?undefined:t.writable:e(t.writable):undefined})}const s=null===t||t===undefined?undefined:t.then;if("function"==typeof s){let e;return A(s,t,t=>{null!=t&&e.push(t),e.push(null)},t=>{w(e,t)}),e=new R({objectMode:!0,writable:!1,read(){}})}throw new b(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/duplexify.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{AbortError:s,codes:o}=e("../../ours/errors"),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:i}=o,{kEmptyObject:l,once:u}=e("../../ours/util"),{validateAbortSignal:c,validateFunction:d,validateObject:m,validateBoolean:f}=e("../validators"),{Promise:h,PromisePrototypeThen:p,SymbolDispose:b}=e("../../ours/primordials"),{isClosed:g,isReadable:w,isReadableNodeStream:y,isReadableStream:_,isReadableFinished:k,isReadableErrored:v,isWritable:x,isWritableNodeStream:j,isWritableStream:E,isWritableFinished:S,isWritableErrored:A,isNodeStream:R,willEmitClose:T,kIsClosedPromise:O}=e("./utils");let P;const M=()=>{};function I(t,r,o){var f,h;if(2===arguments.length?(o=r,r=l):null==r?r=l:m(r,"options"),d(o,"callback"),c(r.signal,"options.signal"),o=u(o),_(t)||E(t))return function(t,r,o){let a=!1,i=M;if(r.signal)if(i=()=>{a=!0,o.call(t,new s(undefined,{cause:r.signal.reason}))},r.signal.aborted)n.nextTick(i);else{P=P||e("../../ours/util").addAbortListener;const n=P(r.signal,i),s=o;o=u((...e)=>{n[b](),s.apply(t,e)})}const l=(...e)=>{a||n.nextTick(()=>o.apply(t,e))};return p(t[O].promise,l,l),M}(t,r,o);if(!R(t))throw new a("stream",["ReadableStream","WritableStream","Stream"],t);const I=null!==(f=r.readable)&&f!==undefined?f:y(t),N=null!==(h=r.writable)&&h!==undefined?h:j(t),C=t._writableState,L=t._readableState,D=()=>{t.writable||F()};let U=T(t)&&y(t)===I&&j(t)===N,$=S(t,!1);const F=()=>{$=!0,t.destroyed&&(U=!1),(!U||t.readable&&!I)&&(I&&!B||o.call(t))};let B=k(t,!1);const W=()=>{B=!0,t.destroyed&&(U=!1),(!U||t.writable&&!N)&&(N&&!$||o.call(t))},q=e=>{o.call(t,e)};let H=g(t);const z=()=>{H=!0;const e=A(t)||v(t);return e&&"boolean"!=typeof e?o.call(t,e):I&&!B&&y(t,!0)&&!k(t,!1)?o.call(t,new i):!N||$||S(t,!1)?void o.call(t):o.call(t,new i)},V=()=>{H=!0;const e=A(t)||v(t);if(e&&"boolean"!=typeof e)return o.call(t,e);o.call(t)},G=()=>{t.req.on("finish",F)};!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?N&&!C&&(t.on("end",D),t.on("close",D)):(t.on("complete",F),U||t.on("abort",z),t.req?G():t.on("request",G)),U||"boolean"!=typeof t.aborted||t.on("aborted",z),t.on("end",W),t.on("finish",F),!1!==r.error&&t.on("error",q),t.on("close",z),H?n.nextTick(z):null!==C&&C!==undefined&&C.errorEmitted||null!==L&&L!==undefined&&L.errorEmitted?U||n.nextTick(V):(I||U&&!w(t)||!$&&!1!==x(t))&&(N||U&&!x(t)||!B&&!1!==w(t))?L&&t.req&&t.aborted&&n.nextTick(V):n.nextTick(V);const K=()=>{o=M,t.removeListener("aborted",z),t.removeListener("complete",F),t.removeListener("abort",z),t.removeListener("request",G),t.req&&t.req.removeListener("finish",F),t.removeListener("end",D),t.removeListener("close",D),t.removeListener("finish",F),t.removeListener("end",W),t.removeListener("error",q),t.removeListener("close",z)};if(r.signal&&!H){const a=()=>{const e=o;K(),e.call(t,new s(undefined,{cause:r.signal.reason}))};if(r.signal.aborted)n.nextTick(a);else{P=P||e("../../ours/util").addAbortListener;const n=P(r.signal,a),s=o;o=u((...e)=>{n[b](),s.apply(t,e)})}}return K}t.exports=I,t.exports.finished=function(e,t){var r;let n=!1;return null===t&&(t=l),null!==(r=t)&&r!==undefined&&r.cleanup&&(f(t.cleanup,"cleanup"),n=t.cleanup),new h((r,s)=>{const o=I(e,t,e=>{n&&o(),e?s(e):r()})})}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/from.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{PromisePrototypeThen:s,SymbolAsyncIterator:o,SymbolIterator:a}=e("../../ours/primordials"),{Buffer:i}=e("buffer"),{ERR_INVALID_ARG_TYPE:l,ERR_STREAM_NULL_VALUES:u}=e("../../ours/errors").codes;t.exports=function(e,t,r){let c,d;if("string"==typeof t||t instanceof i)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});if(t&&t[o])d=!0,c=t[o]();else{if(!t||!t[a])throw new l("iterable",["Iterable"],t);d=!1,c=t[a]()}const m=new e({objectMode:!0,highWaterMark:1,...r});let f=!1;return m._read=function(){f||(f=!0,async function(){for(;;){try{const{value:e,done:t}=d?await c.next():c.next();if(t)m.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw f=!1,new u;if(m.push(t))continue;f=!1}}catch(e){m.destroy(e)}break}}())},m._destroy=function(e,t){s(async function(e){const t=e!==undefined&&null!==e,r="function"==typeof c.throw;if(t&&r){const{value:t,done:r}=await c.throw(e);if(await t,r)return}if("function"==typeof c.return){const{value:e}=await c.return();await e}}(e),()=>n.nextTick(t,e),r=>n.nextTick(t,r||e))},m}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/from.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/legacy.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ArrayIsArray:n,ObjectSetPrototypeOf:s}=e("../../ours/primordials"),{EventEmitter:o}=e("events");function a(e){o.call(this,e)}function i(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?n(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}s(a.prototype,o.prototype),s(a,o),a.prototype.pipe=function(e,t){const r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function s(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",s),e._isStdio||t&&!1===t.end||(r.on("end",l),r.on("close",u));let a=!1;function l(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){d(),0===o.listenerCount(this,"error")&&this.emit("error",e)}function d(){r.removeListener("data",n),e.removeListener("drain",s),r.removeListener("end",l),r.removeListener("close",u),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",d),r.removeListener("close",d),e.removeListener("close",d)}return i(r,"error",c),i(e,"error",c),r.on("end",d),r.on("close",d),e.on("close",d),e.emit("pipe",r),e},t.exports={Stream:a,prependListener:i}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/legacy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/operators.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js","./add-abort-signal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","./compose":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/compose.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","abort-controller":"/home/runner/work/metamask-extension/metamask-extension/node_modules/abort-controller/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=globalThis.AbortController||e("abort-controller").AbortController,{codes:{ERR_INVALID_ARG_VALUE:s,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:i},AbortError:l}=e("../../ours/errors"),{validateAbortSignal:u,validateInteger:c,validateObject:d}=e("../validators"),m=e("../../ours/primordials").Symbol("kWeak"),f=e("../../ours/primordials").Symbol("kResistStopPropagation"),{finished:h}=e("./end-of-stream"),p=e("./compose"),{addAbortSignalNoValidate:b}=e("./add-abort-signal"),{isWritable:g,isNodeStream:w}=e("./utils"),{deprecate:y}=e("../../ours/util"),{ArrayPrototypePush:_,Boolean:k,MathFloor:v,Number:x,NumberIsNaN:j,Promise:E,PromiseReject:S,PromiseResolve:A,PromisePrototypeThen:R,Symbol:T}=e("../../ours/primordials"),O=T("kEmpty"),P=T("kEof");function M(t,r){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);null!=r&&d(r,"options"),null!=(null===r||r===undefined?undefined:r.signal)&&u(r.signal,"options.signal");let n=1;null!=(null===r||r===undefined?undefined:r.concurrency)&&(n=v(r.concurrency));let s=n-1;return null!=(null===r||r===undefined?undefined:r.highWaterMark)&&(s=v(r.highWaterMark)),c(n,"options.concurrency",1),c(s,"options.highWaterMark",0),s+=n,async function*(){const o=e("../../ours/util").AbortSignalAny([null===r||r===undefined?undefined:r.signal].filter(k)),a=this,i=[],u={signal:o};let c,d,m=!1,f=0;function h(){m=!0,p()}function p(){f-=1,b()}function b(){d&&!m&&f<n&&i.length<s&&(d(),d=null)}!async function(){try{for await(let e of a){if(m)return;if(o.aborted)throw new l;try{if(e=t(e,u),e===O)continue;e=A(e)}catch(t){e=S(t)}f+=1,R(e,p,h),i.push(e),c&&(c(),c=null),!m&&(i.length>=s||f>=n)&&await new E(e=>{d=e})}i.push(P)}catch(e){const t=S(e);R(t,p,h),i.push(t)}finally{m=!0,c&&(c(),c=null)}}();try{for(;;){for(;i.length>0;){const e=await i[0];if(e===P)return;if(o.aborted)throw new l;e!==O&&(yield e),i.shift(),b()}await new E(e=>{c=e})}}finally{m=!0,d&&(d(),d=null)}}.call(this)}async function I(e,t=undefined){for await(const r of N.call(this,e,t))return!0;return!1}function N(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return M.call(this,async function(t,r){return await e(t,r)?t:O},t)}class C extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function L(e){if(e=x(e),j(e))return 0;if(e<0)throw new i("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:y(function(e=undefined){return null!=e&&d(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&u(e.signal,"options.signal"),async function*(){let t=0;for await(const n of this){var r;if(null!==e&&e!==undefined&&null!==(r=e.signal)&&r!==undefined&&r.aborted)throw new l({cause:e.signal.reason});yield[t++,n]}}.call(this)},"readable.asIndexedPairs will be removed in a future version."),drop:function(e,t=undefined){return null!=t&&d(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&u(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new l;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new l;e--<=0&&(yield r)}}.call(this)},filter:N,flatMap:function(e,t){const r=M.call(this,e,t);return async function*(){for await(const e of r)yield*e}.call(this)},map:M,take:function(e,t=undefined){return null!=t&&d(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&u(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new l;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new l;if(e-- >0&&(yield r),e<=0)return}}.call(this)},compose:function(e,t){if(null!=t&&d(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&u(t.signal,"options.signal"),w(e)&&!g(e))throw new s("stream",e,"must be writable");const r=p(this,e);return null!==t&&t!==undefined&&t.signal&&b(t.signal,r),r}},t.exports.promiseReturningOperators={every:async function(e,t=undefined){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return!await I.call(this,async(...t)=>!await e(...t),t)},forEach:async function(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);for await(const r of M.call(this,async function(t,r){return await e(t,r),O},t));},reduce:async function(e,t,r){var s;if("function"!=typeof e)throw new o("reducer",["Function","AsyncFunction"],e);null!=r&&d(r,"options"),null!=(null===r||r===undefined?undefined:r.signal)&&u(r.signal,"options.signal");let a=arguments.length>1;if(null!==r&&r!==undefined&&null!==(s=r.signal)&&s!==undefined&&s.aborted){const e=new l(undefined,{cause:r.signal.reason});throw this.once("error",()=>{}),await h(this.destroy(e)),e}const i=new n,c=i.signal;if(null!==r&&r!==undefined&&r.signal){const e={once:!0,[m]:this,[f]:!0};r.signal.addEventListener("abort",()=>i.abort(),e)}let p=!1;try{for await(const n of this){var b;if(p=!0,null!==r&&r!==undefined&&null!==(b=r.signal)&&b!==undefined&&b.aborted)throw new l;a?t=await e(t,n,{signal:c}):(t=n,a=!0)}if(!p&&!a)throw new C}finally{i.abort()}return t},toArray:async function(e){null!=e&&d(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&u(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(null!==e&&e!==undefined&&null!==(r=e.signal)&&r!==undefined&&r.aborted)throw new l(undefined,{cause:e.signal.reason});_(t,n)}return t},some:I,find:async function(e,t){for await(const r of N.call(this,e,t))return r;return undefined}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/operators.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/passthrough.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/transform.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectSetPrototypeOf:n}=e("../../ours/primordials");t.exports=o;const s=e("./transform");function o(e){if(!(this instanceof o))return new o(e);s.call(this,e)}n(o.prototype,s.prototype),n(o,s),o.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/pipeline.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./passthrough":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/passthrough.js","./readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","abort-controller":"/home/runner/work/metamask-extension/metamask-extension/node_modules/abort-controller/browser.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{ArrayIsArray:s,Promise:o,SymbolAsyncIterator:a,SymbolDispose:i}=e("../../ours/primordials"),l=e("./end-of-stream"),{once:u}=e("../../ours/util"),c=e("./destroy"),d=e("./duplex"),{aggregateTwoErrors:m,codes:{ERR_INVALID_ARG_TYPE:f,ERR_INVALID_RETURN_VALUE:h,ERR_MISSING_ARGS:p,ERR_STREAM_DESTROYED:b,ERR_STREAM_PREMATURE_CLOSE:g},AbortError:w}=e("../../ours/errors"),{validateFunction:y,validateAbortSignal:_}=e("../validators"),{isIterable:k,isReadable:v,isReadableNodeStream:x,isNodeStream:j,isTransformStream:E,isWebStream:S,isReadableStream:A,isReadableFinished:R}=e("./utils"),T=globalThis.AbortController||e("abort-controller").AbortController;let O,P,M;function I(e,t,r){let n=!1;e.on("close",()=>{n=!0});return{destroy:t=>{n||(n=!0,c.destroyer(e,t||new b("pipe")))},cleanup:l(e,{readable:t,writable:r},e=>{n=!e})}}function N(t){if(k(t))return t;if(x(t))return async function*(t){P||(P=e("./readable"));yield*P.prototype[a].call(t)}(t);throw new f("val",["Readable","Iterable","AsyncIterable"],t)}async function C(e,t,r,{end:n}){let s,a=null;const i=e=>{if(e&&(s=e),a){const e=a;a=null,e()}},u=()=>new o((e,t)=>{s?t(s):a=()=>{s?t(s):e()}});t.on("drain",i);const c=l(t,{readable:!1},i);try{t.writableNeedDrain&&await u();for await(const r of e)t.write(r)||await u();n&&(t.end(),await u()),r()}catch(e){r(s!==e?m(s,e):e)}finally{c(),t.off("drain",i)}}async function L(e,t,r,{end:n}){E(t)&&(t=t.writable);const s=t.getWriter();try{for await(const t of e)await s.ready,s.write(t).catch(()=>{});await s.ready,n&&await s.close(),r()}catch(e){try{await s.abort(e),r(e)}catch(e){r(e)}}}function D(t,r,o){if(1===t.length&&s(t[0])&&(t=t[0]),t.length<2)throw new p("streams");const a=new T,l=a.signal,u=null===o||o===undefined?undefined:o.signal,c=[];function m(){F(new w)}let b,g,y;_(u,"options.signal"),M=M||e("../../ours/util").addAbortListener,u&&(b=M(u,m));const R=[];let P,D=0;function $(e){F(e,0===--D)}function F(e,t){var s;if(!e||g&&"ERR_STREAM_PREMATURE_CLOSE"!==g.code||(g=e),g||t){for(;R.length;)R.shift()(g);null===(s=b)||s===undefined?undefined:s[i](),a.abort(),t&&(g||c.forEach(e=>e()),n.nextTick(r,g,y))}}for(let q=0;q<t.length;q++){const H=t[q],z=q<t.length-1,V=q>0,G=z||!1!==(null===o||o===undefined?undefined:o.end),K=q===t.length-1;if(j(H)){if(G){const{destroy:X,cleanup:Z}=I(H,z,V);R.push(X),v(H)&&K&&c.push(Z)}function Y(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&$(e)}H.on("error",Y),v(H)&&K&&c.push(()=>{H.removeListener("error",Y)})}if(0===q)if("function"==typeof H){if(P=H({signal:l}),!k(P))throw new h("Iterable, AsyncIterable or Stream","source",P)}else P=k(H)||x(H)||E(H)?H:d.from(H);else if("function"==typeof H){var B;if(E(P))P=N(null===(B=P)||B===undefined?undefined:B.readable);else P=N(P);if(P=H(P,{signal:l}),z){if(!k(P,!0))throw new h("AsyncIterable",`transform[${q-1}]`,P)}else{var W;O||(O=e("./passthrough"));const J=new O({objectMode:!0}),Q=null===(W=P)||W===undefined?undefined:W.then;if("function"==typeof Q)D++,Q.call(P,e=>{y=e,null!=e&&J.write(e),G&&J.end(),n.nextTick($)},e=>{J.destroy(e),n.nextTick($,e)});else if(k(P,!0))D++,C(P,J,$,{end:G});else{if(!A(P)&&!E(P))throw new h("AsyncIterable or Promise","destination",P);{const re=P.readable||P;D++,C(re,J,$,{end:G})}}P=J;const{destroy:ee,cleanup:te}=I(P,!1,!0);R.push(ee),K&&c.push(te)}}else if(j(H)){if(x(P)){D+=2;const ne=U(P,H,$,{end:G});v(H)&&K&&c.push(ne)}else if(E(P)||A(P)){const se=P.readable||P;D++,C(se,H,$,{end:G})}else{if(!k(P))throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);D++,C(P,H,$,{end:G})}P=H}else if(S(H)){if(x(P))D++,L(N(P),H,$,{end:G});else if(A(P)||k(P))D++,L(P,H,$,{end:G});else{if(!E(P))throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);D++,L(P.readable,H,$,{end:G})}P=H}else P=d.from(H)}return(null!==l&&l!==undefined&&l.aborted||null!==u&&u!==undefined&&u.aborted)&&n.nextTick(m),P}function U(e,t,r,{end:s}){let o=!1;if(t.on("close",()=>{o||r(new g)}),e.pipe(t,{end:!1}),s){function a(){o=!0,t.end()}R(e)?n.nextTick(a):e.once("end",a)}else r();return l(e,{readable:!0,writable:!1},t=>{const n=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?e.once("end",r).once("error",r):r(t)}),l(t,{readable:!1,writable:!0},r)}t.exports={pipelineImpl:D,pipeline:function(...e){return D(e,u(function(e){return y(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/pipeline.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js","./add-abort-signal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","./buffer_list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/from.js","./legacy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/legacy.js","./state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{ArrayPrototypeIndexOf:s,NumberIsInteger:o,NumberIsNaN:a,NumberParseInt:i,ObjectDefineProperties:l,ObjectKeys:u,ObjectSetPrototypeOf:c,Promise:d,SafeSet:m,SymbolAsyncDispose:f,SymbolAsyncIterator:h,Symbol:p}=e("../../ours/primordials");t.exports=G,G.ReadableState=V;const{EventEmitter:b}=e("events"),{Stream:g,prependListener:w}=e("./legacy"),{Buffer:y}=e("buffer"),{addAbortSignal:_}=e("./add-abort-signal"),k=e("./end-of-stream");let v=e("../../ours/util").debuglog("stream",e=>{v=e});const x=e("./buffer_list"),j=e("./destroy"),{getHighWaterMark:E,getDefaultHighWaterMark:S}=e("./state"),{aggregateTwoErrors:A,codes:{ERR_INVALID_ARG_TYPE:R,ERR_METHOD_NOT_IMPLEMENTED:T,ERR_OUT_OF_RANGE:O,ERR_STREAM_PUSH_AFTER_EOF:P,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:M},AbortError:I}=e("../../ours/errors"),{validateObject:N}=e("../validators"),C=p("kPaused"),{StringDecoder:L}=e("string_decoder/"),D=e("./from");c(G.prototype,g.prototype),c(G,g);const U=()=>{},{errorOrDestroy:$}=j,F=1,B=16,W=32,q=2048,H=4096;function z(e){return{enumerable:!1,get(){return 0!==(this.state&e)},set(t){t?this.state|=e:this.state&=~e}}}function V(t,r,n){"boolean"!=typeof n&&(n=r instanceof e("./duplex")),this.state=q|H|B|W,t&&t.objectMode&&(this.state|=F),n&&t&&t.readableObjectMode&&(this.state|=F),this.highWaterMark=t?E(this,t,"readableHighWaterMark",n):S(!1),this.buffer=new x,this.length=0,this.pipes=[],this.flowing=null,this[C]=null,t&&!1===t.emitClose&&(this.state&=~q),t&&!1===t.autoDestroy&&(this.state&=~H),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new L(t.encoding),this.encoding=t.encoding)}function G(t){if(!(this instanceof G))return new G(t);const r=this instanceof e("./duplex");this._readableState=new V(t,this,r),t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&!r&&_(t.signal,this)),g.call(this,t),j.construct(this,()=>{this._readableState.needReadable&&Q(this,this._readableState)})}function K(e,t,r,n){v("readableAddChunk",t);const s=e._readableState;let o;if(0===(s.state&F)&&("string"==typeof t?(r=r||s.defaultEncoding,s.encoding!==r&&(n&&s.encoding?t=y.from(t,r).toString(s.encoding):(t=y.from(t,r),r=""))):t instanceof y?r="":g._isUint8Array(t)?(t=g._uint8ArrayToBuffer(t),r=""):null!=t&&(o=new R("chunk",["string","Buffer","Uint8Array"],t))),o)$(e,o);else if(null===t)s.state&=-9,function(e,t){if(v("onEofChunk"),t.ended)return;if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?Z(e):(t.needReadable=!1,t.emittedReadable=!0,J(e))}(e,s);else if(0!==(s.state&F)||t&&t.length>0)if(n)if(4&s.state)$(e,new M);else{if(s.destroyed||s.errored)return!1;Y(e,s,t,!0)}else if(s.ended)$(e,new P);else{if(s.destroyed||s.errored)return!1;s.state&=-9,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?Y(e,s,t,!1):Q(e,s)):Y(e,s,t,!1)}else n||(s.state&=-9,Q(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function Y(e,t,r,n){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(65536&t.state?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),64&t.state&&Z(e)),Q(e,t)}l(V.prototype,{objectMode:z(F),ended:z(2),endEmitted:z(4),reading:z(8),constructed:z(B),sync:z(W),needReadable:z(64),emittedReadable:z(128),readableListening:z(256),resumeScheduled:z(512),errorEmitted:z(1024),emitClose:z(q),autoDestroy:z(H),destroyed:z(8192),closed:z(16384),closeEmitted:z(32768),multiAwaitDrain:z(65536),readingMore:z(1<<17),dataEmitted:z(1<<18)}),G.prototype.destroy=j.destroy,G.prototype._undestroy=j.undestroy,G.prototype._destroy=function(e,t){t(e)},G.prototype[b.captureRejectionSymbol]=function(e){this.destroy(e)},G.prototype[f]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new I,this.destroy(e)),new d((t,r)=>k(this,n=>n&&n!==e?r(n):t(null)))},G.prototype.push=function(e,t){return K(this,e,t,!1)},G.prototype.unshift=function(e,t){return K(this,e,t,!0)},G.prototype.isPaused=function(){const e=this._readableState;return!0===e[C]||!1===e.flowing},G.prototype.setEncoding=function(e){const t=new L(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;const r=this._readableState.buffer;let n="";for(const e of r)n+=t.write(e);return r.clear(),""!==n&&r.push(n),this._readableState.length=n.length,this};function X(e,t){return e<=0||0===t.length&&t.ended?0:0!==(t.state&F)?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function Z(e){const t=e._readableState;v("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(v("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(J,e))}function J(e){const t=e._readableState;v("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||t.errored||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,se(e)}function Q(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,n.nextTick(ee,e,t))}function ee(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){const r=t.length;if(v("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function te(e){const t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[C]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function re(e){v("readable nexttick read 0"),e.read(0)}function ne(e,t){v("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),se(e),t.flowing&&!t.reading&&e.read(0)}function se(e){const t=e._readableState;for(v("flow",t.flowing);t.flowing&&null!==e.read(););}function oe(e,t){"function"!=typeof e.read&&(e=G.wrap(e,{objectMode:!0}));const r=async function*(e,t){let r,n=U;function s(t){this===e?(n(),n=U):n=t}e.on("readable",s);const o=k(e,{writable:!1},e=>{r=e?A(r,e):null,n(),n=U});try{for(;;){const t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(r)throw r;if(null===r)return;await new d(s)}}}catch(e){throw r=A(r,e),r}finally{!r&&!1===(null===t||t===undefined?undefined:t.destroyOnReturn)||r!==undefined&&!e._readableState.autoDestroy?(e.off("readable",s),o()):j.destroyer(e,null)}}(e,t);return r.stream=e,r}function ae(e,t){if(0===t.length)return null;let r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function ie(e){const t=e._readableState;v("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(le,t,e))}function le(e,t){if(v("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)n.nextTick(ue,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function ue(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let ce;function de(){return ce===undefined&&(ce={}),ce}G.prototype.read=function(e){v("read",e),e===undefined?e=NaN:o(e)||(e=i(e,10));const t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new O("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.state&=-129),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return v("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?ie(this):Z(this),null;if(0===(e=X(e,t))&&t.ended)return 0===t.length&&ie(this),null;let n,s=!!(64&t.state);if(v("need readable",s),(0===t.length||t.length-e<t.highWaterMark)&&(s=!0,v("length less than watermark",s)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)s=!1,v("reading, ended or constructing",s);else if(s){v("do read"),t.state|=8|W,0===t.length&&(t.state|=64);try{this._read(t.highWaterMark)}catch(e){$(this,e)}t.state&=~W,t.reading||(e=X(r,t))}return n=e>0?ae(e,t):null,null===n?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&ie(this)),null===n||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",n)),n},G.prototype._read=function(e){throw new T("_read()")},G.prototype.pipe=function(e,t){const r=this,s=this._readableState;1===s.pipes.length&&(s.multiAwaitDrain||(s.multiAwaitDrain=!0,s.awaitDrainWriters=new m(s.awaitDrainWriters?[s.awaitDrainWriters]:[]))),s.pipes.push(e),v("pipe count=%d opts=%j",s.pipes.length,t);const o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?i:b;function a(t,n){v("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,function(){v("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),l&&e.removeListener("drain",l);e.removeListener("error",f),e.removeListener("unpipe",a),r.removeListener("end",i),r.removeListener("end",b),r.removeListener("data",d),u=!0,l&&s.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&l()}())}function i(){v("onend"),e.end()}let l;s.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",a);let u=!1;function c(){u||(1===s.pipes.length&&s.pipes[0]===e?(v("false write response, pause",0),s.awaitDrainWriters=e,s.multiAwaitDrain=!1):s.pipes.length>1&&s.pipes.includes(e)&&(v("false write response, pause",s.awaitDrainWriters.size),s.awaitDrainWriters.add(e)),r.pause()),l||(l=function(e,t){return function(){const r=e._readableState;r.awaitDrainWriters===t?(v("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(v("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(t)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(r,e),e.on("drain",l))}function d(t){v("ondata");const r=e.write(t);v("dest.write",r),!1===r&&c()}function f(t){if(v("onerror",t),b(),e.removeListener("error",f),0===e.listenerCount("error")){const r=e._writableState||e._readableState;r&&!r.errorEmitted?$(e,t):e.emit("error",t)}}function h(){e.removeListener("finish",p),b()}function p(){v("onfinish"),e.removeListener("close",h),b()}function b(){v("unpipe"),r.unpipe(e)}return r.on("data",d),w(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",r),!0===e.writableNeedDrain?c():s.flowing||(v("pipe resume"),r.resume()),e},G.prototype.unpipe=function(e){const t=this._readableState;if(0===t.pipes.length)return this;if(!e){const e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit("unpipe",this,{hasUnpiped:!1});return this}const r=s(t.pipes,e);return-1===r||(t.pipes.splice(r,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},G.prototype.on=function(e,t){const r=g.prototype.on.call(this,e,t),s=this._readableState;return"data"===e?(s.readableListening=this.listenerCount("readable")>0,!1!==s.flowing&&this.resume()):"readable"===e&&(s.endEmitted||s.readableListening||(s.readableListening=s.needReadable=!0,s.flowing=!1,s.emittedReadable=!1,v("on readable",s.length,s.reading),s.length?Z(this):s.reading||n.nextTick(re,this))),r},G.prototype.addListener=G.prototype.on,G.prototype.removeListener=function(e,t){const r=g.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(te,this),r},G.prototype.off=G.prototype.removeListener,G.prototype.removeAllListeners=function(e){const t=g.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(te,this),t},G.prototype.resume=function(){const e=this._readableState;return e.flowing||(v("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(ne,e,t))}(this,e)),e[C]=!1,this},G.prototype.pause=function(){return v("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(v("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[C]=!0,this},G.prototype.wrap=function(e){let t=!1;e.on("data",r=>{!this.push(r)&&e.pause&&(t=!0,e.pause())}),e.on("end",()=>{this.push(null)}),e.on("error",e=>{$(this,e)}),e.on("close",()=>{this.destroy()}),e.on("destroy",()=>{this.destroy()}),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const r=u(e);for(let t=1;t<r.length;t++){const n=r[t];this[n]===undefined&&"function"==typeof e[n]&&(this[n]=e[n].bind(e))}return this},G.prototype[h]=function(){return oe(this)},G.prototype.iterator=function(e){return e!==undefined&&N(e,"options"),oe(this,e)},l(G.prototype,{readable:{__proto__:null,get(){const e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),l(V.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[C]},set(e){this[C]=!!e}}}),G._fromList=ae,G.from=function(e,t){return D(G,e,t)},G.fromWeb=function(e,t){return de().newStreamReadableFromReadableStream(e,t)},G.toWeb=function(e,t){return de().newReadableStreamFromStreamReadable(e,t)},G.wrap=function(e,t){var r,n;return new G({objectMode:null===(r=null!==(n=e.readableObjectMode)&&n!==undefined?n:e.objectMode)||r===undefined||r,...t,destroy(t,r){j.destroyer(e,t),r(t)}}).wrap(e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/readable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../validators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{MathFloor:n,NumberIsInteger:s}=e("../../ours/primordials"),{validateInteger:o}=e("../validators"),{ERR_INVALID_ARG_VALUE:a}=e("../../ours/errors").codes;let i=16384,l=16;function u(e){return e?l:i}t.exports={getHighWaterMark:function(e,t,r,o){const i=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,o,r);if(null!=i){if(!s(i)||i<0){throw new a(o?`options.${r}`:"options.highWaterMark",i)}return n(i)}return u(e.objectMode)},getDefaultHighWaterMark:u,setDefaultHighWaterMark:function(e,t){o(t,"value",0),e?l=t:i=t}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/state.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/transform.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectSetPrototypeOf:n,Symbol:s}=e("../../ours/primordials");t.exports=u;const{ERR_METHOD_NOT_IMPLEMENTED:o}=e("../../ours/errors").codes,a=e("./duplex"),{getHighWaterMark:i}=e("./state");n(u.prototype,a.prototype),n(u,a);const l=s("kCallback");function u(e){if(!(this instanceof u))return new u(e);const t=e?i(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),a.call(this,e),this._readableState.sync=!1,this[l]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())})}function d(){this._final!==c&&c.call(this)}u.prototype._final=c,u.prototype._transform=function(e,t,r){throw new o("_transform()")},u.prototype._write=function(e,t,r){const n=this._readableState,s=this._writableState,o=n.length;this._transform(e,t,(e,t)=>{e?r(e):(null!=t&&this.push(t),s.ended||o===n.length||n.length<n.highWaterMark?r():this[l]=r)})},u.prototype._read=function(){if(this[l]){const e=this[l];this[l]=null,e()}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js",{"../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{SymbolAsyncIterator:n,SymbolIterator:s,SymbolFor:o}=e("../../ours/primordials"),a=o("nodejs.stream.destroyed"),i=o("nodejs.stream.errored"),l=o("nodejs.stream.readable"),u=o("nodejs.stream.writable"),c=o("nodejs.stream.disturbed"),d=o("nodejs.webstream.isClosedPromise"),m=o("nodejs.webstream.controllerErrorFunction");function f(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||r===undefined?undefined:r.readable)||e._writableState&&!e._readableState)}function h(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||t===undefined?undefined:t.writable))}function p(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function b(e){return!(!e||p(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function g(e){return!(!e||p(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function w(e){return!(!e||p(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function y(e){if(!p(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[a]||null!==n&&n!==undefined&&n.destroyed)}function _(e){if(!h(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null===t||t===undefined||!t.errored)&&("boolean"!=typeof(null===t||t===undefined?undefined:t.ended)?null:t.ended)}function k(e,t){if(!f(e))return null;const r=e._readableState;return(null===r||r===undefined||!r.errored)&&("boolean"!=typeof(null===r||r===undefined?undefined:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function v(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null===e||e===undefined?undefined:e.readable)?null:!y(e)&&(f(e)&&e.readable&&!k(e))}function x(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null===e||e===undefined?undefined:e.writable)?null:!y(e)&&(h(e)&&e.writable&&!_(e))}function j(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function E(e){return"boolean"==typeof e._sent100&&j(e)}t.exports={isDestroyed:y,kIsDestroyed:a,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&t!==undefined?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,n,s,o,a,l,u,c,d;return!(!e||!(null!==(t=null!==(r=null!==(n=null!==(s=null!==(o=null!==(a=e[i])&&a!==undefined?a:e.readableErrored)&&o!==undefined?o:e.writableErrored)&&s!==undefined?s:null===(l=e._readableState)||l===undefined?undefined:l.errorEmitted)&&n!==undefined?n:null===(u=e._writableState)||u===undefined?undefined:u.errorEmitted)&&r!==undefined?r:null===(c=e._readableState)||c===undefined?undefined:c.errored)&&t!==undefined?t:null===(d=e._writableState)||d===undefined?undefined:d.errored))},kIsErrored:i,isReadable:v,kIsReadable:l,kIsClosedPromise:d,kControllerErrorFunction:m,kIsWritable:u,isClosed:function(e){if(!p(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,r=e._readableState;return"boolean"==typeof(null===t||t===undefined?undefined:t.closed)||"boolean"==typeof(null===r||r===undefined?undefined:r.closed)?(null===t||t===undefined?undefined:t.closed)||(null===r||r===undefined?undefined:r.closed):"boolean"==typeof e._closed&&j(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return p(e)?!!y(e)||(!1===(null===t||t===undefined?undefined:t.readable)||!v(e))&&(!1===(null===t||t===undefined?undefined:t.writable)||!x(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[n]:!1===t?"function"==typeof e[s]:"function"==typeof e[n]||"function"==typeof e[s])},isReadableNodeStream:f,isReadableStream:b,isReadableEnded:function(e){if(!f(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null===t||t===undefined?undefined:t.ended)?null:t.ended)},isReadableFinished:k,isReadableErrored:function(e){var t,r;return p(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||r===undefined?undefined:r.errored)&&t!==undefined?t:null:null},isNodeStream:p,isWebStream:function(e){return b(e)||g(e)||w(e)},isWritable:x,isWritableNodeStream:h,isWritableStream:g,isWritableEnded:_,isWritableFinished:function(e,t){if(!h(e))return null;if(!0===e.writableFinished)return!0;const r=e._writableState;return(null===r||r===undefined||!r.errored)&&("boolean"!=typeof(null===r||r===undefined?undefined:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return p(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||r===undefined?undefined:r.errored)&&t!==undefined?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&(null===(t=e.req)||t===undefined?undefined:t.upgradeOrConnect)===undefined},isServerResponse:E,willEmitClose:function(e){if(!p(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!n&&E(e)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:w}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/writable.js",{"../../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./add-abort-signal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","./destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./legacy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/legacy.js","./state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js","process/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{ArrayPrototypeSlice:s,Error:o,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:i,ObjectDefineProperties:l,ObjectSetPrototypeOf:u,StringPrototypeToLowerCase:c,Symbol:d,SymbolHasInstance:m}=e("../../ours/primordials");t.exports=N,N.WritableState=M;const{EventEmitter:f}=e("events"),h=e("./legacy").Stream,{Buffer:p}=e("buffer"),b=e("./destroy"),{addAbortSignal:g}=e("./add-abort-signal"),{getHighWaterMark:w,getDefaultHighWaterMark:y}=e("./state"),{ERR_INVALID_ARG_TYPE:_,ERR_METHOD_NOT_IMPLEMENTED:k,ERR_MULTIPLE_CALLBACK:v,ERR_STREAM_CANNOT_PIPE:x,ERR_STREAM_DESTROYED:j,ERR_STREAM_ALREADY_FINISHED:E,ERR_STREAM_NULL_VALUES:S,ERR_STREAM_WRITE_AFTER_END:A,ERR_UNKNOWN_ENCODING:R}=e("../../ours/errors").codes,{errorOrDestroy:T}=b;function O(){}u(N.prototype,h.prototype),u(N,h);const P=d("kOnFinished");function M(t,r,n){"boolean"!=typeof n&&(n=r instanceof e("./duplex")),this.objectMode=!(!t||!t.objectMode),n&&(this.objectMode=this.objectMode||!(!t||!t.writableObjectMode)),this.highWaterMark=t?w(this,t,"writableHighWaterMark",n):y(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const s=!(!t||!1!==t.decodeStrings);this.decodeStrings=!s,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=U.bind(undefined,r),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,I(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||!1!==t.emitClose,this.autoDestroy=!t||!1!==t.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[P]=[]}function I(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function N(t){const r=this instanceof e("./duplex");if(!r&&!a(N,this))return new N(t);this._writableState=new M(t,this,r),t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&g(t.signal,this)),h.call(this,t),b.construct(this,()=>{const e=this._writableState;e.writing||W(this,e),z(this,e)})}function C(e,t,r,s){const o=e._writableState;if("function"==typeof r)s=r,r=o.defaultEncoding;else{if(r){if("buffer"!==r&&!p.isEncoding(r))throw new R(r)}else r=o.defaultEncoding;"function"!=typeof s&&(s=O)}if(null===t)throw new S;if(!o.objectMode)if("string"==typeof t)!1!==o.decodeStrings&&(t=p.from(t,r),r="buffer");else if(t instanceof p)r="buffer";else{if(!h._isUint8Array(t))throw new _("chunk",["string","Buffer","Uint8Array"],t);t=h._uint8ArrayToBuffer(t),r="buffer"}let a;return o.ending?a=new A:o.destroyed&&(a=new j("write")),a?(n.nextTick(s,a),T(e,a,!0),a):(o.pendingcb++,function(e,t,r,n,s){const o=t.objectMode?1:r.length;t.length+=o;const a=t.length<t.highWaterMark;a||(t.needDrain=!0);t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:n,callback:s}),t.allBuffers&&"buffer"!==n&&(t.allBuffers=!1),t.allNoop&&s!==O&&(t.allNoop=!1)):(t.writelen=o,t.writecb=s,t.writing=!0,t.sync=!0,e._write(r,n,t.onwrite),t.sync=!1);return a&&!t.errored&&!t.destroyed}(e,o,t,r,s))}function L(e,t,r,n,s,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new j("write")):r?e._writev(s,t.onwrite):e._write(s,o,t.onwrite),t.sync=!1}function D(e,t,r,n){--t.pendingcb,n(r),B(t),T(e,r)}function U(e,t){const r=e._writableState,s=r.sync,o=r.writecb;"function"==typeof o?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t?(t.stack,r.errored||(r.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),s?n.nextTick(D,e,r,t,o):D(e,r,t,o)):(r.buffered.length>r.bufferedIndex&&W(e,r),s?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===o?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:o,stream:e,state:r},n.nextTick($,r.afterWriteTickInfo)):F(e,r,1,o))):T(e,new v)}function $({stream:e,state:t,count:r,cb:n}){return t.afterWriteTickInfo=null,F(e,t,r,n)}function F(e,t,r,n){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,n();t.destroyed&&B(t),z(e,t)}function B(e){if(e.writing)return;for(let r=e.bufferedIndex;r<e.buffered.length;++r){var t;const{chunk:n,callback:s}=e.buffered[r],o=e.objectMode?1:n.length;e.length-=o,s(null!==(t=e.errored)&&t!==undefined?t:new j("write"))}const r=e[P].splice(0);for(let t=0;t<r.length;t++){var n;r[t](null!==(n=e.errored)&&n!==undefined?n:new j("end"))}I(e)}function W(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:r,bufferedIndex:n,objectMode:o}=t,a=r.length-n;if(!a)return;let i=n;if(t.bufferProcessing=!0,a>1&&e._writev){t.pendingcb-=a-1;const n=t.allNoop?O:e=>{for(let t=i;t<r.length;++t)r[t].callback(e)},o=t.allNoop&&0===i?r:s(r,i);o.allBuffers=t.allBuffers,L(e,t,!0,t.length,o,"",n),I(t)}else{do{const{chunk:n,encoding:s,callback:a}=r[i];r[i++]=null;L(e,t,!1,o?1:n.length,n,s,a)}while(i<r.length&&!t.writing);i===r.length?I(t):i>256?(r.splice(0,i),t.bufferedIndex=0):t.bufferedIndex=i}t.bufferProcessing=!1}function q(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function H(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let r=!1;function s(s){if(r)T(e,null!==s&&s!==undefined?s:v());else if(r=!0,t.pendingcb--,s){const r=t[P].splice(0);for(let e=0;e<r.length;e++)r[e](s);T(e,s,t.sync)}else q(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,n.nextTick(V,e,t))}t.sync=!0,t.pendingcb++;try{e._final(s)}catch(e){s(e)}t.sync=!1}(e,t)))}function z(e,t,r){q(t)&&(H(e,t),0===t.pendingcb&&(r?(t.pendingcb++,n.nextTick((e,t)=>{q(t)?V(e,t):t.pendingcb--},e,t)):q(t)&&(t.pendingcb++,V(e,t))))}function V(e,t){t.pendingcb--,t.finished=!0;const r=t[P].splice(0);for(let e=0;e<r.length;e++)r[e]();if(e.emit("finish"),t.autoDestroy){const t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}M.prototype.getBuffer=function(){return s(this.buffered,this.bufferedIndex)},i(M.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),i(N,m,{__proto__:null,value:function(e){return!!a(this,e)||this===N&&(e&&e._writableState instanceof M)}}),N.prototype.pipe=function(){T(this,new x)},N.prototype.write=function(e,t,r){return!0===C(this,e,t,r)},N.prototype.cork=function(){this._writableState.corked++},N.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||W(this,e))},N.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=c(e)),!p.isEncoding(e))throw new R(e);return this._writableState.defaultEncoding=e,this},N.prototype._write=function(e,t,r){if(!this._writev)throw new k("_write()");this._writev([{chunk:e,encoding:t}],r)},N.prototype._writev=null,N.prototype.end=function(e,t,r){const s=this._writableState;let a;if("function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined){const r=C(this,e,t);r instanceof o&&(a=r)}return s.corked&&(s.corked=1,this.uncork()),a||(s.errored||s.ending?s.finished?a=new E("end"):s.destroyed&&(a=new j("end")):(s.ending=!0,z(this,s,!0),s.ended=!0)),"function"==typeof r&&(a||s.finished?n.nextTick(r,a):s[P].push(r)),this},l(N.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){const e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const e=this._writableState;return!!e&&(!e.destroyed&&!e.ending&&e.needDrain)}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const G=b.destroy;let K;function Y(){return K===undefined&&(K={}),K}N.prototype.destroy=function(e,t){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[P].length)&&n.nextTick(B,r),G.call(this,e,t),this},N.prototype._undestroy=b.undestroy,N.prototype._destroy=function(e,t){t(e)},N.prototype[f.captureRejectionSymbol]=function(e){this.destroy(e)},N.fromWeb=function(e,t){return Y().newStreamWritableFromWritableStream(e,t)},N.toWeb=function(e){return Y().newWritableStreamFromStreamWritable(e)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/streams/writable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/validators.js",{"../ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","../ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ArrayIsArray:n,ArrayPrototypeIncludes:s,ArrayPrototypeJoin:o,ArrayPrototypeMap:a,NumberIsInteger:i,NumberIsNaN:l,NumberMAX_SAFE_INTEGER:u,NumberMIN_SAFE_INTEGER:c,NumberParseInt:d,ObjectPrototypeHasOwnProperty:m,RegExpPrototypeExec:f,String:h,StringPrototypeToUpperCase:p,StringPrototypeTrim:b}=e("../ours/primordials"),{hideStackFrames:g,codes:{ERR_SOCKET_BAD_PORT:w,ERR_INVALID_ARG_TYPE:y,ERR_INVALID_ARG_VALUE:_,ERR_OUT_OF_RANGE:k,ERR_UNKNOWN_SIGNAL:v}}=e("../ours/errors"),{normalizeEncoding:x}=e("../ours/util"),{isAsyncFunction:j,isArrayBufferView:E}=e("../ours/util").types,S={};const A=/^[0-7]+$/;const R=g((e,t,r=c,n=u)=>{if("number"!=typeof e)throw new y(t,"number",e);if(!i(e))throw new k(t,"an integer",e);if(e<r||e>n)throw new k(t,`>= ${r} && <= ${n}`,e)}),T=g((e,t,r=-2147483648,n=2147483647)=>{if("number"!=typeof e)throw new y(t,"number",e);if(!i(e))throw new k(t,"an integer",e);if(e<r||e>n)throw new k(t,`>= ${r} && <= ${n}`,e)}),O=g((e,t,r=!1)=>{if("number"!=typeof e)throw new y(t,"number",e);if(!i(e))throw new k(t,"an integer",e);const n=r?1:0,s=4294967295;if(e<n||e>s)throw new k(t,`>= ${n} && <= ${s}`,e)});function P(e,t){if("string"!=typeof e)throw new y(t,"string",e)}const M=g((e,t,r)=>{if(!s(r,e)){const n=o(a(r,e=>"string"==typeof e?`'${e}'`:h(e)),", ");throw new _(t,e,"must be one of: "+n)}});function I(e,t){if("boolean"!=typeof e)throw new y(t,"boolean",e)}function N(e,t,r){return null!=e&&m(e,t)?e[t]:r}const C=g((e,t,r=null)=>{const s=N(r,"allowArray",!1),o=N(r,"allowFunction",!1);if(!N(r,"nullable",!1)&&null===e||!s&&n(e)||"object"!=typeof e&&(!o||"function"!=typeof e))throw new y(t,"Object",e)}),L=g((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new y(t,"a dictionary",e)}),D=g((e,t,r=0)=>{if(!n(e))throw new y(t,"Array",e);if(e.length<r){throw new _(t,e,`must be longer than ${r}`)}});const U=g((e,t="buffer")=>{if(!E(e))throw new y(t,["Buffer","TypedArray","DataView"],e)});const $=g((e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new y(t,"AbortSignal",e)}),F=g((e,t)=>{if("function"!=typeof e)throw new y(t,"Function",e)}),B=g((e,t)=>{if("function"!=typeof e||j(e))throw new y(t,"Function",e)}),W=g((e,t)=>{if(e!==undefined)throw new y(t,"undefined",e)});const q=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function H(e,t){if(void 0===e||!f(q,e))throw new _(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}t.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(void 0===e&&(e=r),"string"==typeof e){if(null===f(A,e))throw new _(t,e,"must be a 32-bit unsigned integer or an octal string");e=d(e,8)}return O(e,t),e},validateArray:D,validateStringArray:function(e,t){D(e,t);for(let r=0;r<e.length;r++)P(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){D(e,t);for(let r=0;r<e.length;r++)I(e[r],`${t}[${r}]`)},validateAbortSignalArray:function(e,t){D(e,t);for(let r=0;r<e.length;r++){const n=e[r],s=`${t}[${r}]`;if(null==n)throw new y(s,"AbortSignal",n);$(n,s)}},validateBoolean:I,validateBuffer:U,validateDictionary:L,validateEncoding:function(e,t){const r=x(t),n=e.length;if("hex"===r&&n%2!=0)throw new _("encoding",t,`is invalid for data of length ${n}`)},validateFunction:F,validateInt32:T,validateInteger:R,validateNumber:function(e,t,r=undefined,n){if("number"!=typeof e)throw new y(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&l(e))throw new k(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=n?" && ":""}${null!=n?`<= ${n}`:""}`,e)},validateObject:C,validateOneOf:M,validatePlainFunction:B,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===b(e).length||+e!==+e>>>0||e>65535||0===e&&!r)throw new w(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(P(e,t),S[e]===undefined){if(S[p(e)]!==undefined)throw new v(e+" (signals must use all capital letters)");throw new v(e)}},validateString:P,validateUint32:O,validateUndefined:W,validateUnion:function(e,t,r){if(!s(r,e))throw new y(t,`('${o(r,"|")}')`,e)},validateAbortSignal:$,validateLinkHeaderValue:function(e){if("string"==typeof e)return H(e,"hints"),e;if(n(e)){const t=e.length;let r="";if(0===t)return r;for(let n=0;n<t;n++){const s=e[n];H(s,"hints"),r+=s,n!==t-1&&(r+=", ")}return r}throw new _("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/internal/validators.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/browser.js",{"../stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream.js","../stream/promises":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream/promises.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../stream"),s=e("../stream/promises"),o=n.Readable.destroy;t.exports=n.Readable,t.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,t.exports._isUint8Array=n._isUint8Array,t.exports.isDisturbed=n.isDisturbed,t.exports.isErrored=n.isErrored,t.exports.isReadable=n.isReadable,t.exports.Readable=n.Readable,t.exports.Writable=n.Writable,t.exports.Duplex=n.Duplex,t.exports.Transform=n.Transform,t.exports.PassThrough=n.PassThrough,t.exports.addAbortSignal=n.addAbortSignal,t.exports.finished=n.finished,t.exports.destroy=n.destroy,t.exports.destroy=o,t.exports.pipeline=n.pipeline,t.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>s}),t.exports.Stream=n.Stream,t.exports.default=t.exports}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js",{"./primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./util/inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util/inspect.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{format:n,inspect:s}=e("./util/inspect"),{AggregateError:o}=e("./primordials"),a=globalThis.AggregateError||o,i=Symbol("kIsNodeError"),l=["string","function","number","object","Function","Object","boolean","bigint","symbol"],u=/^([A-Z][a-z0-9]*)+$/,c={};function d(e,t){if(!e)throw new c.ERR_INTERNAL_ASSERTION(t)}function m(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function f(e,t,r){r||(r=Error);class s extends r{constructor(...r){super(function(e,t,r){if("function"==typeof t)return d(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const s=(t.match(/%[dfijoOs]/g)||[]).length;return d(s===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${s}).`),0===r.length?t:n(t,...r)}(e,t,r))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(s.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),s.prototype.code=e,s.prototype[i]=!0,c[e]=s}function h(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}class p extends Error{constructor(e="The operation was aborted",t=undefined){if(t!==undefined&&"object"!=typeof t)throw new c.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}}f("ERR_ASSERTION","%s",Error),f("ERR_INVALID_ARG_TYPE",(e,t,r)=>{d("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";const o=[],a=[],i=[];for(const e of t)d("string"==typeof e,"All expected entries have to be of type string"),l.includes(e)?o.push(e.toLowerCase()):u.test(e)?a.push(e):(d("object"!==e,'The value "object" should be written as "Object"'),i.push(e));if(a.length>0){const e=o.indexOf("object");-1!==e&&(o.splice(o,e,1),a.push("Object"))}if(o.length>0){switch(o.length){case 1:n+=`of type ${o[0]}`;break;case 2:n+=`one of type ${o[0]} or ${o[1]}`;break;default:{const e=o.pop();n+=`one of type ${o.join(", ")}, or ${e}`}}(a.length>0||i.length>0)&&(n+=" or ")}if(a.length>0){switch(a.length){case 1:n+=`an instance of ${a[0]}`;break;case 2:n+=`an instance of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();n+=`an instance of ${a.join(", ")}, or ${e}`}}i.length>0&&(n+=" or ")}switch(i.length){case 0:break;case 1:i[0].toLowerCase()!==i[0]&&(n+="an "),n+=`${i[0]}`;break;case 2:n+=`one of ${i[0]} or ${i[1]}`;break;default:{const e=i.pop();n+=`one of ${i.join(", ")}, or ${e}`}}if(null==r)n+=`. Received ${r}`;else if("function"==typeof r&&r.name)n+=`. Received function ${r.name}`;else if("object"==typeof r){var c;if(null!==(c=r.constructor)&&c!==undefined&&c.name)n+=`. Received an instance of ${r.constructor.name}`;else{n+=`. Received ${s(r,{depth:-1})}`}}else{let e=s(r,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),n+=`. Received type ${typeof r} (${e})`}return n},TypeError),f("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=s(t);n.length>128&&(n=n.slice(0,128)+"...");return`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError),f("ERR_INVALID_RETURN_VALUE",(e,t,r)=>{var n;return`Expected ${e} to be returned from the "${t}" function but got ${null!==r&&r!==undefined&&null!==(n=r.constructor)&&n!==undefined&&n.name?`instance of ${r.constructor.name}`:"type "+typeof r}.`},TypeError),f("ERR_MISSING_ARGS",(...e)=>{let t;d(e.length>0,"At least one arg needs to be specified");const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map(e=>`"${e}"`).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const r=e.pop();t+=`The ${e.join(", ")}, and ${r} arguments`}}return`${t} must be specified`},TypeError),f("ERR_OUT_OF_RANGE",(e,t,r)=>{let n;if(d(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32)n=m(String(r));else if("bigint"==typeof r){n=String(r);const e=BigInt(2)**BigInt(32);(r>e||r<-e)&&(n=m(n)),n+="n"}else n=s(r);return`The value of "${e}" is out of range. It must be ${t}. Received ${n}`},RangeError),f("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),f("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),f("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),f("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),f("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),f("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),f("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),f("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),f("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),f("ERR_STREAM_WRITE_AFTER_END","write after end",Error),f("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:p,aggregateTwoErrors:h(function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new a([t,e],t.message);return r.code=t.code,r}return e||t}),hideStackFrames:h,codes:c}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/errors.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){class n extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let r=0;r<e.length;r++)t+=`    ${e[r].stack}\n`;super(t),this.name="AggregateError",this.errors=e}}t.exports={AggregateError:n,ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,r)=>e.slice(t,r),Error:Error,FunctionPrototypeCall:(e,t,...r)=>e.call(t,...r),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,r)=>Object.defineProperty(e,t,r),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise:Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,r)=>e.then(t,r),PromiseReject:e=>Promise.reject(e),PromiseResolve:e=>Promise.resolve(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String:String,StringPrototypeSlice:(e,t,r)=>e.slice(t,r),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(e,t,r)=>e.set(t,r),Boolean:Boolean,Uint8Array:Uint8Array}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/primordials.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js",{"./errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","./primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./util/inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util/inspect.js","abort-controller":"/home/runner/work/metamask-extension/metamask-extension/node_modules/abort-controller/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("buffer"),{format:s,inspect:o}=e("./util/inspect"),{codes:{ERR_INVALID_ARG_TYPE:a}}=e("./errors"),{kResistStopPropagation:i,AggregateError:l,SymbolDispose:u}=e("./primordials"),c=globalThis.AbortSignal||e("abort-controller").AbortSignal,d=globalThis.AbortController||e("abort-controller").AbortController,m=Object.getPrototypeOf(async function(){}).constructor,f=globalThis.Blob||n.Blob,h=void 0!==f?function(e){return e instanceof f}:function(e){return!1},p=(e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new a(t,"AbortSignal",e)};t.exports={AggregateError:l,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...r){t||(t=!0,e.apply(this,r))}},createDeferredPromise:function(){let e,t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}},promisify:e=>new Promise((t,r)=>{e((e,...n)=>e?r(e):t(...n))}),debuglog:()=>function(){},format:s,inspect:o,types:{isAsyncFunction:e=>e instanceof m,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:h,deprecate:(e,t)=>e,addAbortListener:e("events").addAbortListener||function(e,t){if(e===undefined)throw new a("signal","AbortSignal",e);let r;return p(e,"signal"),((e,t)=>{if("function"!=typeof e)throw new a(t,"Function",e)})(t,"listener"),e.aborted?queueMicrotask(()=>t()):(e.addEventListener("abort",t,{__proto__:null,once:!0,[i]:!0}),r=()=>{e.removeEventListener("abort",t)}),{__proto__:null,[u](){var e;null===(e=r)||e===undefined?undefined:e()}}},AbortSignalAny:c.any||function(e){if(1===e.length)return e[0];const t=new d,r=()=>t.abort();return e.forEach(e=>{p(e,"signals"),e.addEventListener("abort",r,{once:!0})}),t.signal.addEventListener("abort",()=>{e.forEach(e=>e.removeEventListener("abort",r))},{once:!0}),t.signal}},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/util.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util/inspect.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={format:(e,...t)=>e.replace(/%([sdifj])/g,function(...[e,r]){const n=t.shift();if("f"===r)return n.toFixed(6);if("j"===r)return JSON.stringify(n);if("s"===r&&"object"==typeof n){return`${n.constructor!==Object?n.constructor.name:""} {}`.trim()}return n.toString()}),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/ours/util/inspect.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream.js",{"./internal/streams/add-abort-signal":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","./internal/streams/compose":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/compose.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/duplex.js","./internal/streams/end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./internal/streams/legacy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/legacy.js","./internal/streams/operators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/operators.js","./internal/streams/passthrough":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/passthrough.js","./internal/streams/pipeline":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/pipeline.js","./internal/streams/readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/readable.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/transform.js","./internal/streams/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","./internal/streams/writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/writable.js","./ours/errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/errors.js","./ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js","./ours/util":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/util.js","./stream/promises":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream/promises.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{Buffer:n}=e("buffer"),{ObjectDefineProperty:s,ObjectKeys:o,ReflectApply:a}=e("./ours/primordials"),{promisify:{custom:i}}=e("./ours/util"),{streamReturningOperators:l,promiseReturningOperators:u}=e("./internal/streams/operators"),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=e("./ours/errors"),d=e("./internal/streams/compose"),{setDefaultHighWaterMark:m,getDefaultHighWaterMark:f}=e("./internal/streams/state"),{pipeline:h}=e("./internal/streams/pipeline"),{destroyer:p}=e("./internal/streams/destroy"),b=e("./internal/streams/end-of-stream"),g=e("./stream/promises"),w=e("./internal/streams/utils"),y=t.exports=e("./internal/streams/legacy").Stream;y.isDestroyed=w.isDestroyed,y.isDisturbed=w.isDisturbed,y.isErrored=w.isErrored,y.isReadable=w.isReadable,y.isWritable=w.isWritable,y.Readable=e("./internal/streams/readable");for(const k of o(l)){const v=l[k];function x(...e){if(new.target)throw c();return y.Readable.from(a(v,this,e))}s(x,"name",{__proto__:null,value:v.name}),s(x,"length",{__proto__:null,value:v.length}),s(y.Readable.prototype,k,{__proto__:null,value:x,enumerable:!1,configurable:!0,writable:!0})}for(const j of o(u)){const E=u[j];function S(...e){if(new.target)throw c();return a(E,this,e)}s(S,"name",{__proto__:null,value:E.name}),s(S,"length",{__proto__:null,value:E.length}),s(y.Readable.prototype,j,{__proto__:null,value:S,enumerable:!1,configurable:!0,writable:!0})}y.Writable=e("./internal/streams/writable"),y.Duplex=e("./internal/streams/duplex"),y.Transform=e("./internal/streams/transform"),y.PassThrough=e("./internal/streams/passthrough"),y.pipeline=h;const{addAbortSignal:_}=e("./internal/streams/add-abort-signal");y.addAbortSignal=_,y.finished=b,y.destroy=p,y.compose=d,y.setDefaultHighWaterMark=m,y.getDefaultHighWaterMark=f,s(y,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>g}),s(h,i,{__proto__:null,enumerable:!0,get:()=>g.pipeline}),s(b,i,{__proto__:null,enumerable:!0,get:()=>g.finished}),y.Stream=y,y._isUint8Array=function(e){return e instanceof Uint8Array},y._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream/promises.js",{"../../lib/stream.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/stream.js","../internal/streams/end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","../internal/streams/pipeline":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/pipeline.js","../internal/streams/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/internal/streams/utils.js","../ours/primordials":"/home/runner/work/metamask-extension/metamask-extension/node_modules/readable-stream/lib/ours/primordials.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ArrayPrototypePop:n,Promise:s}=e("../ours/primordials"),{isIterable:o,isNodeStream:a,isWebStream:i}=e("../internal/streams/utils"),{pipelineImpl:l}=e("../internal/streams/pipeline"),{finished:u}=e("../internal/streams/end-of-stream");e("../../lib/stream.js"),t.exports={finished:u,pipeline:function(...e){return new s((t,r)=>{let s,u;const c=e[e.length-1];if(c&&"object"==typeof c&&!a(c)&&!o(c)&&!i(c)){const t=n(e);s=t.signal,u=t.end}l(e,(e,n)=>{e?r(e):t(n)},{signal:s,end:u})})}}}}},{package:"readable-stream",file:"node_modules/readable-stream/lib/stream/promises.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/redux-thunk/lib/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(s){return"function"==typeof s?s(r,n,e):t(s)}}}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=n();s.withExtraArgument=n;var o=s;r.default=o}}},{package:"redux-thunk",file:"node_modules/redux-thunk/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/redux/lib/redux.js",{"@babel/runtime/helpers/objectSpread2":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@babel/runtime/helpers/objectSpread2.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var s=n(e("@babel/runtime/helpers/objectSpread2"));function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var a="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},l={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function u(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===r&&(r=t,t=undefined),void 0!==r){if("function"!=typeof r)throw new Error(o(1));return r(c)(e,t)}if("function"!=typeof e)throw new Error(o(2));var s=e,i=t,d=[],m=d,f=!1;function h(){m===d&&(m=d.slice())}function p(){if(f)throw new Error(o(3));return i}function b(e){if("function"!=typeof e)throw new Error(o(4));if(f)throw new Error(o(5));var t=!0;return h(),m.push(e),function(){if(t){if(f)throw new Error(o(6));t=!1,h();var r=m.indexOf(e);m.splice(r,1),d=null}}}function g(e){if(!u(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(f)throw new Error(o(9));try{f=!0,i=s(i,e)}finally{f=!1}for(var t=d=m,r=0;r<t.length;r++){(0,t[r])()}return e}return g({type:l.INIT}),(n={dispatch:g,subscribe:b,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw new Error(o(10));s=e,g({type:l.REPLACE})}})[a]=function(){var e,t=b;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function r(){e.next&&e.next(p())}return r(),{unsubscribe:t(r)}}})[a]=function(){return this},e},n}var d=c;function m(e,t){return function(){return t(e.apply(this,arguments))}}function f(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}r.__DO_NOT_USE__ActionTypes=l,r.applyMiddleware=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(o(15))},a={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=t.map(function(e){return e(a)});return n=f.apply(void 0,i)(r.dispatch),s.default(s.default({},r),{},{dispatch:n})}}},r.bindActionCreators=function(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error(o(16));var r={};for(var n in e){var s=e[n];"function"==typeof s&&(r[n]=m(s,t))}return r},r.combineReducers=function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var s=t[n];0,"function"==typeof e[s]&&(r[s]=e[s])}var a,i=Object.keys(r);try{!function(e){Object.keys(e).forEach(function(t){var r=e[t];if(void 0===r(undefined,{type:l.INIT}))throw new Error(o(12));if(void 0===r(undefined,{type:l.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))})}(r)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var n=!1,s={},l=0;l<i.length;l++){var u=i[l],c=r[u],d=e[u],m=c(d,t);if(void 0===m){t&&t.type;throw new Error(o(14))}s[u]=m,n=n||m!==d}return(n=n||i.length!==Object.keys(e).length)?s:e}},r.compose=f,r.createStore=c,r.legacy_createStore=d}}},{package:"redux",file:"node_modules/redux/lib/redux.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/remove-trailing-slash/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(r=t.exports=function(e){return String(e).replace(r.expr,"")}).expr=/\/+$/}}},{package:"remove-trailing-slash",file:"node_modules/remove-trailing-slash/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/reselect/dist/cjs/reselect.cjs",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(l,{createSelector:()=>V,createSelectorCreator:()=>z,createStructuredSelector:()=>G,lruMemoize:()=>U,referenceEqualityCheck:()=>L,setGlobalDevModeChecks:()=>c,unstable_autotrackMemoize:()=>$,weakMapMemoize:()=>H}),t.exports=(n=l,((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))i.call(e,l)||l===r||s(e,l,{get:()=>t[l],enumerable:!(n=o(t,l))||n.enumerable});return e})(s({},"__esModule",{value:!0}),n));var u={inputStabilityCheck:"once",identityFunctionCheck:"once"},c=e=>{Object.assign(u,e)},d=Symbol("NOT_FOUND");function m(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}var f=e=>Array.isArray(e)?e:[e];function h(e){const t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){const r=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw new TypeError(`${t}[${r}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function p(e,t){const r=[],{length:n}=e;for(let s=0;s<n;s++)r.push(e[s].apply(null,t));return r}var b=0,g=null,w=class{revision=b;_value;_lastValue;_isEqual=y;constructor(e,t=y){this._value=this._lastValue=e,this._isEqual=t}get value(){return g?.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++b)}};function y(e,t){return e===t}var _=class{_cachedValue;_cachedRevision=-1;_deps=[];hits=0;fn;constructor(e){this.fn=e}clear(){this._cachedValue=void 0,this._cachedRevision=-1,this._deps=[],this.hits=0}get value(){if(this.revision>this._cachedRevision){const{fn:e}=this,t=new Set,r=g;g=t,this._cachedValue=e(),g=r,this.hits++,this._deps=Array.from(t),this._cachedRevision=this.revision}return g?.add(this),this._cachedValue}get revision(){return Math.max(...this._deps.map(e=>e.revision),0)}};function k(e){return e instanceof w||console.warn("Not a valid cell! ",e),e.value}var v=(e,t)=>!1;function x(){return function(e,t=y){return new w(e,t)}(null,v)}function j(e,t){!function(e,t){if(!(e instanceof w))throw new TypeError("setValue must be passed a tracked store created with `createStorage`.");e.value=e._lastValue=t}(e,t)}var E=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=x()),k(t)},S=e=>{const t=e.collectionTag;null!==t&&j(t,null)},A=(Symbol(),0),R=Object.getPrototypeOf({}),T=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,O);tag=x();tags={};children={};collectionTag=null;id=A++},O={get:(e,t)=>function(){const{value:r}=e,n=Reflect.get(r,t);if("symbol"==typeof t)return n;if(t in R)return n;if("object"==typeof n&&null!==n){let r=e.children[t];return void 0===r&&(r=e.children[t]=I(n)),r.tag&&k(r.tag),r.proxy}{let r=e.tags[t];return void 0===r&&(r=e.tags[t]=x(),r.value=n),k(r),n}}(),ownKeys:e=>(E(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},P=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],M);tag=x();tags={};children={};collectionTag=null;id=A++},M={get:([e],t)=>("length"===t&&E(e),O.get(e,t)),ownKeys:([e])=>O.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>O.getOwnPropertyDescriptor(e,t),has:([e],t)=>O.has(e,t)};function I(e){return Array.isArray(e)?new P(e):new T(e)}function N(e,t){const{value:r,tags:n,children:s}=e;if(e.value=t,Array.isArray(r)&&Array.isArray(t)&&r.length!==t.length)S(e);else if(r!==t){let n=0,s=0,o=!1;for(const e in r)n++;for(const e in t)if(s++,!(e in r)){o=!0;break}(o||n!==s)&&S(e)}for(const s in n){const o=r[s],a=t[s];o!==a&&(S(e),j(n[s],a)),"object"==typeof a&&null!==a&&delete n[s]}for(const e in s){const r=s[e],n=t[e];r.value!==n&&("object"==typeof n&&null!==n?N(r,n):(C(r),delete s[e]))}}function C(e){e.tag&&j(e.tag,null),S(e);for(const t in e.tags)j(e.tags[t],null);for(const t in e.children)C(e.children[t])}var L=(e,t)=>e===t;function D(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;const{length:n}=t;for(let s=0;s<n;s++)if(!e(t[s],r[s]))return!1;return!0}}function U(e,t){const r="object"==typeof t?t:{equalityCheck:t},{equalityCheck:n=L,maxSize:s=1,resultEqualityCheck:o}=r,a=D(n);let i=0;const l=s<=1?function(e){let t;return{get:r=>t&&e(t.key,r)?t.value:d,put(e,r){t={key:e,value:r}},getEntries:()=>t?[t]:[],clear(){t=void 0}}}(a):function(e,t){let r=[];function n(e){const n=r.findIndex(r=>t(e,r.key));if(n>-1){const e=r[n];return n>0&&(r.splice(n,1),r.unshift(e)),e.value}return d}return{get:n,put:function(t,s){n(t)===d&&(r.unshift({key:t,value:s}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(s,a);function u(){let t=l.get(arguments);if(t===d){if(t=e.apply(null,arguments),i++,o){const e=l.getEntries().find(e=>o(e.value,t));e&&(t=e.value,0!==i&&i--)}l.put(arguments,t)}return t}return u.clearCache=()=>{l.clear(),u.resetResultsCount()},u.resultsCount=()=>i,u.resetResultsCount=()=>{i=0},u}function $(e){const t=I([]);let r=null;const n=D(L),s=(m(o=()=>e.apply(null,t.proxy),"the first parameter to `createCache` must be a function"),new _(o));var o;function a(){return n(r,arguments)||(N(t,arguments),r=arguments),s.value}return a.clearCache=()=>s.clear(),a}var F="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},B=0,W=1;function q(){return{s:B,v:void 0,o:null,p:null}}function H(e,t={}){let r=q();const{resultEqualityCheck:n}=t;let s,o=0;function a(){let t=r;const{length:a}=arguments;for(let e=0,r=a;e<r;e++){const r=arguments[e];if("function"==typeof r||"object"==typeof r&&null!==r){let e=t.o;null===e&&(t.o=e=new WeakMap);const n=e.get(r);void 0===n?(t=q(),e.set(r,t)):t=n}else{let e=t.p;null===e&&(t.p=e=new Map);const n=e.get(r);void 0===n?(t=q(),e.set(r,t)):t=n}}const i=t;let l;if(t.s===W)l=t.v;else if(l=e.apply(null,arguments),o++,n){const e=s?.deref?.()??s;null!=e&&n(e,l)&&(l=e,0!==o&&o--);s="object"==typeof l&&null!==l||"function"==typeof l?new F(l):l}return i.s=W,i.v=l,l}return a.clearCache=()=>{r=q(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function z(e,...t){const r="function"==typeof e?{memoize:e,memoizeOptions:t}:e,n=(...e)=>{let t,n=0,s=0,o={},a=e.pop();"object"==typeof a&&(o=a,a=e.pop()),m(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const i={...r,...o},{memoize:l,memoizeOptions:u=[],argsMemoize:c=H,argsMemoizeOptions:d=[],devModeChecks:b={}}=i,g=f(u),w=f(d),y=h(e),_=l(function(){return n++,a.apply(null,arguments)},...g);const k=c(function(){s++;const e=p(y,arguments);return t=_.apply(null,e),t},...w);return Object.assign(k,{resultFunc:a,memoizedResultFunc:_,dependencies:y,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>t,recomputations:()=>n,resetRecomputations:()=>{n=0},memoize:l,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var V=z(H),G=Object.assign((e,t=V)=>{!function(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);const r=Object.keys(e);return t(r.map(t=>e[t]),(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}))},{withTypes:()=>G})}}},{package:"reselect",file:"node_modules/reselect/dist/cjs/reselect.cjs"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/rfdc/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function r(t){return t instanceof e?e.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}t.exports=function(e){return(e=e||{}).circles?function(e){var t=[],n=[];return e.proto?function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return s(o,e);if(o instanceof Map)return new Map(s(Array.from(o),e));if(o instanceof Set)return new Set(s(Array.from(o),e));var a={};for(var i in t.push(o),n.push(a),o){var l=o[i];if("object"!=typeof l||null===l)a[i]=l;else if(l instanceof Date)a[i]=new Date(l);else if(l instanceof Map)a[i]=new Map(s(Array.from(l),e));else if(l instanceof Set)a[i]=new Set(s(Array.from(l),e));else if(ArrayBuffer.isView(l))a[i]=r(l);else{var u=t.indexOf(l);a[i]=-1!==u?n[u]:e(l)}}return t.pop(),n.pop(),a}:function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return s(o,e);if(o instanceof Map)return new Map(s(Array.from(o),e));if(o instanceof Set)return new Set(s(Array.from(o),e));var a={};for(var i in t.push(o),n.push(a),o)if(!1!==Object.hasOwnProperty.call(o,i)){var l=o[i];if("object"!=typeof l||null===l)a[i]=l;else if(l instanceof Date)a[i]=new Date(l);else if(l instanceof Map)a[i]=new Map(s(Array.from(l),e));else if(l instanceof Set)a[i]=new Set(s(Array.from(l),e));else if(ArrayBuffer.isView(l))a[i]=r(l);else{var u=t.indexOf(l);a[i]=-1!==u?n[u]:e(l)}}return t.pop(),n.pop(),a};function s(e,s){for(var o=Object.keys(e),a=new Array(o.length),i=0;i<o.length;i++){var l=o[i],u=e[l];if("object"!=typeof u||null===u)a[l]=u;else if(u instanceof Date)a[l]=new Date(u);else if(ArrayBuffer.isView(u))a[l]=r(u);else{var c=t.indexOf(u);a[l]=-1!==c?n[c]:s(u)}}return a}}(e):e.proto?function e(n){if("object"!=typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return t(n,e);if(n instanceof Map)return new Map(t(Array.from(n),e));if(n instanceof Set)return new Set(t(Array.from(n),e));var s={};for(var o in n){var a=n[o];"object"!=typeof a||null===a?s[o]=a:a instanceof Date?s[o]=new Date(a):a instanceof Map?s[o]=new Map(t(Array.from(a),e)):a instanceof Set?s[o]=new Set(t(Array.from(a),e)):ArrayBuffer.isView(a)?s[o]=r(a):s[o]=e(a)}return s}:function e(n){if("object"!=typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return t(n,e);if(n instanceof Map)return new Map(t(Array.from(n),e));if(n instanceof Set)return new Set(t(Array.from(n),e));var s={};for(var o in n)if(!1!==Object.hasOwnProperty.call(n,o)){var a=n[o];"object"!=typeof a||null===a?s[o]=a:a instanceof Date?s[o]=new Date(a):a instanceof Map?s[o]=new Map(t(Array.from(a),e)):a instanceof Set?s[o]=new Set(t(Array.from(a),e)):ArrayBuffer.isView(a)?s[o]=r(a):s[o]=e(a)}return s};function t(e,t){for(var n=Object.keys(e),s=new Array(n.length),o=0;o<n.length;o++){var a=n[o],i=e[a];"object"!=typeof i||null===i?s[a]=i:i instanceof Date?s[a]=new Date(i):ArrayBuffer.isView(i)?s[a]=r(i):s[a]=t(i)}return s}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/snaps-utils>rfdc",file:"node_modules/rfdc/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js","hash-base":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/hash-base/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("buffer").Buffer,s=e("inherits"),o=e("hash-base"),a=new Array(16),i=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],m=[1352829926,1548603684,1836072691,2053994217,0];function f(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function h(e,t){return e<<t|e>>>32-t}function p(e,t,r,n,s,o,a,i){return h(e+(t^r^n)+o+a|0,i)+s|0}function b(e,t,r,n,s,o,a,i){return h(e+(t&r|~t&n)+o+a|0,i)+s|0}function g(e,t,r,n,s,o,a,i){return h(e+((t|~r)^n)+o+a|0,i)+s|0}function w(e,t,r,n,s,o,a,i){return h(e+(t&n|r&~n)+o+a|0,i)+s|0}function y(e,t,r,n,s,o,a,i){return h(e+(t^(r|~n))+o+a|0,i)+s|0}s(f,o),f.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,s=0|this._c,o=0|this._d,f=0|this._e,_=0|this._a,k=0|this._b,v=0|this._c,x=0|this._d,j=0|this._e,E=0;E<80;E+=1){var S,A;E<16?(S=p(r,n,s,o,f,e[i[E]],d[0],u[E]),A=y(_,k,v,x,j,e[l[E]],m[0],c[E])):E<32?(S=b(r,n,s,o,f,e[i[E]],d[1],u[E]),A=w(_,k,v,x,j,e[l[E]],m[1],c[E])):E<48?(S=g(r,n,s,o,f,e[i[E]],d[2],u[E]),A=g(_,k,v,x,j,e[l[E]],m[2],c[E])):E<64?(S=w(r,n,s,o,f,e[i[E]],d[3],u[E]),A=b(_,k,v,x,j,e[l[E]],m[3],c[E])):(S=y(r,n,s,o,f,e[i[E]],d[4],u[E]),A=p(_,k,v,x,j,e[l[E]],m[4],c[E])),r=f,f=o,o=h(s,10),s=n,n=S,_=j,j=x,x=h(v,10),v=k,k=A}var R=this._b+s+x|0;this._b=this._c+o+j|0,this._c=this._d+f+_|0,this._d=this._e+r+k|0,this._e=this._a+n+v|0,this._a=R},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=f}}},{package:"ethereumjs-util>create-hash>ripemd160",file:"node_modules/ripemd160/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/hash-base/index.js",{inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","readable-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/readable-browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,s=e("readable-stream").Transform;function o(e){s.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(o,s),o.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var r=this._block,s=0;this._blockOffset+e.length-s>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[s++];this._update(),this._blockOffset=0}for(;s<e.length;)r[this._blockOffset++]=e[s++];for(var a=0,i=8*e.length;i>0;++a)this._length[a]+=i,(i=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*i);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();e!==undefined&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base",file:"node_modules/ripemd160/node_modules/hash-base/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={};function s(e,t,r){r||(r=Error);var s=function(e){var r,n;function s(r,n,s){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,s))||this}return n=e,(r=s).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,s}(r);s.prototype.name=r.name,s.prototype.code=e,n[e]=s}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}s("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),s("ERR_INVALID_ARG_TYPE",function(e,t,r){var n,s,a,i;if("string"==typeof t&&(s="not ",t.substr(!a||a<0?0:+a,s.length)===s)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(r===undefined||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))i="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(l," ").concat(n," ").concat(o(t,"type"))}return i+=". Received type ".concat(typeof r)},TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/errors-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js",{"./_stream_readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js","./_stream_writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var s=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(u,s);for(var a=n(o.prototype),i=0;i<a.length;i++){var l=a[i];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(e);s.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||r.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_passthrough.js",{"./_stream_transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=s;var n=e("./_stream_transform");function s(e){if(!(this instanceof s))return new s(e);n.call(this,e)}e("inherits")(s,n),s.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/async_iterator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/async_iterator.js","./internal/streams/buffer_list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/from-browser.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;t.exports=j,j.ReadableState=x;e("events").EventEmitter;var s=function(e,t){return e.listeners(t).length},o=e("./internal/streams/stream"),a=e("buffer").Buffer,i=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,u=e("util");l=u&&u.debuglog?u.debuglog("stream"):function(){};var c,d,m,f=e("./internal/streams/buffer_list"),h=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,g=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,y=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(j,o);var k=h.errorOrDestroy,v=["error","close","destroy","pause","resume"];function x(t,r,s){n=n||e("./_stream_duplex"),t=t||{},"boolean"!=typeof s&&(s=r instanceof n),this.objectMode=!!t.objectMode,s&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p(this,t,"readableHighWaterMark",s),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function j(t){if(n=n||e("./_stream_duplex"),!(this instanceof j))return new j(t);var r=this instanceof n;this._readableState=new x(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),o.call(this)}function E(e,t,r,n,s){l("readableAddChunk",t);var o,u=e._readableState;if(null===t)u.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?T(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,u);else if(s||(o=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof i||"string"==typeof t||t===undefined||e.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(u,t)),o)k(e,o);else if(u.objectMode||t&&t.length>0)if("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)u.endEmitted?k(e,new _):S(e,u,t,!0);else if(u.ended)k(e,new w);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?S(e,u,t,!1):P(e,u)):S(e,u,t,!1)}else n||(u.reading=!1,P(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function S(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&T(e)),P(e,t)}Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),j.prototype.destroy=h.destroy,j.prototype._undestroy=h.undestroy,j.prototype._destroy=function(e,t){t(e)},j.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=a.from(e,t),t=""),r=!0),E(this,e,t,!1,r)},j.prototype.unshift=function(e){return E(this,e,null,!0,!1)},j.prototype.isPaused=function(){return!1===this._readableState.flowing},j.prototype.setEncoding=function(t){c||(c=e("string_decoder/").StringDecoder);var r=new c(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,s="";null!==n;)s+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==s&&this._readableState.buffer.push(s),this._readableState.length=s.length,this};var A=1073741824;function R(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function T(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(O,e))}function O(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function P(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(M,e,t))}function M(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(l("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){l("readable nexttick read 0"),e.read(0)}function C(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function U(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick($,t,e))}function $(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}j.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):T(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&U(this),null;var n,s=t.needReadable;return l("need readable",s),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",s=!0),t.ended||t.reading?l("reading or ended",s=!1):s&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=R(r,t))),null===(n=e>0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&U(this)),null!==n&&this.emit("data",n),n},j.prototype._read=function(e){k(this,new y("_read()"))},j.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,l("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:b;function i(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",i),n.removeListener("end",u),n.removeListener("end",b),n.removeListener("data",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){l("onend"),e.end()}o.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",i);var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",c);var d=!1;function m(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==F(o.pipes,e))&&!d&&(l("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function f(t){l("onerror",t),b(),e.removeListener("error",f),0===s(e,"error")&&k(e,t)}function h(){e.removeListener("finish",p),b()}function p(){l("onfinish"),e.removeListener("close",h),b()}function b(){l("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",n),o.flowing||(l("pipe resume"),n.resume()),e},j.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,s=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<s;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},j.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),s=this._readableState;return"data"===e?(s.readableListening=this.listenerCount("readable")>0,!1!==s.flowing&&this.resume()):"readable"===e&&(s.endEmitted||s.readableListening||(s.readableListening=s.needReadable=!0,s.flowing=!1,s.emittedReadable=!1,l("on readable",s.length,s.reading),s.length?T(this):s.reading||r.nextTick(N,this))),n},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(I,this),n},j.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(I,this),t},j.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(C,e,t))}(this,e)),e.paused=!1,this},j.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},j.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var s in e.on("end",function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(s){(l("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!r.objectMode||null!==s&&s!==undefined)&&((r.objectMode||s&&s.length)&&(t.push(s)||(n=!0,e.pause())))}),e)this[s]===undefined&&"function"==typeof e[s]&&(this[s]=function(t){return function(){return e[t].apply(e,arguments)}}(s));for(var o=0;o<v.length;o++)e.on(v[o],this.emit.bind(this,v[o]));return this._read=function(t){l("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(j.prototype[Symbol.asyncIterator]=function(){return d===undefined&&(d=e("./internal/streams/async_iterator")),d(this)}),Object.defineProperty(j.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(j.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(j.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),j._fromList=D,Object.defineProperty(j.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(j.from=function(t,r){return m===undefined&&(m=e("./internal/streams/from")),m(j,t,r)})}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=c;var n=e("../errors").codes,s=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=n.ERR_TRANSFORM_WITH_LENGTH_0,l=e("./_stream_duplex");function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var s=this._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?m(this,null,null):this._flush(function(t,r){m(e,t,r)})}function m(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new i;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new s("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var s=this._readableState;(n.needTransform||s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","util-deprecate":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util-deprecate/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var s=n.callback;t.pendingcb--,s(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var s;t.exports=j,j.WritableState=x;var o={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),i=e("buffer").Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,c=e("./internal/streams/destroy"),d=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,f=m.ERR_INVALID_ARG_TYPE,h=m.ERR_METHOD_NOT_IMPLEMENTED,p=m.ERR_MULTIPLE_CALLBACK,b=m.ERR_STREAM_CANNOT_PIPE,g=m.ERR_STREAM_DESTROYED,w=m.ERR_STREAM_NULL_VALUES,y=m.ERR_STREAM_WRITE_AFTER_END,_=m.ERR_UNKNOWN_ENCODING,k=c.errorOrDestroy;function v(){}function x(t,o,a){s=s||e("./_stream_duplex"),t=t||{},"boolean"!=typeof a&&(a=o instanceof s),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=d(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,s=n.sync,o=n.writecb;if("function"!=typeof o)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,s,o){--t.pendingcb,n?(r.nextTick(o,s),r.nextTick(O,e,t),e._writableState.errorEmitted=!0,k(e,s)):(o(s),e._writableState.errorEmitted=!0,k(e,s),O(e,t))}(e,n,s,t,o);else{var a=R(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||A(e,n),s?r.nextTick(S,e,n,a,o):S(e,n,a,o)}}(o,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function j(t){var r=this instanceof(s=s||e("./_stream_duplex"));if(!r&&!u.call(j,this))return new j(t);this._writableState=new x(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function E(e,t,r,n,s,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(s,t.onwrite):e._write(s,o,t.onwrite),t.sync=!1}function S(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),O(e,t)}function A(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var s=t.bufferedRequestCount,o=new Array(s),a=t.corkedRequestsFree;a.entry=r;for(var i=0,l=!0;r;)o[i]=r,r.isBuf||(l=!1),r=r.next,i+=1;o.allBuffers=l,E(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,c=r.encoding,d=r.callback;if(E(e,t,!1,t.objectMode?1:u.length,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function T(e,t){e._final(function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var n=R(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(T,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var s=e._readableState;(!s||s.autoDestroy&&s.endEmitted)&&e.destroy()}return n}e("inherits")(j,a),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===j&&(e&&e._writableState instanceof x)}})):u=function(e){return e instanceof this},j.prototype.pipe=function(){k(this,new b)},j.prototype.write=function(e,t,n){var s,o=this._writableState,a=!1,u=!o.objectMode&&(s=e,i.isBuffer(s)||s instanceof l);return u&&!i.isBuffer(e)&&(e=function(e){return i.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=v),o.ending?function(e,t){var n=new y;k(e,n),r.nextTick(t,n)}(this,n):(u||function(e,t,n,s){var o;return null===n?o=new w:"string"==typeof n||t.objectMode||(o=new f("chunk",["string","Buffer"],n)),!o||(k(e,o),r.nextTick(s,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,r,n,s,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,r));return t}(t,n,s);n!==a&&(r=!0,s="buffer",n=a)}var l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:s,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else E(e,t,!1,l,n,s,o);return u}(this,o,u,e,t,n)),a},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||A(this,e))},j.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(e,t,r){r(new h("_write()"))},j.prototype._writev=null,j.prototype.end=function(e,t,n){var s=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&e!==undefined&&this.write(e,t),s.corked&&(s.corked=1,this.uncork()),s.ending||function(e,t,n){t.ending=!0,O(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,s,n),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),j.prototype.destroy=c.destroy,j.prototype._undestroy=c.undestroy,j.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/async_iterator.js",{"./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=e("./end-of-stream"),a=Symbol("lastResolve"),i=Symbol("lastReject"),l=Symbol("error"),u=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var r=e[m].read();null!==r&&(e[c]=null,e[a]=null,e[i]=null,t(f(r,!1)))}}function p(e){r.nextTick(h,e)}var b=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((s(n={get stream(){return this[m]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(f(undefined,!0));if(this[m].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[l]?n(e[l]):t(f(undefined,!0))})});var n,s=this[c];if(s)n=new Promise(function(e,t){return function(r,n){e.then(function(){t[u]?r(f(undefined,!0)):t[d](r,n)},n)}}(s,this));else{var o=this[m].read();if(null!==o)return Promise.resolve(f(o,!1));n=new Promise(this[d])}return this[c]=n,n}},Symbol.asyncIterator,function(){return this}),s(n,"return",function(){var e=this;return new Promise(function(t,r){e[m].destroy(null,function(e){e?r(e):t(f(undefined,!0))})})}),n),b);t.exports=function(e){var t,r=Object.create(g,(s(t={},m,{value:e,writable:!0}),s(t,a,{value:null,writable:!0}),s(t,i,{value:null,writable:!0}),s(t,l,{value:null,writable:!0}),s(t,u,{value:e._readableState.endEmitted,writable:!0}),s(t,d,{value:function(e,t){var n=r[m].read();n?(r[c]=null,r[a]=null,r[i]=null,e(f(n,!1))):(r[a]=e,r[i]=t)},writable:!0}),t));return r[c]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[i];return null!==t&&(r[c]=null,r[a]=null,r[i]=null,t(e)),void(r[l]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[i]=null,n(f(undefined,!0))),r[u]=!0}),e.on("readable",p.bind(null,r)),r}}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/async_iterator.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=i(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var l=e("buffer").Buffer,u=e("util").inspect,c=u&&u.custom||"inspect";function d(e,t,r){l.prototype.copy.call(e,t,r)}t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t=l.allocUnsafe(e>>>0),r=this.head,n=0;r;)d(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var s=t.data,o=e>s.length?s.length:e;if(o===s.length?n+=s:n+=s.slice(0,e),0===(e-=o)){o===s.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=s.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(s.copy(t,t.length-e,0,o),0===(e-=o)){o===s.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=s.slice(o));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return u(this,s(s({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function r(e,t){s(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function s(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var a=this,i=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return i||l?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(s,this,t)):e.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function s(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];e.apply(this,n)}}}(o||s);var a=r.readable||!1!==r.readable&&t.readable,i=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){i=!1,u=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,m=function(){a=!1,d=!0,i||o.call(t)},f=function(e){o.call(t,e)},h=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):i&&!u?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},p=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?i&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",c),t.on("abort",h),t.req?p():t.on("request",p)),t.on("end",m),t.on("finish",c),!1!==r.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",c),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",c),t.removeListener("end",m),t.removeListener("error",f),t.removeListener("close",h)}}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/from-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){throw new Error("Readable.from is not available in the browser")}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/from-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/pipeline.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;var s=e("../../../errors").codes,o=s.ERR_MISSING_ARGS,a=s.ERR_STREAM_DESTROYED;function i(e){if(e)throw e}function l(e){e()}function u(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];var c,d=function(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new o("streams");var m=r.map(function(t,s){var o=s<r.length-1;return function(t,r,s,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var i=!1;t.on("close",function(){i=!0}),n===undefined&&(n=e("./end-of-stream")),n(t,{readable:r,writable:s},function(e){if(e)return o(e);i=!0,o()});var l=!1;return function(e){if(!i&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,s>0,function(e){c||(c=e),e&&m.forEach(l),o||(m.forEach(l),d(c))})});return r.reduce(u)}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/state.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,s){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,s,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(s?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/state.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js",{events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("events").EventEmitter}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/readable-browser.js",{"./lib/_stream_duplex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js","./lib/_stream_passthrough.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_passthrough.js","./lib/_stream_readable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js","./lib/_stream_transform.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js","./lib/_stream_writable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js","./lib/internal/streams/end-of-stream.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./lib/internal/streams/pipeline.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/pipeline.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js"),r.finished=e("./lib/internal/streams/end-of-stream.js"),r.pipeline=e("./lib/internal/streams/pipeline.js")}}},{package:"ethereumjs-util>create-hash>ripemd160>hash-base>readable-stream",file:"node_modules/ripemd160/node_modules/readable-stream/readable-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/rlp/dist.browser/index.js",{"bn.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/bn.js/lib/bn.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.getLength=r.decode=r.encode=void 0;var s=n(e("bn.js"));function o(e,t){if("0"===e[0]&&"0"===e[1])throw new Error("invalid RLP: extra zeros");return parseInt(e,t)}function a(e,r){if(e<56)return t.from([e+r]);var n=u(e),s=u(r+55+n.length/2);return t.from(s+n,"hex")}function i(e){var r,n,s,a,l,u=[],c=e[0];if(c<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(c<=183){if(r=c-127,s=128===c?t.from([]):e.slice(1,r),2===r&&s[0]<128)throw new Error("invalid rlp encoding: byte must be less 0x80");return{data:s,remainder:e.slice(r)}}if(c<=191){if(n=c-182,e.length-1<n)throw new Error("invalid RLP: not enough bytes for string length");if((r=o(e.slice(1,n).toString("hex"),16))<=55)throw new Error("invalid RLP: expected string length to be greater than 55");if((s=e.slice(n,r+n)).length<r)throw new Error("invalid RLP: not enough bytes for string");return{data:s,remainder:e.slice(r+n)}}if(c<=247){for(r=c-191,a=e.slice(1,r);a.length;)l=i(a),u.push(l.data),a=l.remainder;return{data:u,remainder:e.slice(r)}}var d=(n=c-246)+(r=o(e.slice(1,n).toString("hex"),16));if(d>e.length)throw new Error("invalid rlp: total length is larger than the data");if(0===(a=e.slice(n,d)).length)throw new Error("invalid rlp, List has a invalid length");for(;a.length;)l=i(a),u.push(l.data),a=l.remainder;return{data:u,remainder:e.slice(d)}}function l(e){return"0x"===e.slice(0,2)}function u(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");var t=e.toString(16);return t.length%2?"0"+t:t}function c(e){if(!t.isBuffer(e)){if("string"==typeof e)return l(e)?t.from((n="string"!=typeof(o=e)?o:l(o)?o.slice(2):o).length%2?"0"+n:n,"hex"):t.from(e);if("number"==typeof e||"bigint"==typeof e)return e?(r=u(e),t.from(r,"hex")):t.from([]);if(null===e||e===undefined)return t.from([]);if(e instanceof Uint8Array)return t.from(e);if(s.default.isBN(e))return t.from(e.toArray());throw new Error("invalid type")}var r,n,o;return e}r.encode=function e(r){if(Array.isArray(r)){for(var n=[],s=0;s<r.length;s++)n.push(e(r[s]));var o=t.concat(n);return t.concat([a(o.length,192),o])}var i=c(r);return 1===i.length&&i[0]<128?i:t.concat([a(i.length,128),i])},r.decode=function(e,r){if(void 0===r&&(r=!1),!e||0===e.length)return t.from([]);var n=i(c(e));if(r)return n;if(0!==n.remainder.length)throw new Error("invalid remainder");return n.data},r.getLength=function(e){if(!e||0===e.length)return t.from([]);var r=c(e),n=r[0];if(n<=127)return r.length;if(n<=183)return n-127;if(n<=191)return n-182;if(n<=247)return n-191;var s=n-246;return s+o(r.slice(1,s).toString("hex"),16)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>rlp",file:"node_modules/rlp/dist.browser/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
var n=e("buffer"),s=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return s(e,t,r)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?t.exports=n:(o(n,r),r.Buffer=a),a.prototype=Object.create(s.prototype),o(s,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=s(e);return t!==undefined?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}}},{package:"koa>content-disposition>safe-buffer",file:"node_modules/safe-buffer/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-regex-test/index.js",{"call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","is-regex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-regex/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("call-bound"),s=e("is-regex"),o=n("RegExp.prototype.exec"),a=e("es-errors/type");t.exports=function(e){if(!s(e))throw new a("`regex` must be a RegExp");return function(t){return null!==o(e,t)}}}}},{package:"string.prototype.matchall>es-abstract>safe-regex-test",file:"node_modules/safe-regex-test/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-stable-stringify/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{hasOwnProperty:n}=Object.prototype,s=f();s.configure=f,s.stringify=s,s.default=s,r.stringify=s,r.configure=f,t.exports=s;const o=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function a(e){return e.length<5e3&&!o.test(e)?`"${e}"`:JSON.stringify(e)}function i(e,t){if(e.length>200||t)return e.sort(t);for(let t=1;t<e.length;t++){const r=e[t];let n=t;for(;0!==n&&e[n-1]>r;)e[n]=e[n-1],n--;e[n]=r}return e}const l=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function u(e){return l.call(e)!==undefined&&0!==e.length}function c(e,t,r){e.length<r&&(r=e.length);const n=","===t?"":" ";let s=`"0":${n}${e[0]}`;for(let o=1;o<r;o++)s+=`${t}"${o}":${n}${e[o]}`;return s}function d(e,t){let r;if(n.call(e,t)){if(r=e[t],"number"!=typeof r)throw new TypeError(`The "${t}" argument must be of type number`);if(!Number.isInteger(r))throw new TypeError(`The "${t}" argument must be an integer`);if(r<1)throw new RangeError(`The "${t}" argument must be >= 1`)}return r===undefined?Infinity:r}function m(e){return 1===e?"1 item":`${e} items`}function f(e){const t=function(e){if(n.call(e,"strict")){const t=e.strict;if("boolean"!=typeof t)throw new TypeError('The "strict" argument must be of type boolean');if(t)return e=>{let t="Object can not safely be stringified. Received type "+typeof e;throw"function"!=typeof e&&(t+=` (${e.toString()})`),new Error(t)}}}(e={...e});t&&(e.bigint===undefined&&(e.bigint=!1),"circularValue"in e||(e.circularValue=Error));const r=function(e){if(n.call(e,"circularValue")){const t=e.circularValue;if("string"==typeof t)return`"${t}"`;if(null==t)return t;if(t===Error||t===TypeError)return{toString(){throw new TypeError("Converting circular structure to JSON")}};throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return'"[Circular]"'}(e),s=function(e,t){let r;if(n.call(e,t)&&(r=e[t],"boolean"!=typeof r))throw new TypeError(`The "${t}" argument must be of type boolean`);return r===undefined||r}(e,"bigint"),o=function(e){let t;if(n.call(e,"deterministic")&&(t=e.deterministic,"boolean"!=typeof t&&"function"!=typeof t))throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');return t===undefined||t}(e),l="function"==typeof o?o:undefined,f=d(e,"maximumDepth"),h=d(e,"maximumBreadth");function p(e,n,c,d,b,g){let w=n[e];switch("object"==typeof w&&null!==w&&"function"==typeof w.toJSON&&(w=w.toJSON(e)),w=d.call(n,e,w),typeof w){case"string":return a(w);case"object":{if(null===w)return"null";if(-1!==c.indexOf(w))return r;let e="",t=",";const n=g;if(Array.isArray(w)){if(0===w.length)return"[]";if(f<c.length+1)return'"[Array]"';c.push(w),""!==b&&(e+=`\n${g+=b}`,t=`,\n${g}`);const r=Math.min(w.length,h);let s=0;for(;s<r-1;s++){const r=p(String(s),w,c,d,b,g);e+=r!==undefined?r:"null",e+=t}const o=p(String(s),w,c,d,b,g);if(e+=o!==undefined?o:"null",w.length-1>h){e+=`${t}"... ${m(w.length-h-1)} not stringified"`}return""!==b&&(e+=`\n${n}`),c.pop(),`[${e}]`}let s=Object.keys(w);const y=s.length;if(0===y)return"{}";if(f<c.length+1)return'"[Object]"';let _="",k="";""!==b&&(t=`,\n${g+=b}`,_=" ");const v=Math.min(y,h);o&&!u(w)&&(s=i(s,l)),c.push(w);for(let r=0;r<v;r++){const n=s[r],o=p(n,w,c,d,b,g);o!==undefined&&(e+=`${k}${a(n)}:${_}${o}`,k=t)}if(y>h){e+=`${k}"...":${_}"${m(y-h)} not stringified"`,k=t}return""!==b&&k.length>1&&(e=`\n${g}${e}\n${n}`),c.pop(),`{${e}}`}case"number":return isFinite(w)?String(w):t?t(w):"null";case"boolean":return!0===w?"true":"false";case"undefined":return undefined;case"bigint":if(s)return String(w);default:return t?t(w):undefined}}function b(e,n,o,i,l,u){switch("object"==typeof n&&null!==n&&"function"==typeof n.toJSON&&(n=n.toJSON(e)),typeof n){case"string":return a(n);case"object":{if(null===n)return"null";if(-1!==o.indexOf(n))return r;const e=u;let t="",s=",";if(Array.isArray(n)){if(0===n.length)return"[]";if(f<o.length+1)return'"[Array]"';o.push(n),""!==l&&(t+=`\n${u+=l}`,s=`,\n${u}`);const r=Math.min(n.length,h);let a=0;for(;a<r-1;a++){const e=b(String(a),n[a],o,i,l,u);t+=e!==undefined?e:"null",t+=s}const c=b(String(a),n[a],o,i,l,u);if(t+=c!==undefined?c:"null",n.length-1>h){t+=`${s}"... ${m(n.length-h-1)} not stringified"`}return""!==l&&(t+=`\n${e}`),o.pop(),`[${t}]`}o.push(n);let c="";""!==l&&(s=`,\n${u+=l}`,c=" ");let d="";for(const e of i){const r=b(e,n[e],o,i,l,u);r!==undefined&&(t+=`${d}${a(e)}:${c}${r}`,d=s)}return""!==l&&d.length>1&&(t=`\n${u}${t}\n${e}`),o.pop(),`{${t}}`}case"number":return isFinite(n)?String(n):t?t(n):"null";case"boolean":return!0===n?"true":"false";case"undefined":return undefined;case"bigint":if(s)return String(n);default:return t?t(n):undefined}}function g(e,n,d,p,b){switch(typeof n){case"string":return a(n);case"object":{if(null===n)return"null";if("function"==typeof n.toJSON){if("object"!=typeof(n=n.toJSON(e)))return g(e,n,d,p,b);if(null===n)return"null"}if(-1!==d.indexOf(n))return r;const t=b;if(Array.isArray(n)){if(0===n.length)return"[]";if(f<d.length+1)return'"[Array]"';d.push(n);let e=`\n${b+=p}`;const r=`,\n${b}`,s=Math.min(n.length,h);let o=0;for(;o<s-1;o++){const t=g(String(o),n[o],d,p,b);e+=t!==undefined?t:"null",e+=r}const a=g(String(o),n[o],d,p,b);if(e+=a!==undefined?a:"null",n.length-1>h){e+=`${r}"... ${m(n.length-h-1)} not stringified"`}return e+=`\n${t}`,d.pop(),`[${e}]`}let s=Object.keys(n);const w=s.length;if(0===w)return"{}";if(f<d.length+1)return'"[Object]"';const y=`,\n${b+=p}`;let _="",k="",v=Math.min(w,h);u(n)&&(_+=c(n,y,h),s=s.slice(n.length),v-=n.length,k=y),o&&(s=i(s,l)),d.push(n);for(let e=0;e<v;e++){const t=s[e],r=g(t,n[t],d,p,b);r!==undefined&&(_+=`${k}${a(t)}: ${r}`,k=y)}if(w>h){_+=`${k}"...": "${m(w-h)} not stringified"`,k=y}return""!==k&&(_=`\n${b}${_}\n${t}`),d.pop(),`{${_}}`}case"number":return isFinite(n)?String(n):t?t(n):"null";case"boolean":return!0===n?"true":"false";case"undefined":return undefined;case"bigint":if(s)return String(n);default:return t?t(n):undefined}}function w(e,n,d){switch(typeof n){case"string":return a(n);case"object":{if(null===n)return"null";if("function"==typeof n.toJSON){if("object"!=typeof(n=n.toJSON(e)))return w(e,n,d);if(null===n)return"null"}if(-1!==d.indexOf(n))return r;let t="";const s=n.length!==undefined;if(s&&Array.isArray(n)){if(0===n.length)return"[]";if(f<d.length+1)return'"[Array]"';d.push(n);const e=Math.min(n.length,h);let r=0;for(;r<e-1;r++){const e=w(String(r),n[r],d);t+=e!==undefined?e:"null",t+=","}const s=w(String(r),n[r],d);if(t+=s!==undefined?s:"null",n.length-1>h){t+=`,"... ${m(n.length-h-1)} not stringified"`}return d.pop(),`[${t}]`}let p=Object.keys(n);const b=p.length;if(0===b)return"{}";if(f<d.length+1)return'"[Object]"';let g="",y=Math.min(b,h);s&&u(n)&&(t+=c(n,",",h),p=p.slice(n.length),y-=n.length,g=","),o&&(p=i(p,l)),d.push(n);for(let e=0;e<y;e++){const r=p[e],s=w(r,n[r],d);s!==undefined&&(t+=`${g}${a(r)}:${s}`,g=",")}if(b>h){t+=`${g}"...":"${m(b-h)} not stringified"`}return d.pop(),`{${t}}`}case"number":return isFinite(n)?String(n):t?t(n):"null";case"boolean":return!0===n?"true":"false";case"undefined":return undefined;case"bigint":if(s)return String(n);default:return t?t(n):undefined}}return function(e,t,r){if(arguments.length>1){let n="";if("number"==typeof r?n=" ".repeat(Math.min(r,10)):"string"==typeof r&&(n=r.slice(0,10)),null!=t){if("function"==typeof t)return p("",{"":e},[],t,n,"");if(Array.isArray(t))return b("",e,[],function(e){const t=new Set;for(const r of e)"string"!=typeof r&&"number"!=typeof r||t.add(String(r));return t}(t),n,"")}if(0!==n.length)return g("",e,[],n,"")}return w("",e,[])}}}}},{package:"@metamask/eth-json-rpc-middleware>safe-stable-stringify",file:"node_modules/safe-stable-stringify/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/scrypt-js/scrypt.js",{timers:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/timers-browserify/main.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){!function(n){const s=2147483647;function o(e){const t=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let r=1779033703,n=3144134277,s=1013904242,o=2773480762,a=1359893119,i=2600822924,l=528734635,u=1541459225;const c=new Uint32Array(64);function d(e){let d=0,m=e.length;for(;m>=64;){let f,h,p,b,g,w=r,y=n,_=s,k=o,v=a,x=i,j=l,E=u;for(h=0;h<16;h++)p=d+4*h,c[h]=(255&e[p])<<24|(255&e[p+1])<<16|(255&e[p+2])<<8|255&e[p+3];for(h=16;h<64;h++)f=c[h-2],b=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,f=c[h-15],g=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3,c[h]=(b+c[h-7]|0)+(g+c[h-16]|0)|0;for(h=0;h<64;h++)b=(((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&x^~v&j)|0)+(E+(t[h]+c[h]|0)|0)|0,g=((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+(w&y^w&_^y&_)|0,E=j,j=x,x=v,v=k+b|0,k=_,_=y,y=w,w=b+g|0;r=r+w|0,n=n+y|0,s=s+_|0,o=o+k|0,a=a+v|0,i=i+x|0,l=l+j|0,u=u+E|0,d+=64,m-=64}}d(e);let m,f=e.length%64,h=e.length/536870912|0,p=e.length<<3,b=f<56?56:120,g=e.slice(e.length-f,e.length);for(g.push(128),m=f+1;m<b;m++)g.push(0);return g.push(h>>>24&255),g.push(h>>>16&255),g.push(h>>>8&255),g.push(h>>>0&255),g.push(p>>>24&255),g.push(p>>>16&255),g.push(p>>>8&255),g.push(p>>>0&255),d(g),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,l>>>24&255,l>>>16&255,l>>>8&255,l>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255]}function a(e,t,r){e=e.length<=64?e:o(e);const n=64+t.length+4,s=new Array(n),a=new Array(64);let i,l=[];for(i=0;i<64;i++)s[i]=54;for(i=0;i<e.length;i++)s[i]^=e[i];for(i=0;i<t.length;i++)s[64+i]=t[i];for(i=n-4;i<n;i++)s[i]=0;for(i=0;i<64;i++)a[i]=92;for(i=0;i<e.length;i++)a[i]^=e[i];function u(){for(let e=n-1;e>=n-4;e--){if(s[e]++,s[e]<=255)return;s[e]=0}}for(;r>=32;)u(),l=l.concat(o(a.concat(o(s)))),r-=32;return r>0&&(u(),l=l.concat(o(a.concat(o(s))).slice(0,r))),l}function i(e,t,r,n,s){let o;for(d(e,16*(2*r-1),s,0,16),o=0;o<2*r;o++)c(e,16*o,s,16),u(s,n),d(s,0,e,t+16*o,16);for(o=0;o<r;o++)d(e,t+2*o*16,e,16*o,16);for(o=0;o<r;o++)d(e,t+16*(2*o+1),e,16*(o+r),16)}function l(e,t){return e<<t|e>>>32-t}function u(e,t){d(e,0,t,0,16);for(let e=8;e>0;e-=2)t[4]^=l(t[0]+t[12],7),t[8]^=l(t[4]+t[0],9),t[12]^=l(t[8]+t[4],13),t[0]^=l(t[12]+t[8],18),t[9]^=l(t[5]+t[1],7),t[13]^=l(t[9]+t[5],9),t[1]^=l(t[13]+t[9],13),t[5]^=l(t[1]+t[13],18),t[14]^=l(t[10]+t[6],7),t[2]^=l(t[14]+t[10],9),t[6]^=l(t[2]+t[14],13),t[10]^=l(t[6]+t[2],18),t[3]^=l(t[15]+t[11],7),t[7]^=l(t[3]+t[15],9),t[11]^=l(t[7]+t[3],13),t[15]^=l(t[11]+t[7],18),t[1]^=l(t[0]+t[3],7),t[2]^=l(t[1]+t[0],9),t[3]^=l(t[2]+t[1],13),t[0]^=l(t[3]+t[2],18),t[6]^=l(t[5]+t[4],7),t[7]^=l(t[6]+t[5],9),t[4]^=l(t[7]+t[6],13),t[5]^=l(t[4]+t[7],18),t[11]^=l(t[10]+t[9],7),t[8]^=l(t[11]+t[10],9),t[9]^=l(t[8]+t[11],13),t[10]^=l(t[9]+t[8],18),t[12]^=l(t[15]+t[14],7),t[13]^=l(t[12]+t[15],9),t[14]^=l(t[13]+t[12],13),t[15]^=l(t[14]+t[13],18);for(let r=0;r<16;++r)e[r]+=t[r]}function c(e,t,r,n){for(let s=0;s<n;s++)r[s]^=e[t+s]}function d(e,t,r,n,s){for(;s--;)r[n++]=e[t++]}function m(e){if(!e||"number"!=typeof e.length)return!1;for(let t=0;t<e.length;t++){const r=e[t];if("number"!=typeof r||r%1||r<0||r>=256)return!1}return!0}function f(e,t){if("number"!=typeof e||e%1)throw new Error("invalid "+t);return e}function h(t,r,n,o,l,u,h){if(n=f(n,"N"),o=f(o,"r"),l=f(l,"p"),u=f(u,"dkLen"),0===n||n&n-1)throw new Error("N must be power of 2");if(n>s/128/o)throw new Error("N too large");if(o>s/128/l)throw new Error("r too large");if(!m(t))throw new Error("password must be an array or buffer");if(t=Array.prototype.slice.call(t),!m(r))throw new Error("salt must be an array or buffer");r=Array.prototype.slice.call(r);let p=a(t,r,128*l*o);const b=new Uint32Array(32*l*o);for(let e=0;e<b.length;e++){const t=4*e;b[e]=(255&p[t+3])<<24|(255&p[t+2])<<16|(255&p[t+1])<<8|255&p[t+0]}const g=new Uint32Array(64*o),w=new Uint32Array(32*o*n),y=32*o,_=new Uint32Array(16),k=new Uint32Array(16),v=l*n*2;let x,j,E=0,S=null,A=!1,R=0,T=0;const O=h?parseInt(1e3/o):4294967295,P=void 0!==e?e:setTimeout,M=function(){if(A)return h(new Error("cancelled"),E/v);let e;switch(R){case 0:j=32*T*o,d(b,j,g,0,y),R=1,x=0;case 1:e=n-x,e>O&&(e=O);for(let t=0;t<e;t++)d(g,0,w,(x+t)*y,y),i(g,y,o,_,k);if(x+=e,E+=e,h){const e=parseInt(1e3*E/v);if(e!==S){if(A=h(null,E/v),A)break;S=e}}if(x<n)break;x=0,R=2;case 2:e=n-x,e>O&&(e=O);for(let t=0;t<e;t++){const e=g[16*(2*o-1)]&n-1;c(w,e*y,g,y),i(g,y,o,_,k)}if(x+=e,E+=e,h){const e=parseInt(1e3*E/v);if(e!==S){if(A=h(null,E/v),A)break;S=e}}if(x<n)break;if(d(g,0,b,j,y),T++,T<l){R=0;break}p=[];for(let e=0;e<b.length;e++)p.push(255&b[e]),p.push(b[e]>>8&255),p.push(b[e]>>16&255),p.push(b[e]>>24&255);const r=a(t,p,u);return h&&h(null,1,r),r}h&&P(M)};if(!h)for(;;){const e=M();if(e!=undefined)return e}M()}const p={scrypt:function(e,t,r,n,s,o,a){return new Promise(function(i,l){let u=0;a&&a(0),h(e,t,r,n,s,o,function(e,t,r){if(e)l(e);else if(r)a&&1!==u&&a(1),i(new Uint8Array(r));else if(a&&t!==u)return u=t,a(t)})})},syncScrypt:function(e,t,r,n,s,o){return new Uint8Array(h(e,t,r,n,s,o))}};void 0!==r?t.exports=p:"function"==typeof define&&define.amd?define(p):n&&(n.scrypt&&(n._scrypt=n.scrypt),n.scrypt=p)}(this)}).call(this)}).call(this,e("timers").setImmediate)}}},{package:"ethers>@ethersproject/json-wallets>scrypt-js",file:"node_modules/scrypt-js/scrypt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/elliptic.js",{"./lib":"/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/lib/index.js","./lib/elliptic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/lib/elliptic.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./lib")(e("./lib/elliptic"))}}},{package:"ganache>secp256k1",file:"node_modules/secp256k1/elliptic.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/lib/elliptic.js",{elliptic:"/home/runner/work/metamask-extension/metamask-extension/node_modules/elliptic/lib/elliptic.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=new(0,e("elliptic").ec)("secp256k1"),s=n.curve,o=s.n.constructor;function a(e){const t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){let r=new o(t);if(r.cmp(s.p)>=0)return null;r=r.toRed(s.red);let a=r.redSqr().redIMul(r).redIAdd(s.b).redSqrt();3===e!==a.isOdd()&&(a=a.redNeg());const i=r.redSqr().redIMul(r);return a.redSqr().redISub(i.redIAdd(s.b)).isZero()?n.keyPair({pub:{x:r,y:a}}):null}(t,e.subarray(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){let a=new o(t),i=new o(r);if(a.cmp(s.p)>=0||i.cmp(s.p)>=0)return null;if(a=a.toRed(s.red),i=i.toRed(s.red),(6===e||7===e)&&i.isOdd()!==(7===e))return null;const l=a.redSqr().redIMul(a);return i.redSqr().redISub(l.redIAdd(s.b)).isZero()?n.keyPair({pub:{x:a,y:i}}):null}(t,e.subarray(1,33),e.subarray(33,65));default:return null}}function i(e,t){const r=t.encode(null,33===e.length);for(let t=0;t<e.length;++t)e[t]=r[t]}t.exports={contextRandomize:()=>0,privateKeyVerify(e){const t=new o(e);return t.cmp(s.n)<0&&!t.isZero()?0:1},privateKeyNegate(e){const t=new o(e),r=s.n.sub(t).umod(s.n).toArrayLike(Uint8Array,"be",32);return e.set(r),0},privateKeyTweakAdd(e,t){const r=new o(t);if(r.cmp(s.n)>=0)return 1;if(r.iadd(new o(e)),r.cmp(s.n)>=0&&r.isub(s.n),r.isZero())return 1;const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},privateKeyTweakMul(e,t){let r=new o(t);if(r.cmp(s.n)>=0||r.isZero())return 1;r.imul(new o(e)),r.cmp(s.n)>=0&&(r=r.umod(s.n));const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},publicKeyVerify:e=>null===a(e)?1:0,publicKeyCreate(e,t){const r=new o(t);if(r.cmp(s.n)>=0||r.isZero())return 1;return i(e,n.keyFromPrivate(t).getPublic()),0},publicKeyConvert(e,t){const r=a(t);if(null===r)return 1;return i(e,r.getPublic()),0},publicKeyNegate(e,t){const r=a(t);if(null===r)return 1;const n=r.getPublic();return n.y=n.y.redNeg(),i(e,n),0},publicKeyCombine(e,t){const r=new Array(t.length);for(let e=0;e<t.length;++e)if(r[e]=a(t[e]),null===r[e])return 1;let n=r[0].getPublic();for(let e=1;e<r.length;++e)n=n.add(r[e].pub);return n.isInfinity()?2:(i(e,n),0)},publicKeyTweakAdd(e,t,r){const n=a(t);if(null===n)return 1;if((r=new o(r)).cmp(s.n)>=0)return 2;const l=n.getPublic().add(s.g.mul(r));return l.isInfinity()?2:(i(e,l),0)},publicKeyTweakMul(e,t,r){const n=a(t);if(null===n)return 1;if((r=new o(r)).cmp(s.n)>=0||r.isZero())return 2;return i(e,n.getPublic().mul(r)),0},signatureNormalize(e){const t=new o(e.subarray(0,32)),r=new o(e.subarray(32,64));return t.cmp(s.n)>=0||r.cmp(s.n)>=0?1:(1===r.cmp(n.nh)&&e.set(s.n.sub(r).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(e,t){const r=t.subarray(0,32),n=t.subarray(32,64);if(new o(r).cmp(s.n)>=0)return 1;if(new o(n).cmp(s.n)>=0)return 1;const{output:a}=e;let i=a.subarray(4,37);i[0]=0,i.set(r,1);let l=33,u=0;for(;l>1&&0===i[u]&&!(128&i[u+1]);--l,++u);if(i=i.subarray(u),128&i[0])return 1;if(l>1&&0===i[0]&&!(128&i[1]))return 1;let c=a.subarray(39,72);c[0]=0,c.set(n,1);let d=33,m=0;for(;d>1&&0===c[m]&&!(128&c[m+1]);--d,++m);return c=c.subarray(m),128&c[0]||d>1&&0===c[0]&&!(128&c[1])?1:(e.outputlen=6+l+d,a[0]=48,a[1]=e.outputlen-2,a[2]=2,a[3]=i.length,a.set(i,4),a[4+l]=2,a[5+l]=c.length,a.set(c,6+l),0)},signatureImport(e,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const r=t[3];if(0===r)return 1;if(5+r>=t.length)return 1;if(2!==t[4+r])return 1;const n=t[5+r];if(0===n)return 1;if(6+r+n!==t.length)return 1;if(128&t[4])return 1;if(r>1&&0===t[4]&&!(128&t[5]))return 1;if(128&t[r+6])return 1;if(n>1&&0===t[r+6]&&!(128&t[r+7]))return 1;let a=t.subarray(4,4+r);if(33===a.length&&0===a[0]&&(a=a.subarray(1)),a.length>32)return 1;let i=t.subarray(6+r);if(33===i.length&&0===i[0]&&(i=i.slice(1)),i.length>32)throw new Error("S length is too long");let l=new o(a);l.cmp(s.n)>=0&&(l=new o(0));let u=new o(t.subarray(6+r));return u.cmp(s.n)>=0&&(u=new o(0)),e.set(l.toArrayLike(Uint8Array,"be",32),0),e.set(u.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(e,t,r,a,i){if(i){const e=i;i=n=>{const s=e(t,r,null,a,n);if(!(s instanceof Uint8Array&&32===s.length))throw new Error("This is the way");return new o(s)}}const l=new o(r);if(l.cmp(s.n)>=0||l.isZero())return 1;let u;try{u=n.sign(t,r,{canonical:!0,k:i,pers:a})}catch(e){return 1}return e.signature.set(u.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(u.s.toArrayLike(Uint8Array,"be",32),32),e.recid=u.recoveryParam,0},ecdsaVerify(e,t,r){const i={r:e.subarray(0,32),s:e.subarray(32,64)},l=new o(i.r),u=new o(i.s);if(l.cmp(s.n)>=0||u.cmp(s.n)>=0)return 1;if(1===u.cmp(n.nh)||l.isZero()||u.isZero())return 3;const c=a(r);if(null===c)return 2;const d=c.getPublic();return n.verify(t,i,d)?0:3},ecdsaRecover(e,t,r,a){const l={r:t.slice(0,32),s:t.slice(32,64)},u=new o(l.r),c=new o(l.s);if(u.cmp(s.n)>=0||c.cmp(s.n)>=0)return 1;if(u.isZero()||c.isZero())return 2;let d;try{d=n.recoverPubKey(a,l,r)}catch(e){return 2}return i(e,d),0},ecdh(e,t,r,i,l,u,c){const d=a(t);if(null===d)return 1;const m=new o(r);if(m.cmp(s.n)>=0||m.isZero())return 2;const f=d.getPublic().mul(m);if(l===undefined){const t=f.encode(null,!0),r=n.hash().update(t).digest();for(let t=0;t<32;++t)e[t]=r[t]}else{u||(u=new Uint8Array(32));const t=f.getX().toArray("be",32);for(let e=0;e<32;++e)u[e]=t[e];c||(c=new Uint8Array(32));const r=f.getY().toArray("be",32);for(let e=0;e<32;++e)c[e]=r[e];const n=l(u,c,i);if(!(n instanceof Uint8Array&&n.length===e.length))return 2;e.set(n)}return 0}}}}},{package:"ganache>secp256k1",file:"node_modules/secp256k1/lib/elliptic.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/secp256k1/lib/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n="Impossible case. Please create issue.",s="The tweak was out of range or the resulted private key is invalid",o="The tweak was out of range or equal to zero",a="Unknow error on context randomization",i="Private Key is invalid",l="Public Key could not be parsed",u="Public Key serialization error",c="The sum of the public keys is not valid",d="Signature could not be parsed",m="The nonce generation function failed, or the private key was invalid",f="Public key could not be recover",h="Scalar was invalid (zero or overflow)";function p(e,t){if(!e)throw new Error(t)}function b(e,t,r){if(p(t instanceof Uint8Array,`Expected ${e} to be an Uint8Array`),r!==undefined)if(Array.isArray(r)){const n=`Expected ${e} to be an Uint8Array with length [${r.join(", ")}]`;p(r.includes(t.length),n)}else{const n=`Expected ${e} to be an Uint8Array with length ${r}`;p(t.length===r,n)}}function g(e){p("Boolean"===y(e),"Expected compressed to be a Boolean")}function w(e=e=>new Uint8Array(e),t){return"function"==typeof e&&(e=e(t)),b("output",e,t),e}function y(e){return Object.prototype.toString.call(e).slice(8,-1)}t.exports=e=>({contextRandomize(t){if(p(null===t||t instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==t&&b("seed",t,32),1===e.contextRandomize(t))throw new Error(a)},privateKeyVerify:t=>(b("private key",t,32),0===e.privateKeyVerify(t)),privateKeyNegate(t){switch(b("private key",t,32),e.privateKeyNegate(t)){case 0:return t;case 1:throw new Error(n)}},privateKeyTweakAdd(t,r){switch(b("private key",t,32),b("tweak",r,32),e.privateKeyTweakAdd(t,r)){case 0:return t;case 1:throw new Error(s)}},privateKeyTweakMul(t,r){switch(b("private key",t,32),b("tweak",r,32),e.privateKeyTweakMul(t,r)){case 0:return t;case 1:throw new Error(o)}},publicKeyVerify:t=>(b("public key",t,[33,65]),0===e.publicKeyVerify(t)),publicKeyCreate(t,r=!0,n){switch(b("private key",t,32),g(r),n=w(n,r?33:65),e.publicKeyCreate(n,t)){case 0:return n;case 1:throw new Error(i);case 2:throw new Error(u)}},publicKeyConvert(t,r=!0,n){switch(b("public key",t,[33,65]),g(r),n=w(n,r?33:65),e.publicKeyConvert(n,t)){case 0:return n;case 1:throw new Error(l);case 2:throw new Error(u)}},publicKeyNegate(t,r=!0,s){switch(b("public key",t,[33,65]),g(r),s=w(s,r?33:65),e.publicKeyNegate(s,t)){case 0:return s;case 1:throw new Error(l);case 2:throw new Error(n);case 3:throw new Error(u)}},publicKeyCombine(t,r=!0,n){p(Array.isArray(t),"Expected public keys to be an Array"),p(t.length>0,"Expected public keys array will have more than zero items");for(const e of t)b("public key",e,[33,65]);switch(g(r),n=w(n,r?33:65),e.publicKeyCombine(n,t)){case 0:return n;case 1:throw new Error(l);case 2:throw new Error(c);case 3:throw new Error(u)}},publicKeyTweakAdd(t,r,n=!0,o){switch(b("public key",t,[33,65]),b("tweak",r,32),g(n),o=w(o,n?33:65),e.publicKeyTweakAdd(o,t,r)){case 0:return o;case 1:throw new Error(l);case 2:throw new Error(s)}},publicKeyTweakMul(t,r,n=!0,s){switch(b("public key",t,[33,65]),b("tweak",r,32),g(n),s=w(s,n?33:65),e.publicKeyTweakMul(s,t,r)){case 0:return s;case 1:throw new Error(l);case 2:throw new Error(o)}},signatureNormalize(t){switch(b("signature",t,64),e.signatureNormalize(t)){case 0:return t;case 1:throw new Error(d)}},signatureExport(t,r){b("signature",t,64);const s={output:r=w(r,72),outputlen:72};switch(e.signatureExport(s,t)){case 0:return r.slice(0,s.outputlen);case 1:throw new Error(d);case 2:throw new Error(n)}},signatureImport(t,r){switch(b("signature",t),r=w(r,64),e.signatureImport(r,t)){case 0:return r;case 1:throw new Error(d);case 2:throw new Error(n)}},ecdsaSign(t,r,s={},o){b("message",t,32),b("private key",r,32),p("Object"===y(s),"Expected options to be an Object"),s.data!==undefined&&b("options.data",s.data),s.noncefn!==undefined&&p("Function"===y(s.noncefn),"Expected options.noncefn to be a Function");const a={signature:o=w(o,64),recid:null};switch(e.ecdsaSign(a,t,r,s.data,s.noncefn)){case 0:return a;case 1:throw new Error(m);case 2:throw new Error(n)}},ecdsaVerify(t,r,n){switch(b("signature",t,64),b("message",r,32),b("public key",n,[33,65]),e.ecdsaVerify(t,r,n)){case 0:return!0;case 3:return!1;case 1:throw new Error(d);case 2:throw new Error(l)}},ecdsaRecover(t,r,s,o=!0,a){switch(b("signature",t,64),p("Number"===y(r)&&r>=0&&r<=3,"Expected recovery id to be a Number within interval [0, 3]"),b("message",s,32),g(o),a=w(a,o?33:65),e.ecdsaRecover(a,t,r,s)){case 0:return a;case 1:throw new Error(d);case 2:throw new Error(f);case 3:throw new Error(n)}},ecdh(t,r,n={},s){switch(b("public key",t,[33,65]),b("private key",r,32),p("Object"===y(n),"Expected options to be an Object"),n.data!==undefined&&b("options.data",n.data),n.hashfn!==undefined?(p("Function"===y(n.hashfn),"Expected options.hashfn to be a Function"),n.xbuf!==undefined&&b("options.xbuf",n.xbuf,32),n.ybuf!==undefined&&b("options.ybuf",n.ybuf,32),b("output",s)):s=w(s,32),e.ecdh(s,t,r,n.data,n.hashfn,n.xbuf,n.ybuf)){case 0:return s;case 1:throw new Error(l);case 2:throw new Error(h)}}})}}},{package:"ganache>secp256k1",file:"node_modules/secp256k1/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js",{"../functions/cmp":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/cmp.js","../internal/debug":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js","../internal/parse-options":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/parse-options.js","../internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js","./range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","./semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=Symbol("SemVer ANY");class s{static get ANY(){return n}constructor(e,t){if(t=o(t),e instanceof s){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),u("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){const t=this.options.loose?a[i.COMPARATORLOOSE]:a[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==undefined?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):(!(t=o(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}t.exports=s;const o=e("../internal/parse-options"),{safeRe:a,t:i}=e("../internal/re"),l=e("../functions/cmp"),u=e("../internal/debug"),c=e("./semver"),d=e("./range")}}},{package:"semver",file:"node_modules/semver/classes/comparator.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js",{"../internal/constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js","../internal/debug":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js","../internal/lrucache":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/lrucache.js","../internal/parse-options":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/parse-options.js","../internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js","./comparator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js","./semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=/\s+/g;class s{constructor(e,t){if(t=a(t),e instanceof s)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new s(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.formatted=undefined,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&w(e[0])){this.set=[e];break}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&p)|(this.options.loose&&b))+":"+e,r=o.get(t);if(r)return r;const n=this.options.loose,s=n?c[d.HYPHENRANGELOOSE]:c[d.HYPHENRANGE];e=e.replace(s,O(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(c[d.COMPARATORTRIM],m),l("comparator trim",e),e=e.replace(c[d.TILDETRIM],f),l("tilde trim",e),e=e.replace(c[d.CARETTRIM],h),l("caret trim",e);let a=e.split(" ").map(e=>_(e,this.options)).join(" ").split(/\s+/).map(e=>T(e,this.options));n&&(a=a.filter(e=>(l("loose invalid filter",e,this.options),!!e.match(c[d.COMPARATORLOOSE])))),l("range list",a);const u=new Map,w=a.map(e=>new i(e,this.options));for(const e of w){if(g(e))return[e];u.set(e.value,e)}u.size>1&&u.has("")&&u.delete("");const y=[...u.values()];return o.set(t,y),y}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Range is required");return this.set.some(r=>y(r,t)&&e.set.some(e=>y(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}}t.exports=s;const o=new(e("../internal/lrucache")),a=e("../internal/parse-options"),i=e("./comparator"),l=e("../internal/debug"),u=e("./semver"),{safeRe:c,t:d,comparatorTrimReplace:m,tildeTrimReplace:f,caretTrimReplace:h}=e("../internal/re"),{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:b}=e("../internal/constants"),g=e=>"<0.0.0-0"===e.value,w=e=>""===e.value,y=(e,t)=>{let r=!0;const n=e.slice();let s=n.pop();for(;r&&n.length;)r=n.every(e=>s.intersects(e,t)),s=n.pop();return r},_=(e,t)=>(e=e.replace(c[d.BUILD],""),l("comp",e,t),e=j(e,t),l("caret",e),e=v(e,t),l("tildes",e),e=S(e,t),l("xrange",e),e=R(e,t),l("stars",e),e),k=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map(e=>x(e,t)).join(" "),x=(e,t)=>{const r=t.loose?c[d.TILDELOOSE]:c[d.TILDE];return e.replace(r,(t,r,n,s,o)=>{let a;return l("tilde",e,t,r,n,s,o),k(r)?a="":k(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:k(s)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(l("replaceTilde pr",o),a=`>=${r}.${n}.${s}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${s} <${r}.${+n+1}.0-0`,l("tilde return",a),a})},j=(e,t)=>e.trim().split(/\s+/).map(e=>E(e,t)).join(" "),E=(e,t)=>{l("caret",e,t);const r=t.loose?c[d.CARETLOOSE]:c[d.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,s,o,a)=>{let i;return l("caret",e,t,r,s,o,a),k(r)?i="":k(s)?i=`>=${r}.0.0${n} <${+r+1}.0.0-0`:k(o)?i="0"===r?`>=${r}.${s}.0${n} <${r}.${+s+1}.0-0`:`>=${r}.${s}.0${n} <${+r+1}.0.0-0`:a?(l("replaceCaret pr",a),i="0"===r?"0"===s?`>=${r}.${s}.${o}-${a} <${r}.${s}.${+o+1}-0`:`>=${r}.${s}.${o}-${a} <${r}.${+s+1}.0-0`:`>=${r}.${s}.${o}-${a} <${+r+1}.0.0-0`):(l("no pr"),i="0"===r?"0"===s?`>=${r}.${s}.${o}${n} <${r}.${s}.${+o+1}-0`:`>=${r}.${s}.${o}${n} <${r}.${+s+1}.0-0`:`>=${r}.${s}.${o} <${+r+1}.0.0-0`),l("caret return",i),i})},S=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map(e=>A(e,t)).join(" ")),A=(e,t)=>{e=e.trim();const r=t.loose?c[d.XRANGELOOSE]:c[d.XRANGE];return e.replace(r,(r,n,s,o,a,i)=>{l("xRange",e,r,n,s,o,a,i);const u=k(s),c=u||k(o),d=c||k(a),m=d;return"="===n&&m&&(n=""),i=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&m?(c&&(o=0),a=0,">"===n?(n=">=",c?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):"<="===n&&(n="<",c?s=+s+1:o=+o+1),"<"===n&&(i="-0"),r=`${n+s}.${o}.${a}${i}`):c?r=`>=${s}.0.0${i} <${+s+1}.0.0-0`:d&&(r=`>=${s}.${o}.0${i} <${s}.${+o+1}.0-0`),l("xRange return",r),r})},R=(e,t)=>(l("replaceStars",e,t),e.trim().replace(c[d.STAR],"")),T=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),O=e=>(t,r,n,s,o,a,i,l,u,c,d,m)=>`${r=k(n)?"":k(s)?`>=${n}.0.0${e?"-0":""}`:k(o)?`>=${n}.${s}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=k(u)?"":k(c)?`<${+u+1}.0.0-0`:k(d)?`<${u}.${+c+1}.0-0`:m?`<=${u}.${c}.${d}-${m}`:e?`<${u}.${c}.${+d+1}-0`:`<=${l}`}`.trim(),P=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(l(e[r].semver),e[r].semver!==i.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}}}},{package:"semver",file:"node_modules/semver/classes/range.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js",{"../internal/constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js","../internal/debug":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js","../internal/identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/identifiers.js","../internal/parse-options":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/parse-options.js","../internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../internal/debug"),{MAX_LENGTH:s,MAX_SAFE_INTEGER:o}=e("../internal/constants"),{safeRe:a,t:i}=e("../internal/re"),l=e("../internal/parse-options"),{compareIdentifiers:u}=e("../internal/identifiers");class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>s)throw new TypeError(`version is longer than ${s} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[i.LOOSE]:a[i.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],s=e.prerelease[t];if(n("prerelease compare",t,r,s),r===undefined&&s===undefined)return 0;if(s===undefined)return 1;if(r===undefined)return-1;if(r!==s)return u(r,s)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const r=this.build[t],s=e.build[t];if(n("build compare",t,r,s),r===undefined&&s===undefined)return 0;if(s===undefined)return 1;if(r===undefined)return-1;if(r!==s)return u(r,s)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?a[i.PRERELEASELOOSE]:a[i.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}t.exports=c}}},{package:"semver",file:"node_modules/semver/classes/semver.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/clean.js",{"./parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./parse");t.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}}}},{package:"semver",file:"node_modules/semver/functions/clean.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/cmp.js",{"./eq":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/eq.js","./gt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js","./gte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gte.js","./lt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lt.js","./lte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lte.js","./neq":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/neq.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./eq"),s=e("./neq"),o=e("./gt"),a=e("./gte"),i=e("./lt"),l=e("./lte");t.exports=(e,t,r,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,u);case"!=":return s(e,r,u);case">":return o(e,r,u);case">=":return a(e,r,u);case"<":return i(e,r,u);case"<=":return l(e,r,u);default:throw new TypeError(`Invalid operator: ${t}`)}}}}},{package:"semver",file:"node_modules/semver/functions/cmp.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/coerce.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js","../internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js","./parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),s=e("./parse"),{safeRe:o,t:a}=e("../internal/re");t.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const n=t.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL];let s;for(;(s=n.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&s.index+s[0].length===r.index+r[0].length||(r=s),n.lastIndex=s.index+s[1].length+s[2].length;n.lastIndex=-1}else r=e.match(t.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);if(null===r)return null;const i=r[2],l=r[3]||"0",u=r[4]||"0",c=t.includePrerelease&&r[5]?`-${r[5]}`:"",d=t.includePrerelease&&r[6]?`+${r[6]}`:"";return s(`${i}.${l}.${u}${c}${d}`,t)}}}},{package:"semver",file:"node_modules/semver/functions/coerce.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-build.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t,r)=>{const s=new n(e,r),o=new n(t,r);return s.compare(o)||s.compareBuild(o)}}}},{package:"semver",file:"node_modules/semver/functions/compare-build.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-loose.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t)=>n(e,t,!0)}}},{package:"semver",file:"node_modules/semver/functions/compare-loose.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))}}},{package:"semver",file:"node_modules/semver/functions/compare.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/diff.js",{"./parse.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./parse.js");t.exports=(e,t)=>{const r=n(e,null,!0),s=n(t,null,!0),o=r.compare(s);if(0===o)return null;const a=o>0,i=a?r:s,l=a?s:r,u=!!i.prerelease.length;if(!!l.prerelease.length&&!u){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(i))return l.minor&&!l.patch?"minor":"patch"}const c=u?"pre":"";return r.major!==s.major?c+"major":r.minor!==s.minor?c+"minor":r.patch!==s.patch?c+"patch":"prerelease"}}}},{package:"semver",file:"node_modules/semver/functions/diff.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/eq.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>0===n(e,t,r)}}},{package:"semver",file:"node_modules/semver/functions/eq.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(e,t,r)>0}}},{package:"semver",file:"node_modules/semver/functions/gt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gte.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(e,t,r)>=0}}},{package:"semver",file:"node_modules/semver/functions/gte.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/inc.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t,r,s,o)=>{"string"==typeof r&&(o=s,s=r,r=undefined);try{return new n(e instanceof n?e.version:e,r).inc(t,s,o).version}catch(e){return null}}}}},{package:"semver",file:"node_modules/semver/functions/inc.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lt.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(e,t,r)<0}}},{package:"semver",file:"node_modules/semver/functions/lt.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lte.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(e,t,r)<=0}}},{package:"semver",file:"node_modules/semver/functions/lte.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/major.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t)=>new n(e,t).major}}},{package:"semver",file:"node_modules/semver/functions/major.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/minor.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t)=>new n(e,t).minor}}},{package:"semver",file:"node_modules/semver/functions/minor.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/neq.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>0!==n(e,t,r)}}},{package:"semver",file:"node_modules/semver/functions/neq.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}}}},{package:"semver",file:"node_modules/semver/functions/parse.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/patch.js",{"../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver");t.exports=(e,t)=>new n(e,t).patch}}},{package:"semver",file:"node_modules/semver/functions/patch.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/prerelease.js",{"./parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./parse");t.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}}}},{package:"semver",file:"node_modules/semver/functions/prerelease.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/rcompare.js",{"./compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare");t.exports=(e,t,r)=>n(t,e,r)}}},{package:"semver",file:"node_modules/semver/functions/rcompare.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/rsort.js",{"./compare-build":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-build.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare-build");t.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))}}},{package:"semver",file:"node_modules/semver/functions/rsort.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range");t.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}}}},{package:"semver",file:"node_modules/semver/functions/satisfies.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/sort.js",{"./compare-build":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-build.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./compare-build");t.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))}}},{package:"semver",file:"node_modules/semver/functions/sort.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/valid.js",{"./parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./parse");t.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}}}},{package:"semver",file:"node_modules/semver/functions/valid.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/index.js",{"./classes/comparator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js","./classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","./classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js","./functions/clean":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/clean.js","./functions/cmp":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/cmp.js","./functions/coerce":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/coerce.js","./functions/compare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js","./functions/compare-build":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-build.js","./functions/compare-loose":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare-loose.js","./functions/diff":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/diff.js","./functions/eq":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/eq.js","./functions/gt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js","./functions/gte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gte.js","./functions/inc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/inc.js","./functions/lt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lt.js","./functions/lte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lte.js","./functions/major":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/major.js","./functions/minor":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/minor.js","./functions/neq":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/neq.js","./functions/parse":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/parse.js","./functions/patch":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/patch.js","./functions/prerelease":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/prerelease.js","./functions/rcompare":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/rcompare.js","./functions/rsort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/rsort.js","./functions/satisfies":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js","./functions/sort":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/sort.js","./functions/valid":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/valid.js","./internal/constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js","./internal/identifiers":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/identifiers.js","./internal/re":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js","./ranges/gtr":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/gtr.js","./ranges/intersects":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/intersects.js","./ranges/ltr":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/ltr.js","./ranges/max-satisfying":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/max-satisfying.js","./ranges/min-satisfying":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/min-satisfying.js","./ranges/min-version":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/min-version.js","./ranges/outside":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/outside.js","./ranges/simplify":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/simplify.js","./ranges/subset":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/subset.js","./ranges/to-comparators":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/to-comparators.js","./ranges/valid":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/valid.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./internal/re"),s=e("./internal/constants"),o=e("./classes/semver"),a=e("./internal/identifiers"),i=e("./functions/parse"),l=e("./functions/valid"),u=e("./functions/clean"),c=e("./functions/inc"),d=e("./functions/diff"),m=e("./functions/major"),f=e("./functions/minor"),h=e("./functions/patch"),p=e("./functions/prerelease"),b=e("./functions/compare"),g=e("./functions/rcompare"),w=e("./functions/compare-loose"),y=e("./functions/compare-build"),_=e("./functions/sort"),k=e("./functions/rsort"),v=e("./functions/gt"),x=e("./functions/lt"),j=e("./functions/eq"),E=e("./functions/neq"),S=e("./functions/gte"),A=e("./functions/lte"),R=e("./functions/cmp"),T=e("./functions/coerce"),O=e("./classes/comparator"),P=e("./classes/range"),M=e("./functions/satisfies"),I=e("./ranges/to-comparators"),N=e("./ranges/max-satisfying"),C=e("./ranges/min-satisfying"),L=e("./ranges/min-version"),D=e("./ranges/valid"),U=e("./ranges/outside"),$=e("./ranges/gtr"),F=e("./ranges/ltr"),B=e("./ranges/intersects"),W=e("./ranges/simplify"),q=e("./ranges/subset");t.exports={parse:i,valid:l,clean:u,inc:c,diff:d,major:m,minor:f,patch:h,prerelease:p,compare:b,rcompare:g,compareLoose:w,compareBuild:y,sort:_,rsort:k,gt:v,lt:x,eq:j,neq:E,gte:S,lte:A,cmp:R,coerce:T,Comparator:O,Range:P,satisfies:M,toComparators:I,maxSatisfying:N,minSatisfying:C,minVersion:L,validRange:D,outside:U,gtr:$,ltr:F,intersects:B,simplifyRange:W,subset:q,SemVer:o,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}}},{package:"semver",file:"node_modules/semver/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}},{package:"semver",file:"node_modules/semver/internal/constants.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){const r=("object"==typeof e&&e.env,()=>{});t.exports=r}).call(this)}).call(this,e("_process"))}}},{package:"semver",file:"node_modules/semver/internal/debug.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/identifiers.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=/^[0-9]+$/,s=(e,t)=>{if("number"==typeof e&&"number"==typeof t)return e===t?0:e<t?-1:1;const r=n.test(e),s=n.test(t);return r&&s&&(e=+e,t=+t),e===t?0:r&&!s?-1:s&&!r?1:e<t?-1:1};t.exports={compareIdentifiers:s,rcompareIdentifiers:(e,t)=>s(t,e)}}}},{package:"semver",file:"node_modules/semver/internal/identifiers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/lrucache.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return t===undefined?undefined:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==undefined){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}}}},{package:"semver",file:"node_modules/semver/internal/lrucache.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/parse-options.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=Object.freeze({loose:!0}),s=Object.freeze({});t.exports=e=>e?"object"!=typeof e?n:e:s}}},{package:"semver",file:"node_modules/semver/internal/parse-options.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/re.js",{"./constants":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/constants.js","./debug":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/internal/debug.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:o}=e("./constants"),a=e("./debug"),i=(r=t.exports={}).re=[],l=r.safeRe=[],u=r.src=[],c=r.safeSrc=[],d=r.t={};let m=0;const f="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",o],[f,s]],p=(e,t,r)=>{const n=(e=>{for(const[t,r]of h)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),s=m++;a(e,s,t),d[e]=s,u[s]=t,c[s]=n,i[s]=new RegExp(t,r?"g":undefined),l[s]=new RegExp(n,r?"g":undefined)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),p("MAINVERSION",`(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${u[d.NONNUMERICIDENTIFIER]}|${u[d.NUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${u[d.NONNUMERICIDENTIFIER]}|${u[d.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASE",`(?:-(${u[d.PRERELEASEIDENTIFIER]}(?:\\.${u[d.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${u[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[d.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${f}+`),p("BUILD",`(?:\\+(${u[d.BUILDIDENTIFIER]}(?:\\.${u[d.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${u[d.MAINVERSION]}${u[d.PRERELEASE]}?${u[d.BUILD]}?`),p("FULL",`^${u[d.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${u[d.MAINVERSIONLOOSE]}${u[d.PRERELEASELOOSE]}?${u[d.BUILD]}?`),p("LOOSE",`^${u[d.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${u[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${u[d.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:${u[d.PRERELEASE]})?${u[d.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:${u[d.PRERELEASELOOSE]})?${u[d.BUILD]}?)?)?`),p("XRANGE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),p("COERCE",`${u[d.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",u[d.COERCEPLAIN]+`(?:${u[d.PRERELEASE]})?`+`(?:${u[d.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",u[d.COERCE],!0),p("COERCERTLFULL",u[d.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${u[d.LONETILDE]}\\s+`,!0),r.tildeTrimReplace="$1~",p("TILDE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${u[d.LONECARET]}\\s+`,!0),r.caretTrimReplace="$1^",p("CARET",`^${u[d.LONECARET]}${u[d.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${u[d.LONECARET]}${u[d.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${u[d.GTLT]}\\s*(${u[d.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]}|${u[d.XRANGEPLAIN]})`,!0),r.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${u[d.XRANGEPLAIN]})\\s+-\\s+(${u[d.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${u[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[d.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}},{package:"semver",file:"node_modules/semver/internal/re.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/gtr.js",{"./outside":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/outside.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./outside");t.exports=(e,t,r)=>n(e,t,">",r)}}},{package:"semver",file:"node_modules/semver/ranges/gtr.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/intersects.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range");t.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))}}},{package:"semver",file:"node_modules/semver/ranges/intersects.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/ltr.js",{"./outside":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/outside.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./outside");t.exports=(e,t,r)=>n(e,t,"<",r)}}},{package:"semver",file:"node_modules/semver/ranges/ltr.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/max-satisfying.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),s=e("../classes/range");t.exports=(e,t,r)=>{let o=null,a=null,i=null;try{i=new s(t,r)}catch(e){return null}return e.forEach(e=>{i.test(e)&&(o&&-1!==a.compare(e)||(o=e,a=new n(o,r)))}),o}}}},{package:"semver",file:"node_modules/semver/ranges/max-satisfying.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/min-satisfying.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),s=e("../classes/range");t.exports=(e,t,r)=>{let o=null,a=null,i=null;try{i=new s(t,r)}catch(e){return null}return e.forEach(e=>{i.test(e)&&(o&&1!==a.compare(e)||(o=e,a=new n(o,r)))}),o}}}},{package:"semver",file:"node_modules/semver/ranges/min-satisfying.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/min-version.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js","../functions/gt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),s=e("../classes/range"),o=e("../functions/gt");t.exports=(e,t)=>{e=new s(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let a=null;s.forEach(e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!o(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!a||r&&!o(r,a)||(r=a)}return r&&e.test(r)?r:null}}}},{package:"semver",file:"node_modules/semver/ranges/min-version.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/outside.js",{"../classes/comparator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js","../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../classes/semver":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/semver.js","../functions/gt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gt.js","../functions/gte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/gte.js","../functions/lt":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lt.js","../functions/lte":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/lte.js","../functions/satisfies":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/semver"),s=e("../classes/comparator"),{ANY:o}=s,a=e("../classes/range"),i=e("../functions/satisfies"),l=e("../functions/gt"),u=e("../functions/lt"),c=e("../functions/lte"),d=e("../functions/gte");t.exports=(e,t,r,m)=>{let f,h,p,b,g;switch(e=new n(e,m),t=new a(t,m),r){case">":f=l,h=c,p=u,b=">",g=">=";break;case"<":f=u,h=d,p=l,b="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,m))return!1;for(let r=0;r<t.set.length;++r){const n=t.set[r];let a=null,i=null;if(n.forEach(e=>{e.semver===o&&(e=new s(">=0.0.0")),a=a||e,i=i||e,f(e.semver,a.semver,m)?a=e:p(e.semver,i.semver,m)&&(i=e)}),a.operator===b||a.operator===g)return!1;if((!i.operator||i.operator===b)&&h(e,i.semver))return!1;if(i.operator===g&&p(e,i.semver))return!1}return!0}}}},{package:"semver",file:"node_modules/semver/ranges/outside.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/simplify.js",{"../functions/compare.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js","../functions/satisfies.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../functions/satisfies.js"),s=e("../functions/compare.js");t.exports=(e,t,r)=>{const o=[];let a=null,i=null;const l=e.sort((e,t)=>s(e,t,r));for(const e of l){n(e,t,r)?(i=e,a||(a=e)):(i&&o.push([a,i]),i=null,a=null)}a&&o.push([a,null]);const u=[];for(const[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");const c=u.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return c.length<d.length?c:t}}}},{package:"semver",file:"node_modules/semver/ranges/simplify.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/subset.js",{"../classes/comparator.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/comparator.js","../classes/range.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js","../functions/compare.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/compare.js","../functions/satisfies.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/functions/satisfies.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range.js"),s=e("../classes/comparator.js"),{ANY:o}=s,a=e("../functions/satisfies.js"),i=e("../functions/compare.js"),l=[new s(">=0.0.0-0")],u=[new s(">=0.0.0")],c=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?l:u}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=u}const n=new Set;let s,c,f,h,p,b,g;for(const t of e)">"===t.operator||">="===t.operator?s=d(s,t,r):"<"===t.operator||"<="===t.operator?c=m(c,t,r):n.add(t.semver);if(n.size>1)return null;if(s&&c){if(f=i(s.semver,c.semver,r),f>0)return null;if(0===f&&(">="!==s.operator||"<="!==c.operator))return null}for(const e of n){if(s&&!a(e,String(s),r))return null;if(c&&!a(e,String(c),r))return null;for(const n of t)if(!a(e,String(n),r))return!1;return!0}let w=!(!c||r.includePrerelease||!c.semver.prerelease.length)&&c.semver,y=!(!s||r.includePrerelease||!s.semver.prerelease.length)&&s.semver;w&&1===w.prerelease.length&&"<"===c.operator&&0===w.prerelease[0]&&(w=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,s)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(h=d(s,e,r),h===e&&h!==s)return!1}else if(">="===s.operator&&!a(s.semver,String(e),r))return!1;if(c)if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!1),"<"===e.operator||"<="===e.operator){if(p=m(c,e,r),p===e&&p!==c)return!1}else if("<="===c.operator&&!a(c.semver,String(e),r))return!1;if(!e.operator&&(c||s)&&0!==f)return!1}return!(s&&b&&!c&&0!==f)&&(!(c&&g&&!s&&0!==f)&&(!y&&!w))},d=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},m=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};t.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let s=!1;e:for(const n of e.set){for(const e of t.set){const t=c(n,e,r);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}}}},{package:"semver",file:"node_modules/semver/ranges/subset.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/to-comparators.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range");t.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))}}},{package:"semver",file:"node_modules/semver/ranges/to-comparators.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/ranges/valid.js",{"../classes/range":"/home/runner/work/metamask-extension/metamask-extension/node_modules/semver/classes/range.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../classes/range");t.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}}}},{package:"semver",file:"node_modules/semver/ranges/valid.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/set-function-length/index.js",{"define-data-property":"/home/runner/work/metamask-extension/metamask-extension/node_modules/define-data-property/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","get-intrinsic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-intrinsic/index.js",gopd:"/home/runner/work/metamask-extension/metamask-extension/node_modules/gopd/index.js","has-property-descriptors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/has-property-descriptors/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),s=e("define-data-property"),o=e("has-property-descriptors")(),a=e("gopd"),i=e("es-errors/type"),l=n("%Math.floor%");t.exports=function(e,t){if("function"!=typeof e)throw new i("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new i("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?s(e,"length",t,!0,!0):s(e,"length",t)),e}}}},{package:"string.prototype.matchall>call-bind>set-function-length",file:"node_modules/set-function-length/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/set-immediate-shim/index.js",{timers:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/timers-browserify/main.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){t.exports="function"==typeof e?e:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}}).call(this)}).call(this,e("timers").setImmediate)}}},{package:"eth-method-registry>@metamask/ethjs-query>promise-to-callback>set-immediate-shim",file:"node_modules/set-immediate-shim/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",{"safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js","to-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/to-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,s=e("to-buffer");function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){e=s(e,t||"utf8");for(var r=this._block,n=this._blockSize,o=e.length,a=this._len,i=0;i<o;){for(var l=a%n,u=Math.min(o-i,n-l),c=0;c<u;c++)r[l+c]=e[i+c];i+=u,(a+=u)%n===0&&this._update(r)}return this._len+=o,this},o.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,s=(r-n)/4294967296;this._block.writeUInt32BE(s,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=o}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/hash.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/index.js",{"./sha":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha.js","./sha1":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha1.js","./sha224":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha224.js","./sha256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha256.js","./sha384":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha384.js","./sha512":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha512.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var r=e.toLowerCase(),n=t.exports[r];if(!n)throw new Error(r+" is not supported (we accept pull requests)");return new n},t.exports.sha=e("./sha"),t.exports.sha1=e("./sha1"),t.exports.sha224=e("./sha224"),t.exports.sha256=e("./sha256"),t.exports.sha384=e("./sha384"),t.exports.sha512=e("./sha512")}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),s=e("./hash"),o=e("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function l(){this.init(),this._w=i,s.call(this,64,56)}function u(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,s),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,s=0|this._c,o=0|this._d,i=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=t[l-3]^t[l-8]^t[l-14]^t[l-16];for(var m=0;m<80;++m){var f=~~(m/20),h=u(r)+d(f,n,s,o)+i+t[m]+a[f]|0;i=o,o=s,s=c(n),n=r,r=h}this._a=r+this._a|0,this._b=n+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=i+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha1.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),s=e("./hash"),o=e("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function l(){this.init(),this._w=i,s.call(this,64,56)}function u(e){return e<<1|e>>>31}function c(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function m(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,s),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,s=0|this._c,o=0|this._d,i=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=u(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var f=0;f<80;++f){var h=~~(f/20),p=c(r)+m(h,n,s,o)+i+t[f]+a[h]|0;i=o,o=s,s=d(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=i+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha224.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js","./sha256":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha256.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),s=e("./sha256"),o=e("./hash"),a=e("safe-buffer").Buffer,i=new Array(64);function l(){this.init(),this._w=i,o.call(this,64,56)}n(l,s),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha224.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha256.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),s=e("./hash"),o=e("safe-buffer").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=new Array(64);function l(){this.init(),this._w=i,s.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function m(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function h(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}n(l,s),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,s=0|this._c,o=0|this._d,i=0|this._e,l=0|this._f,p=0|this._g,b=0|this._h,g=0;g<16;++g)t[g]=e.readInt32BE(4*g);for(;g<64;++g)t[g]=h(t[g-2])+t[g-7]+f(t[g-15])+t[g-16]|0;for(var w=0;w<64;++w){var y=b+m(i)+u(i,l,p)+a[w]+t[w]|0,_=d(r)+c(r,n,s)|0;b=p,p=l,l=i,i=o+y|0,o=s,s=n,n=r,r=y+_|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=i+this._e|0,this._f=l+this._f|0,this._g=p+this._g|0,this._h=b+this._h|0},l.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha256.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha384.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js","./sha512":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha512.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),s=e("./sha512"),o=e("./hash"),a=e("safe-buffer").Buffer,i=new Array(160);function l(){this.init(),this._w=i,o.call(this,128,112)}n(l,s),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha384.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/sha512.js",{"./hash":"/home/runner/work/metamask-extension/metamask-extension/node_modules/sha.js/hash.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),s=e("./hash"),o=e("safe-buffer").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],i=new Array(160);function l(){this.init(),this._w=i,s.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function m(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function p(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function b(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(e,t){return e>>>0<t>>>0?1:0}n(l,s),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,s=0|this._ch,o=0|this._dh,i=0|this._eh,l=0|this._fh,w=0|this._gh,y=0|this._hh,_=0|this._al,k=0|this._bl,v=0|this._cl,x=0|this._dl,j=0|this._el,E=0|this._fl,S=0|this._gl,A=0|this._hl,R=0;R<32;R+=2)t[R]=e.readInt32BE(4*R),t[R+1]=e.readInt32BE(4*R+4);for(;R<160;R+=2){var T=t[R-30],O=t[R-30+1],P=f(T,O),M=h(O,T),I=p(T=t[R-4],O=t[R-4+1]),N=b(O,T),C=t[R-14],L=t[R-14+1],D=t[R-32],U=t[R-32+1],$=M+L|0,F=P+C+g($,M)|0;F=(F=F+I+g($=$+N|0,N)|0)+D+g($=$+U|0,U)|0,t[R]=F,t[R+1]=$}for(var B=0;B<160;B+=2){F=t[B],$=t[B+1];var W=c(r,n,s),q=c(_,k,v),H=d(r,_),z=d(_,r),V=m(i,j),G=m(j,i),K=a[B],Y=a[B+1],X=u(i,l,w),Z=u(j,E,S),J=A+G|0,Q=y+V+g(J,A)|0;Q=(Q=(Q=Q+X+g(J=J+Z|0,Z)|0)+K+g(J=J+Y|0,Y)|0)+F+g(J=J+$|0,$)|0;var ee=z+q|0,te=H+W+g(ee,z)|0;y=w,A=S,w=l,S=E,l=i,E=j,i=o+Q+g(j=x+J|0,x)|0,o=s,x=v,s=n,v=k,n=r,k=_,r=Q+te+g(_=J+ee|0,J)|0}this._al=this._al+_|0,this._bl=this._bl+k|0,this._cl=this._cl+v|0,this._dl=this._dl+x|0,this._el=this._el+j|0,this._fl=this._fl+E|0,this._gl=this._gl+S|0,this._hl=this._hl+A|0,this._ah=this._ah+r+g(this._al,_)|0,this._bh=this._bh+n+g(this._bl,k)|0,this._ch=this._ch+s+g(this._cl,v)|0,this._dh=this._dh+o+g(this._dl,x)|0,this._eh=this._eh+i+g(this._el,j)|0,this._fh=this._fh+l+g(this._fl,E)|0,this._gh=this._gh+w+g(this._gl,S)|0,this._hh=this._hh+y+g(this._hl,A)|0},l.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=l}}},{package:"@ngraveio/bc-ur>sha.js",file:"node_modules/sha.js/sha512.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-list/index.js",{"es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","object-inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-inspect/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("object-inspect"),s=e("es-errors/type"),o=function(e,t,r){for(var n,s=e;null!=(n=s.next);s=n)if(n.key===t)return s.next=n.next,r||(n.next=e.next,e.next=n),n};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new s("Side channel does not contain "+n(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return o(e,t,!0)}(e,t);return n&&r&&r===n&&(e=void undefined),!!n},get:function(t){return function(e,t){if(e){var r=o(e,t);return r&&r.value}undefined}(e,t)},has:function(t){return function(e,t){return!!e&&!!o(e,t)}(e,t)},set:function(t,r){e||(e={next:void undefined}),function(e,t,r){var n=o(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t}}}},{package:"string.prototype.matchall>side-channel>side-channel-list",file:"node_modules/side-channel-list/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-map/index.js",{"call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","get-intrinsic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-intrinsic/index.js","object-inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-inspect/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),s=e("call-bound"),o=e("object-inspect"),a=e("es-errors/type"),i=n("%Map%",!0),l=s("Map.prototype.get",!0),u=s("Map.prototype.set",!0),c=s("Map.prototype.has",!0),d=s("Map.prototype.delete",!0),m=s("Map.prototype.size",!0);t.exports=!!i&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+o(e))},delete:function(t){if(e){var r=d(e,t);return 0===m(e)&&(e=void undefined),r}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,r){e||(e=new i),u(e,t,r)}};return t}}}},{package:"string.prototype.matchall>side-channel>side-channel-map",file:"node_modules/side-channel-map/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-weakmap/index.js",{"call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","get-intrinsic":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-intrinsic/index.js","object-inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-inspect/index.js","side-channel-map":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-map/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),s=e("call-bound"),o=e("object-inspect"),a=e("side-channel-map"),i=e("es-errors/type"),l=n("%WeakMap%",!0),u=s("WeakMap.prototype.get",!0),c=s("WeakMap.prototype.set",!0),d=s("WeakMap.prototype.has",!0),m=s("WeakMap.prototype.delete",!0);t.exports=l?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},delete:function(r){if(l&&r&&("object"==typeof r||"function"==typeof r)){if(e)return m(e,r)}else if(a&&t)return t.delete(r);return!1},get:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?u(e,r):t&&t.get(r)},has:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?d(e,r):!!t&&t.has(r)},set:function(r,n){l&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new l),c(e,r,n)):a&&(t||(t=a()),t.set(r,n))}};return r}:a}}},{package:"string.prototype.matchall>side-channel>side-channel-weakmap",file:"node_modules/side-channel-weakmap/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel/index.js",{"es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","object-inspect":"/home/runner/work/metamask-extension/metamask-extension/node_modules/object-inspect/index.js","side-channel-list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-list/index.js","side-channel-map":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-map/index.js","side-channel-weakmap":"/home/runner/work/metamask-extension/metamask-extension/node_modules/side-channel-weakmap/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("es-errors/type"),s=e("object-inspect"),o=e("side-channel-list"),a=e("side-channel-map"),i=e("side-channel-weakmap")||a||o;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+s(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=i()),e.set(t,r)}};return t}}}},{package:"string.prototype.matchall>side-channel",file:"node_modules/side-channel/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/single-call-balance-checker-abi/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=[{payable:!0,stateMutability:"payable",type:"fallback"},{constant:!0,inputs:[{name:"user",type:"address"},{name:"token",type:"address"}],name:"tokenBalance",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"users",type:"address[]"},{name:"tokens",type:"address[]"}],name:"balances",outputs:[{name:"",type:"uint256[]"}],payable:!1,stateMutability:"view",type:"function"}]}}},{package:"@metamask/assets-controllers>single-call-balance-checker-abi",file:"node_modules/single-call-balance-checker-abi/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/client.js",{"./ethersCompat":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/ethersCompat.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/types.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/utils.js","@spruceid/siwe-parser":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/parsers.js","valid-url":"/home/runner/work/metamask-extension/metamask-extension/node_modules/valid-url/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(s,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,i)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.SiweMessage=void 0;const i=e("@spruceid/siwe-parser"),l=o(e("valid-url")),u=e("./ethersCompat"),c=e("./types"),d=e("./utils");r.SiweMessage=class{constructor(e){if("string"==typeof e){const t=new i.ParsedMessage(e);this.scheme=t.scheme,this.domain=t.domain,this.address=t.address,this.statement=t.statement,this.uri=t.uri,this.version=t.version,this.nonce=t.nonce,this.issuedAt=t.issuedAt,this.expirationTime=t.expirationTime,this.notBefore=t.notBefore,this.requestId=t.requestId,this.chainId=t.chainId,this.resources=t.resources}else this.scheme=null==e?void 0:e.scheme,this.domain=e.domain,this.address=e.address,this.statement=null==e?void 0:e.statement,this.uri=e.uri,this.version=e.version,this.chainId=e.chainId,this.nonce=e.nonce,this.issuedAt=null==e?void 0:e.issuedAt,this.expirationTime=null==e?void 0:e.expirationTime,this.notBefore=null==e?void 0:e.notBefore,this.requestId=null==e?void 0:e.requestId,this.resources=null==e?void 0:e.resources,"string"==typeof this.chainId&&(this.chainId=(0,i.parseIntegerNumber)(this.chainId));this.nonce=this.nonce||(0,d.generateNonce)(),this.validateMessage()}toMessage(){this.validateMessage();const e=`${this.scheme?`${this.scheme}://${this.domain}`:this.domain} wants you to sign in with your Ethereum account:`,t=`URI: ${this.uri}`;let r=[e,this.address].join("\n");const n=`Version: ${this.version}`;this.nonce||(this.nonce=(0,d.generateNonce)());const s=[t,n,"Chain ID: "+this.chainId||"1",`Nonce: ${this.nonce}`];if(this.issuedAt=this.issuedAt||(new Date).toISOString(),s.push(`Issued At: ${this.issuedAt}`),this.expirationTime){const e=`Expiration Time: ${this.expirationTime}`;s.push(e)}this.notBefore&&s.push(`Not Before: ${this.notBefore}`),this.requestId&&s.push(`Request ID: ${this.requestId}`),this.resources&&s.push(["Resources:",...this.resources.map(e=>`- ${e}`)].join("\n"));const o=s.join("\n");return r=[r,this.statement].join("\n\n"),this.statement&&(r+="\n"),[r,o].join("\n")}prepareMessage(){let e;return this.version,e=this.toMessage(),e}validate(e,t){return a(this,void 0,void 0,function*(){return console.warn("validate() has been deprecated, please update your code to use verify(). validate() may be removed in future versions."),this.verify({signature:e},{provider:t,suppressExceptions:!1}).then(({data:e})=>e).catch(({error:e})=>{throw e})})}verify(e,t={suppressExceptions:!1}){return a(this,void 0,void 0,function*(){return new Promise((r,n)=>{var s,o,a;const i=e=>t.suppressExceptions?r(e):n(e),l=(0,d.checkInvalidKeys)(e,c.VerifyParamsKeys);l.length>0&&i({success:!1,data:this,error:new Error(`${l.join(", ")} is/are not valid key(s) for VerifyParams.`)});const m=(0,d.checkInvalidKeys)(t,c.VerifyOptsKeys);l.length>0&&i({success:!1,data:this,error:new Error(`${m.join(", ")} is/are not valid key(s) for VerifyOpts.`)});const{signature:f,scheme:h,domain:p,nonce:b,time:g}=e;h&&h!==this.scheme&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.SCHEME_MISMATCH,h,this.scheme)}),p&&p!==this.domain&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.DOMAIN_MISMATCH,p,this.domain)}),b&&b!==this.nonce&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.NONCE_MISMATCH,b,this.nonce)});const w=new Date(g||new Date);if(this.expirationTime){const e=new Date(this.expirationTime);w.getTime()>=e.getTime()&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.EXPIRED_MESSAGE,`${w.toISOString()} < ${e.toISOString()}`,`${w.toISOString()} >= ${e.toISOString()}`)})}if(this.notBefore){const e=new Date(this.notBefore);w.getTime()<e.getTime()&&i({success:!1,data:this,error:new c.SiweError(c.SiweErrorType.NOT_YET_VALID_MESSAGE,`${w.toISOString()} >= ${e.toISOString()}`,`${w.toISOString()} < ${e.toISOString()}`)})}let y,_;try{y=this.prepareMessage()}catch(e){i({success:!1,data:this,error:e})}try{_=(0,u.verifyMessage)(y,f)}catch(e){console.error(e)}if(_===this.address)return r({success:!0,data:this});{const n=(0,d.checkContractWalletSignature)(this,f,t.provider).then(e=>e?{success:!0,data:this}:{success:!1,data:this,error:new c.SiweError(c.SiweErrorType.INVALID_SIGNATURE,_,`Resolved address to be ${this.address}`)}).catch(e=>({success:!1,data:this,error:e}));Promise.all([n,null===(a=null===(o=null===(s=null==t?void 0:t.verificationFallback)||void 0===s?void 0:s.call(t,e,t,this,n))||void 0===o?void 0:o.then(e=>e))||void 0===a?void 0:a.catch(e=>e)]).then(([e,t])=>{if(t){if(t.success)return r(t);i(t)}else{if(e.success)return r(e);i(e)}})}})})}validateMessage(...e){var t;if(e.length>0)throw new c.SiweError(c.SiweErrorType.UNABLE_TO_PARSE,"Unexpected argument in the validateMessage function.");if(!this.domain||0===this.domain.length||!/[^#?]*/.test(this.domain))throw new c.SiweError(c.SiweErrorType.INVALID_DOMAIN,`${this.domain} to be a valid domain.`);if(!(0,i.isEIP55Address)(this.address))throw new c.SiweError(c.SiweErrorType.INVALID_ADDRESS,(0,u.getAddress)(this.address),this.address);if(!l.isUri(this.uri))throw new c.SiweError(c.SiweErrorType.INVALID_URI,`${this.uri} to be a valid uri.`);if("1"!==this.version)throw new c.SiweError(c.SiweErrorType.INVALID_MESSAGE_VERSION,"1",this.version);const r=null===(t=null==this?void 0:this.nonce)||void 0===t?void 0:t.match(/[a-zA-Z0-9]{8,}/);if(!r||this.nonce.length<8||r[0]!==this.nonce)throw new c.SiweError(c.SiweErrorType.INVALID_NONCE,`Length > 8 (${r.length}). Alphanumeric.`,this.nonce);if(this.issuedAt&&!(0,d.isValidISO8601Date)(this.issuedAt))throw new Error(c.SiweErrorType.INVALID_TIME_FORMAT);if(this.expirationTime&&!(0,d.isValidISO8601Date)(this.expirationTime))throw new Error(c.SiweErrorType.INVALID_TIME_FORMAT);if(this.notBefore&&!(0,d.isValidISO8601Date)(this.notBefore))throw new Error(c.SiweErrorType.INVALID_TIME_FORMAT)}}}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/client.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/ethersCompat.js",{ethers:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getAddress=r.hashMessage=r.verifyMessage=void 0;const n=e("ethers");let s=null,o=null,a=null;try{s=n.ethers.utils.verifyMessage,o=n.ethers.utils.hashMessage,a=n.ethers.utils.getAddress}catch(e){s=n.ethers.verifyMessage,o=n.ethers.hashMessage,a=n.ethers.getAddress}r.verifyMessage=s,r.hashMessage=o,r.getAddress=a}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/ethersCompat.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/siwe.js",{"./client":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/client.js","./types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/types.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./client"),r),s(e("./types"),r),s(e("./utils"),r)}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/siwe.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/types.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SiweErrorType=r.SiweError=r.VerifyOptsKeys=r.VerifyParamsKeys=void 0,r.VerifyParamsKeys=["signature","scheme","domain","nonce","time"],r.VerifyOptsKeys=["provider","suppressExceptions","verificationFallback"];r.SiweError=class{constructor(e,t,r){this.type=e,this.expected=t,this.received=r}},function(e){e.EXPIRED_MESSAGE="Expired message.",e.INVALID_DOMAIN="Invalid domain.",e.SCHEME_MISMATCH="Scheme does not match provided scheme for verification.",e.DOMAIN_MISMATCH="Domain does not match provided domain for verification.",e.NONCE_MISMATCH="Nonce does not match provided nonce for verification.",e.INVALID_ADDRESS="Invalid address.",e.INVALID_URI="URI does not conform to RFC 3986.",e.INVALID_NONCE="Nonce size smaller then 8 characters or is not alphanumeric.",e.NOT_YET_VALID_MESSAGE="Message is not valid yet.",e.INVALID_SIGNATURE="Signature does not match address of the message.",e.INVALID_TIME_FORMAT="Invalid time format.",e.INVALID_MESSAGE_VERSION="Invalid message version.",e.UNABLE_TO_PARSE="Unable to parse the message."}(r.SiweErrorType||(r.SiweErrorType={}))}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/types.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/utils.js",{"./ethersCompat":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/dist/ethersCompat.js","@stablelib/random":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@stablelib/random/lib/random.js",ethers:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ethers/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(s,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,i)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.checkInvalidKeys=r.isValidISO8601Date=r.generateNonce=r.checkContractWalletSignature=void 0;const s=e("@stablelib/random"),o=e("ethers"),a=e("./ethersCompat"),i=["function isValidSignature(bytes32 _message, bytes _signature) public view returns (bytes4)"],l=/^(?<date>[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]))[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(.[0-9]+)?(([Zz])|([+|-]([01][0-9]|2[0-3]):[0-5][0-9]))$/;r.checkContractWalletSignature=(e,t,r)=>n(void 0,void 0,void 0,function*(){if(!r)return!1;const n=new o.Contract(e.address,i,r),s=(0,a.hashMessage)(e.prepareMessage());return"0x1626ba7e"===(yield n.isValidSignature(s,t))});r.generateNonce=()=>{const e=(0,s.randomStringForEntropy)(96);if(!e||e.length<8)throw new Error("Error during nonce creation.");return e};r.isValidISO8601Date=e=>{const t=l.exec(e);if(!e)return!1;const r=new Date(t.groups.date).toISOString(),n=l.exec(r);return t.groups.date===n.groups.date};r.checkInvalidKeys=(e,t)=>{const r=[];return Object.keys(e).forEach(e=>{t.includes(e)||r.push(e)}),r}}}},{package:"@metamask/profile-sync-controller>siwe",file:"node_modules/siwe/dist/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/abnf.js",{"./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/utils.js","apg-js/src/apg-api/api":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-api/api.js","apg-js/src/apg-lib/node-exports":"/home/runner/work/metamask-extension/metamask-extension/node_modules/apg-js/src/apg-lib/node-exports.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.ParsedMessage=void 0;const o=s(e("apg-js/src/apg-api/api")),a=s(e("apg-js/src/apg-lib/node-exports")),i=e("./utils");class l{static generateApi(){const e=new o.default('\nsign-in-with-ethereum =\n    [ scheme "://" ] domain %s" wants you to sign in with your Ethereum account:" LF\n    address LF\n    LF\n    [ statement LF ]\n    LF\n    %s"URI: " URI LF\n    %s"Version: " version LF\n    %s"Chain ID: " chain-id LF\n    %s"Nonce: " nonce LF\n    %s"Issued At: " issued-at\n    [ LF %s"Expiration Time: " expiration-time ]\n    [ LF %s"Not Before: " not-before ]\n    [ LF %s"Request ID: " request-id ]\n    [ LF %s"Resources:"\n    resources ]\n\ndomain = authority\n\naddress = "0x" 40*40HEXDIG\n    ; Must also conform to captilization\n    ; checksum encoding specified in EIP-55\n    ; where applicable (EOAs).\n\nstatement = 1*( reserved / unreserved / " " )\n    ; The purpose is to exclude LF (line breaks).\n\nversion = "1"\n\nnonce = 8*( ALPHA / DIGIT )\n\nissued-at = date-time\nexpiration-time = date-time\nnot-before = date-time\n\nrequest-id = *pchar\n\nchain-id = 1*DIGIT\n    ; See EIP-155 for valid CHAIN_IDs.\n\nresources = *( LF resource )\n\nresource = "- " URI\n\n; ------------------------------------------------------------------------------\n; RFC 3986\n\nURI           = scheme ":" hier-part [ "?" query ] [ "#" fragment ]\n\nhier-part     = "//" authority path-abempty\n              / path-absolute\n              / path-rootless\n              / path-empty\n\nscheme        = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )\n\nauthority     = [ userinfo "@" ] host [ ":" port ]\nuserinfo      = *( unreserved / pct-encoded / sub-delims / ":" )\nhost          = IP-literal / IPv4address / reg-name\nport          = *DIGIT\n\nIP-literal    = "[" ( IPv6address / IPvFuture  ) "]"\n\nIPvFuture     = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )\n\nIPv6address   =                            6( h16 ":" ) ls32\n              /                       "::" 5( h16 ":" ) ls32\n              / [               h16 ] "::" 4( h16 ":" ) ls32\n              / [ *1( h16 ":" ) h16 ] "::" 3( h16 ":" ) ls32\n              / [ *2( h16 ":" ) h16 ] "::" 2( h16 ":" ) ls32\n              / [ *3( h16 ":" ) h16 ] "::"    h16 ":"   ls32\n              / [ *4( h16 ":" ) h16 ] "::"              ls32\n              / [ *5( h16 ":" ) h16 ] "::"              h16\n              / [ *6( h16 ":" ) h16 ] "::"\n\nh16           = 1*4HEXDIG\nls32          = ( h16 ":" h16 ) / IPv4address\nIPv4address   = dec-octet "." dec-octet "." dec-octet "." dec-octet\ndec-octet     = DIGIT                 ; 0-9\n                 / %x31-39 DIGIT         ; 10-99\n                 / "1" 2DIGIT            ; 100-199\n                 / "2" %x30-34 DIGIT     ; 200-249\n                 / "25" %x30-35          ; 250-255\n\nreg-name      = *( unreserved / pct-encoded / sub-delims )\n\npath-abempty  = *( "/" segment )\npath-absolute = "/" [ segment-nz *( "/" segment ) ]\npath-rootless = segment-nz *( "/" segment )\npath-empty    = 0pchar\n\nsegment       = *pchar\nsegment-nz    = 1*pchar\n\npchar         = unreserved / pct-encoded / sub-delims / ":" / "@"\n\nquery         = *( pchar / "/" / "?" )\n\nfragment      = *( pchar / "/" / "?" )\n\npct-encoded   = "%" HEXDIG HEXDIG\n\nunreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"\nreserved      = gen-delims / sub-delims\ngen-delims    = ":" / "/" / "?" / "#" / "[" / "]" / "@"\nsub-delims    = "!" / "$" / "&" / "\'" / "(" / ")"\n              / "*" / "+" / "," / ";" / "="\n\n; ------------------------------------------------------------------------------\n; RFC 3339\n\ndate-fullyear   = 4DIGIT\ndate-month      = 2DIGIT  ; 01-12\ndate-mday       = 2DIGIT  ; 01-28, 01-29, 01-30, 01-31 based on\n                          ; month/year\ntime-hour       = 2DIGIT  ; 00-23\ntime-minute     = 2DIGIT  ; 00-59\ntime-second     = 2DIGIT  ; 00-58, 00-59, 00-60 based on leap second\n                          ; rules\ntime-secfrac    = "." 1*DIGIT\ntime-numoffset  = ("+" / "-") time-hour ":" time-minute\ntime-offset     = "Z" / time-numoffset\n\npartial-time    = time-hour ":" time-minute ":" time-second\n                  [time-secfrac]\nfull-date       = date-fullyear "-" date-month "-" date-mday\nfull-time       = partial-time time-offset\n\ndate-time       = full-date "T" full-time\n\n; ------------------------------------------------------------------------------\n; RFC 5234\n\nALPHA          =  %x41-5A / %x61-7A   ; A-Z / a-z\nLF             =  %x0A\n                  ; linefeed\nDIGIT          =  %x30-39\n                  ; 0-9\nHEXDIG         =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n');if(e.generate(),e.errors.length)throw console.error(e.errorsToAscii()),console.error(e.linesToAscii()),console.log(e.displayAttributeErrors()),new Error("ABNF grammar has errors");return e.toObject()}}n=l,l.grammarObj=n.generateApi();r.ParsedMessage=class{constructor(e){const t=new a.default.parser;t.ast=new a.default.ast;const r=a.default.ids;t.ast.callbacks.scheme=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&0===n&&(o.scheme=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks.domain=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.domain=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks.address=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.address=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks.statement=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.statement=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks.uri=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.uri||(o.uri=a.default.utils.charsToString(t,n,s))),i};t.ast.callbacks.version=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.version=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks["chain-id"]=function(e,t,n,s,o){const l=r.SEM_OK;return e===r.SEM_PRE&&(o.chainId=(0,i.parseIntegerNumber)(a.default.utils.charsToString(t,n,s))),l};t.ast.callbacks.nonce=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.nonce=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks["issued-at"]=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.issuedAt=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks["expiration-time"]=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.expirationTime=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks["not-before"]=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.notBefore=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks["request-id"]=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.requestId=a.default.utils.charsToString(t,n,s)),i};t.ast.callbacks.resources=function(e,t,n,s,o){const i=r.SEM_OK;return e===r.SEM_PRE&&(o.resources=a.default.utils.charsToString(t,n,s).slice(3).split("\n- ")),i};const n=t.parse(l.grammarObj,"sign-in-with-ethereum",e);if(!n.success)throw new Error(`Invalid message: ${JSON.stringify(n)}`);const s={};t.ast.translate(s);for(const[e,t]of Object.entries(s))this[e]=t;if(0===this.domain.length)throw new Error("Domain cannot be empty.");if(!(0,i.isEIP55Address)(this.address))throw new Error("Address not conformant to EIP-55.")}}}}},{package:"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser",file:"node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/abnf.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/parsers.js",{"./abnf":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/abnf.js","./utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.ParsedMessage=void 0;const o=e("./abnf");Object.defineProperty(r,"ParsedMessage",{enumerable:!0,get:function(){return o.ParsedMessage}}),s(e("./utils"),r)}}},{package:"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser",file:"node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/parsers.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/utils.js",{"@noble/hashes/sha3":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@noble/hashes/sha3.js","@noble/hashes/utils":"/home/runner/work/metamask-extension/metamask-extension/node_modules/@noble/hashes/utils.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.parseIntegerNumber=r.isEIP55Address=void 0;const n=e("@noble/hashes/sha3"),s=e("@noble/hashes/utils");r.isEIP55Address=e=>{if(42!=e.length)return!1;const t=`${e}`.toLowerCase().replace("0x",""),r=(0,s.bytesToHex)((0,n.keccak_256)(t));let o="0x";for(let e=0;e<t.length;e++)parseInt(r[e],16)>=8?o+=t[e].toUpperCase():o+=t[e];return e===o};r.parseIntegerNumber=e=>{const t=parseInt(e);if(isNaN(t))throw new Error("Invalid number.");if(t===Infinity)throw new Error("Invalid number.");return t}}}},{package:"@metamask/profile-sync-controller>siwe>@spruceid/siwe-parser",file:"node_modules/siwe/node_modules/@spruceid/siwe-parser/dist/utils.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/index.js",{events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","readable-stream/lib/_stream_duplex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js","readable-stream/lib/_stream_passthrough.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_passthrough.js","readable-stream/lib/_stream_readable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js","readable-stream/lib/_stream_transform.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js","readable-stream/lib/_stream_writable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js","readable-stream/lib/internal/streams/end-of-stream.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","readable-stream/lib/internal/streams/pipeline.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=s;var n=e("events").EventEmitter;function s(){n.call(this)}e("inherits")(s,n),s.Readable=e("readable-stream/lib/_stream_readable.js"),s.Writable=e("readable-stream/lib/_stream_writable.js"),s.Duplex=e("readable-stream/lib/_stream_duplex.js"),s.Transform=e("readable-stream/lib/_stream_transform.js"),s.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),s.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),s.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),s.Stream=s,s.prototype.pipe=function(e,t){var r=this;function s(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",s),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",i),r.on("close",l));var a=!1;function i(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",s),e.removeListener("drain",o),r.removeListener("end",i),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}}}},{package:"stream-browserify",file:"node_modules/stream-browserify/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={};function s(e,t,r){r||(r=Error);var s=function(e){var r,n;function s(r,n,s){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,s))||this}return n=e,(r=s).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,s}(r);s.prototype.name=r.name,s.prototype.code=e,n[e]=s}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}s("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),s("ERR_INVALID_ARG_TYPE",function(e,t,r){var n,s,a,i;if("string"==typeof t&&(s="not ",t.substr(!a||a<0?0:+a,s.length)===s)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(r===undefined||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))i="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(l," ").concat(n," ").concat(o(t,"type"))}return i+=". Received type ".concat(typeof r)},TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js",{"./_stream_readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js","./_stream_writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var s=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(u,s);for(var a=n(o.prototype),i=0;i<a.length;i++){var l=a[i];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(e);s.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||r.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_passthrough.js",{"./_stream_transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=s;var n=e("./_stream_transform");function s(e){if(!(this instanceof s))return new s(e);n.call(this,e)}e("inherits")(s,n),s.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/async_iterator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/async_iterator.js","./internal/streams/buffer_list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/from-browser.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;t.exports=j,j.ReadableState=x;e("events").EventEmitter;var s=function(e,t){return e.listeners(t).length},o=e("./internal/streams/stream"),a=e("buffer").Buffer,i=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,u=e("util");l=u&&u.debuglog?u.debuglog("stream"):function(){};var c,d,m,f=e("./internal/streams/buffer_list"),h=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,g=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,y=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(j,o);var k=h.errorOrDestroy,v=["error","close","destroy","pause","resume"];function x(t,r,s){n=n||e("./_stream_duplex"),t=t||{},"boolean"!=typeof s&&(s=r instanceof n),this.objectMode=!!t.objectMode,s&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p(this,t,"readableHighWaterMark",s),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function j(t){if(n=n||e("./_stream_duplex"),!(this instanceof j))return new j(t);var r=this instanceof n;this._readableState=new x(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),o.call(this)}function E(e,t,r,n,s){l("readableAddChunk",t);var o,u=e._readableState;if(null===t)u.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?T(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,u);else if(s||(o=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof i||"string"==typeof t||t===undefined||e.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(u,t)),o)k(e,o);else if(u.objectMode||t&&t.length>0)if("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)u.endEmitted?k(e,new _):S(e,u,t,!0);else if(u.ended)k(e,new w);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?S(e,u,t,!1):P(e,u)):S(e,u,t,!1)}else n||(u.reading=!1,P(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function S(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&T(e)),P(e,t)}Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),j.prototype.destroy=h.destroy,j.prototype._undestroy=h.undestroy,j.prototype._destroy=function(e,t){t(e)},j.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=a.from(e,t),t=""),r=!0),E(this,e,t,!1,r)},j.prototype.unshift=function(e){return E(this,e,null,!0,!1)},j.prototype.isPaused=function(){return!1===this._readableState.flowing},j.prototype.setEncoding=function(t){c||(c=e("string_decoder/").StringDecoder);var r=new c(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,s="";null!==n;)s+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==s&&this._readableState.buffer.push(s),this._readableState.length=s.length,this};var A=1073741824;function R(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function T(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(O,e))}function O(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function P(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(M,e,t))}function M(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(l("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){l("readable nexttick read 0"),e.read(0)}function C(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function U(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick($,t,e))}function $(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}j.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):T(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&U(this),null;var n,s=t.needReadable;return l("need readable",s),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",s=!0),t.ended||t.reading?l("reading or ended",s=!1):s&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=R(r,t))),null===(n=e>0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&U(this)),null!==n&&this.emit("data",n),n},j.prototype._read=function(e){k(this,new y("_read()"))},j.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,l("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:b;function i(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",i),n.removeListener("end",u),n.removeListener("end",b),n.removeListener("data",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){l("onend"),e.end()}o.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",i);var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",c);var d=!1;function m(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==F(o.pipes,e))&&!d&&(l("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function f(t){l("onerror",t),b(),e.removeListener("error",f),0===s(e,"error")&&k(e,t)}function h(){e.removeListener("finish",p),b()}function p(){l("onfinish"),e.removeListener("close",h),b()}function b(){l("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",n),o.flowing||(l("pipe resume"),n.resume()),e},j.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,s=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<s;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},j.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),s=this._readableState;return"data"===e?(s.readableListening=this.listenerCount("readable")>0,!1!==s.flowing&&this.resume()):"readable"===e&&(s.endEmitted||s.readableListening||(s.readableListening=s.needReadable=!0,s.flowing=!1,s.emittedReadable=!1,l("on readable",s.length,s.reading),s.length?T(this):s.reading||r.nextTick(N,this))),n},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(I,this),n},j.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(I,this),t},j.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(C,e,t))}(this,e)),e.paused=!1,this},j.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},j.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var s in e.on("end",function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(s){(l("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!r.objectMode||null!==s&&s!==undefined)&&((r.objectMode||s&&s.length)&&(t.push(s)||(n=!0,e.pause())))}),e)this[s]===undefined&&"function"==typeof e[s]&&(this[s]=function(t){return function(){return e[t].apply(e,arguments)}}(s));for(var o=0;o<v.length;o++)e.on(v[o],this.emit.bind(this,v[o]));return this._read=function(t){l("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(j.prototype[Symbol.asyncIterator]=function(){return d===undefined&&(d=e("./internal/streams/async_iterator")),d(this)}),Object.defineProperty(j.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(j.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(j.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),j._fromList=D,Object.defineProperty(j.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(j.from=function(t,r){return m===undefined&&(m=e("./internal/streams/from")),m(j,t,r)})}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=c;var n=e("../errors").codes,s=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=n.ERR_TRANSFORM_WITH_LENGTH_0,l=e("./_stream_duplex");function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var s=this._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?m(this,null,null):this._flush(function(t,r){m(e,t,r)})}function m(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new i;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new s("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var s=this._readableState;(n.needTransform||s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","util-deprecate":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util-deprecate/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var s=n.callback;t.pendingcb--,s(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var s;t.exports=j,j.WritableState=x;var o={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),i=e("buffer").Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,c=e("./internal/streams/destroy"),d=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,f=m.ERR_INVALID_ARG_TYPE,h=m.ERR_METHOD_NOT_IMPLEMENTED,p=m.ERR_MULTIPLE_CALLBACK,b=m.ERR_STREAM_CANNOT_PIPE,g=m.ERR_STREAM_DESTROYED,w=m.ERR_STREAM_NULL_VALUES,y=m.ERR_STREAM_WRITE_AFTER_END,_=m.ERR_UNKNOWN_ENCODING,k=c.errorOrDestroy;function v(){}function x(t,o,a){s=s||e("./_stream_duplex"),t=t||{},"boolean"!=typeof a&&(a=o instanceof s),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=d(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,s=n.sync,o=n.writecb;if("function"!=typeof o)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,s,o){--t.pendingcb,n?(r.nextTick(o,s),r.nextTick(O,e,t),e._writableState.errorEmitted=!0,k(e,s)):(o(s),e._writableState.errorEmitted=!0,k(e,s),O(e,t))}(e,n,s,t,o);else{var a=R(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||A(e,n),s?r.nextTick(S,e,n,a,o):S(e,n,a,o)}}(o,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function j(t){var r=this instanceof(s=s||e("./_stream_duplex"));if(!r&&!u.call(j,this))return new j(t);this._writableState=new x(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function E(e,t,r,n,s,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(s,t.onwrite):e._write(s,o,t.onwrite),t.sync=!1}function S(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),O(e,t)}function A(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var s=t.bufferedRequestCount,o=new Array(s),a=t.corkedRequestsFree;a.entry=r;for(var i=0,l=!0;r;)o[i]=r,r.isBuf||(l=!1),r=r.next,i+=1;o.allBuffers=l,E(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,c=r.encoding,d=r.callback;if(E(e,t,!1,t.objectMode?1:u.length,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function T(e,t){e._final(function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var n=R(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(T,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var s=e._readableState;(!s||s.autoDestroy&&s.endEmitted)&&e.destroy()}return n}e("inherits")(j,a),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===j&&(e&&e._writableState instanceof x)}})):u=function(e){return e instanceof this},j.prototype.pipe=function(){k(this,new b)},j.prototype.write=function(e,t,n){var s,o=this._writableState,a=!1,u=!o.objectMode&&(s=e,i.isBuffer(s)||s instanceof l);return u&&!i.isBuffer(e)&&(e=function(e){return i.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=v),o.ending?function(e,t){var n=new y;k(e,n),r.nextTick(t,n)}(this,n):(u||function(e,t,n,s){var o;return null===n?o=new w:"string"==typeof n||t.objectMode||(o=new f("chunk",["string","Buffer"],n)),!o||(k(e,o),r.nextTick(s,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,r,n,s,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,r));return t}(t,n,s);n!==a&&(r=!0,s="buffer",n=a)}var l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:s,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else E(e,t,!1,l,n,s,o);return u}(this,o,u,e,t,n)),a},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||A(this,e))},j.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(e,t,r){r(new h("_write()"))},j.prototype._writev=null,j.prototype.end=function(e,t,n){var s=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&e!==undefined&&this.write(e,t),s.corked&&(s.corked=1,this.uncork()),s.ending||function(e,t,n){t.ending=!0,O(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,s,n),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),j.prototype.destroy=c.destroy,j.prototype._undestroy=c.undestroy,j.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/async_iterator.js",{"./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=e("./end-of-stream"),a=Symbol("lastResolve"),i=Symbol("lastReject"),l=Symbol("error"),u=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var r=e[m].read();null!==r&&(e[c]=null,e[a]=null,e[i]=null,t(f(r,!1)))}}function p(e){r.nextTick(h,e)}var b=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((s(n={get stream(){return this[m]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(f(undefined,!0));if(this[m].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[l]?n(e[l]):t(f(undefined,!0))})});var n,s=this[c];if(s)n=new Promise(function(e,t){return function(r,n){e.then(function(){t[u]?r(f(undefined,!0)):t[d](r,n)},n)}}(s,this));else{var o=this[m].read();if(null!==o)return Promise.resolve(f(o,!1));n=new Promise(this[d])}return this[c]=n,n}},Symbol.asyncIterator,function(){return this}),s(n,"return",function(){var e=this;return new Promise(function(t,r){e[m].destroy(null,function(e){e?r(e):t(f(undefined,!0))})})}),n),b);t.exports=function(e){var t,r=Object.create(g,(s(t={},m,{value:e,writable:!0}),s(t,a,{value:null,writable:!0}),s(t,i,{value:null,writable:!0}),s(t,l,{value:null,writable:!0}),s(t,u,{value:e._readableState.endEmitted,writable:!0}),s(t,d,{value:function(e,t){var n=r[m].read();n?(r[c]=null,r[a]=null,r[i]=null,e(f(n,!1))):(r[a]=e,r[i]=t)},writable:!0}),t));return r[c]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[i];return null!==t&&(r[c]=null,r[a]=null,r[i]=null,t(e)),void(r[l]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[i]=null,n(f(undefined,!0))),r[u]=!0}),e.on("readable",p.bind(null,r)),r}}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/async_iterator.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=i(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var l=e("buffer").Buffer,u=e("util").inspect,c=u&&u.custom||"inspect";function d(e,t,r){l.prototype.copy.call(e,t,r)}t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t=l.allocUnsafe(e>>>0),r=this.head,n=0;r;)d(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var s=t.data,o=e>s.length?s.length:e;if(o===s.length?n+=s:n+=s.slice(0,e),0===(e-=o)){o===s.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=s.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(s.copy(t,t.length-e,0,o),0===(e-=o)){o===s.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=s.slice(o));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return u(this,s(s({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function r(e,t){s(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function s(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var a=this,i=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return i||l?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(s,this,t)):e.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function s(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];e.apply(this,n)}}}(o||s);var a=r.readable||!1!==r.readable&&t.readable,i=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){i=!1,u=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,m=function(){a=!1,d=!0,i||o.call(t)},f=function(e){o.call(t,e)},h=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):i&&!u?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},p=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?i&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",c),t.on("abort",h),t.req?p():t.on("request",p)),t.on("end",m),t.on("finish",c),!1!==r.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",c),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",c),t.removeListener("end",m),t.removeListener("error",f),t.removeListener("close",h)}}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/from-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){throw new Error("Readable.from is not available in the browser")}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/from-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;var s=e("../../../errors").codes,o=s.ERR_MISSING_ARGS,a=s.ERR_STREAM_DESTROYED;function i(e){if(e)throw e}function l(e){e()}function u(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];var c,d=function(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new o("streams");var m=r.map(function(t,s){var o=s<r.length-1;return function(t,r,s,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var i=!1;t.on("close",function(){i=!0}),n===undefined&&(n=e("./end-of-stream")),n(t,{readable:r,writable:s},function(e){if(e)return o(e);i=!0,o()});var l=!1;return function(e){if(!i&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,s>0,function(e){c||(c=e),e&&m.forEach(l),o||(m.forEach(l),d(c))})});return r.reduce(u)}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,s){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,s,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(s?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js",{events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("events").EventEmitter}}},{package:"stream-browserify>readable-stream",file:"node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/index.js",{"./lib/request":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/request.js","./lib/response":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/response.js","builtin-status-codes":"/home/runner/work/metamask-extension/metamask-extension/node_modules/builtin-status-codes/browser.js",url:"/home/runner/work/metamask-extension/metamask-extension/node_modules/url/url.js",xtend:"/home/runner/work/metamask-extension/metamask-extension/node_modules/xtend/immutable.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./lib/request"),s=e("./lib/response"),o=e("xtend"),a=e("builtin-status-codes"),i=e("url"),l=r;l.request=function(e,t){e="string"==typeof e?i.parse(e):o(e);var r=-1===global.location.protocol.search(/^https?:$/)?"http:":"",s=e.protocol||r,a=e.hostname||e.host,l=e.port,u=e.path||"/";a&&-1!==a.indexOf(":")&&(a="["+a+"]"),e.url=(a?s+"//"+a:"")+(l?":"+l:"")+u,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var c=new n(e);return t&&c.on("response",t),c},l.get=function(e,t){var r=l.request(e,t);return r.end(),r},l.ClientRequest=n,l.IncomingMessage=s.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=a,l.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}}},{package:"stream-http",file:"node_modules/stream-http/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/capability.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;function s(){if(n!==undefined)return n;if(global.XMLHttpRequest){n=new global.XMLHttpRequest;try{n.open("GET",global.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function o(e){var t=s();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}function a(e){return"function"==typeof e}r.fetch=a(global.fetch)&&a(global.ReadableStream),r.writableStream=a(global.WritableStream),r.abortController=a(global.AbortController),r.arraybuffer=r.fetch||o("arraybuffer"),r.msstream=!r.fetch&&o("ms-stream"),r.mozchunkedarraybuffer=!r.fetch&&o("moz-chunked-arraybuffer"),r.overrideMimeType=r.fetch||!!s()&&a(s().overrideMimeType),n=null}}},{package:"stream-http",file:"node_modules/stream-http/lib/capability.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/request.js",{"./capability":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/capability.js","./response":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/response.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","readable-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/readable-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r,n){(function(){var s=e("./capability"),o=e("inherits"),a=e("./response"),i=e("readable-stream"),l=a.IncomingMessage,u=a.readyStates;var c=t.exports=function(e){var t,r=this;i.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+n.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){r.setHeader(t,e.headers[t])});var o=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!s.abortController)o=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!s.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}r._mode=function(e,t){return s.fetch&&t?"fetch":s.mozchunkedarraybuffer?"moz-chunked-arraybuffer":s.msstream?"ms-stream":s.arraybuffer&&e?"arraybuffer":"text"}(t,o),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",function(){r._onFinish()})};o(c,i.Writable),c.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===d.indexOf(r)&&(this._headers[r]={name:e,value:t})},c.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},c.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},c.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts;"timeout"in t&&0!==t.timeout&&e.setTimeout(t.timeout);var n=e._headers,o=null;"GET"!==t.method&&"HEAD"!==t.method&&(o=new Blob(e._body,{type:(n["content-type"]||{}).value||""}));var a=[];if(Object.keys(n).forEach(function(e){var t=n[e].name,r=n[e].value;Array.isArray(r)?r.forEach(function(e){a.push([t,e])}):a.push([t,r])}),"fetch"===e._mode){var i=null;if(s.abortController){var l=new AbortController;i=l.signal,e._fetchAbortController=l,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=global.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}global.fetch(e._opts.url,{method:e._opts.method,headers:a,body:o||undefined,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:i}).then(function(t){e._fetchResponse=t,e._resetTimers(!1),e._connect()},function(t){e._resetTimers(!0),e._destroyed||e.emit("error",t)})}else{var c=e._xhr=new global.XMLHttpRequest;try{c.open(e._opts.method,e._opts.url,!0)}catch(t){return void r.nextTick(function(){e.emit("error",t)})}"responseType"in c&&(c.responseType=e._mode),"withCredentials"in c&&(c.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(c.timeout=t.requestTimeout,c.ontimeout=function(){e.emit("requestTimeout")}),a.forEach(function(e){c.setRequestHeader(e[0],e[1])}),e._response=null,c.onreadystatechange=function(){switch(c.readyState){case u.LOADING:case u.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(c.onprogress=function(){e._onXHRProgress()}),c.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{c.send(o)}catch(t){return void r.nextTick(function(){e.emit("error",t)})}}}},c.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))},c.prototype._connect=function(){var e=this;e._destroyed||(e._response=new l(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},c.prototype._write=function(e,t,r){this._body.push(e),r()},c.prototype._resetTimers=function(e){var t=this;global.clearTimeout(t._socketTimer),t._socketTimer=null,e?(global.clearTimeout(t._fetchTimer),t._fetchTimer=null):t._socketTimeout&&(t._socketTimer=global.setTimeout(function(){t.emit("timeout")},t._socketTimeout))},c.prototype.abort=c.prototype.destroy=function(e){var t=this;t._destroyed=!0,t._resetTimers(!0),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort(),e&&t.emit("error",e)},c.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=undefined),i.Writable.prototype.end.call(this,e,t,r)},c.prototype.setTimeout=function(e,t){var r=this;t&&r.once("timeout",t),r._socketTimeout=e,r._resetTimers(!1)},c.prototype.flushHeaders=function(){},c.prototype.setNoDelay=function(){},c.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"stream-http",file:"node_modules/stream-http/lib/request.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/response.js",{"./capability":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/lib/capability.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","readable-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/readable-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t,n){(function(){var s=e("./capability"),o=e("inherits"),a=e("readable-stream"),i=r.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=r.IncomingMessage=function(e,r,o,i){var l=this;if(a.Readable.call(l),l._mode=o,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",function(){t.nextTick(function(){l.emit("close")})}),"fetch"===o){if(l._fetchResponse=r,l.url=r.url,l.statusCode=r.status,l.statusMessage=r.statusText,r.headers.forEach(function(e,t){l.headers[t.toLowerCase()]=e,l.rawHeaders.push(t,e)}),s.writableStream){var u=new WritableStream({write:function(e){return i(!1),new Promise(function(t,r){l._destroyed?r():l.push(n.from(e))?t():l._resumeFetch=t})},close:function(){i(!0),l._destroyed||l.push(null)},abort:function(e){i(!0),l._destroyed||l.emit("error",e)}});try{return void r.body.pipeTo(u).catch(function(e){i(!0),l._destroyed||l.emit("error",e)})}catch(h){}}var c=r.body.getReader();function f(){c.read().then(function(e){l._destroyed||(i(e.done),e.done?l.push(null):(l.push(n.from(e.value)),f()))}).catch(function(e){i(!0),l._destroyed||l.emit("error",e)})}f()}else{if(l._xhr=e,l._pos=0,l.url=e.responseURL,l.statusCode=e.status,l.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(l.headers[r]===undefined&&(l.headers[r]=[]),l.headers[r].push(t[2])):l.headers[r]!==undefined?l.headers[r]+=", "+t[2]:l.headers[r]=t[2],l.rawHeaders.push(t[1],t[2])}}),l._charset="x-user-defined",!s.overrideMimeType){var d=l.rawHeaders["mime-type"];if(d){var m=d.match(/;\s*charset=([^;])(;|$)/);m&&(l._charset=m[1].toLowerCase())}l._charset||(l._charset="utf-8")}}};o(l,a.Readable),l.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},l.prototype._onXHRProgress=function(e){var t=this,r=t._xhr,s=null;switch(t._mode){case"text":if((s=r.responseText).length>t._pos){var o=s.substr(t._pos);if("x-user-defined"===t._charset){for(var a=n.alloc(o.length),l=0;l<o.length;l++)a[l]=255&o.charCodeAt(l);t.push(a)}else t.push(o,t._charset);t._pos=s.length}break;case"arraybuffer":if(r.readyState!==i.DONE||!r.response)break;s=r.response,t.push(n.from(new Uint8Array(s)));break;case"moz-chunked-arraybuffer":if(s=r.response,r.readyState!==i.LOADING||!s)break;t.push(n.from(new Uint8Array(s)));break;case"ms-stream":if(s=r.response,r.readyState!==i.LOADING)break;var u=new global.MSStreamReader;u.onprogress=function(){u.result.byteLength>t._pos&&(t.push(n.from(new Uint8Array(u.result.slice(t._pos)))),t._pos=u.result.byteLength)},u.onload=function(){e(!0),t.push(null)},u.readAsArrayBuffer(s)}t._xhr.readyState===i.DONE&&"ms-stream"!==t._mode&&(e(!0),t.push(null))}}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"stream-http",file:"node_modules/stream-http/lib/response.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={};function s(e,t,r){r||(r=Error);var s=function(e){var r,n;function s(r,n,s){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,s))||this}return n=e,(r=s).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,s}(r);s.prototype.name=r.name,s.prototype.code=e,n[e]=s}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}s("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),s("ERR_INVALID_ARG_TYPE",function(e,t,r){var n,s,a,i;if("string"==typeof t&&(s="not ",t.substr(!a||a<0?0:+a,s.length)===s)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(r===undefined||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))i="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(l," ").concat(n," ").concat(o(t,"type"))}return i+=". Received type ".concat(typeof r)},TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/errors-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js",{"./_stream_readable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js","./_stream_writable":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var s=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(u,s);for(var a=n(o.prototype),i=0;i<a.length;i++){var l=a[i];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(e);s.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||r.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js",{"./_stream_transform":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=s;var n=e("./_stream_transform");function s(e){if(!(this instanceof s))return new s(e);n.call(this,e)}e("inherits")(s,n),s.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/async_iterator":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/async_iterator.js","./internal/streams/buffer_list":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/from":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/from-browser.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","string_decoder/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;t.exports=j,j.ReadableState=x;e("events").EventEmitter;var s=function(e,t){return e.listeners(t).length},o=e("./internal/streams/stream"),a=e("buffer").Buffer,i=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,u=e("util");l=u&&u.debuglog?u.debuglog("stream"):function(){};var c,d,m,f=e("./internal/streams/buffer_list"),h=e("./internal/streams/destroy"),p=e("./internal/streams/state").getHighWaterMark,b=e("../errors").codes,g=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,y=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(j,o);var k=h.errorOrDestroy,v=["error","close","destroy","pause","resume"];function x(t,r,s){n=n||e("./_stream_duplex"),t=t||{},"boolean"!=typeof s&&(s=r instanceof n),this.objectMode=!!t.objectMode,s&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p(this,t,"readableHighWaterMark",s),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=e("string_decoder/").StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function j(t){if(n=n||e("./_stream_duplex"),!(this instanceof j))return new j(t);var r=this instanceof n;this._readableState=new x(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),o.call(this)}function E(e,t,r,n,s){l("readableAddChunk",t);var o,u=e._readableState;if(null===t)u.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?T(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,u);else if(s||(o=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof i||"string"==typeof t||t===undefined||e.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(u,t)),o)k(e,o);else if(u.objectMode||t&&t.length>0)if("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)u.endEmitted?k(e,new _):S(e,u,t,!0);else if(u.ended)k(e,new w);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?S(e,u,t,!1):P(e,u)):S(e,u,t,!1)}else n||(u.reading=!1,P(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function S(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&T(e)),P(e,t)}Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==undefined&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),j.prototype.destroy=h.destroy,j.prototype._undestroy=h.undestroy,j.prototype._destroy=function(e,t){t(e)},j.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=a.from(e,t),t=""),r=!0),E(this,e,t,!1,r)},j.prototype.unshift=function(e){return E(this,e,null,!0,!1)},j.prototype.isPaused=function(){return!1===this._readableState.flowing},j.prototype.setEncoding=function(t){c||(c=e("string_decoder/").StringDecoder);var r=new c(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,s="";null!==n;)s+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==s&&this._readableState.buffer.push(s),this._readableState.length=s.length,this};var A=1073741824;function R(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function T(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(O,e))}function O(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function P(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(M,e,t))}function M(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(l("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){l("readable nexttick read 0"),e.read(0)}function C(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function U(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick($,t,e))}function $(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}j.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):T(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&U(this),null;var n,s=t.needReadable;return l("need readable",s),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",s=!0),t.ended||t.reading?l("reading or ended",s=!1):s&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=R(r,t))),null===(n=e>0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&U(this)),null!==n&&this.emit("data",n),n},j.prototype._read=function(e){k(this,new y("_read()"))},j.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,l("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:b;function i(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",i),n.removeListener("end",u),n.removeListener("end",b),n.removeListener("data",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){l("onend"),e.end()}o.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",i);var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",c);var d=!1;function m(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==F(o.pipes,e))&&!d&&(l("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function f(t){l("onerror",t),b(),e.removeListener("error",f),0===s(e,"error")&&k(e,t)}function h(){e.removeListener("finish",p),b()}function p(){l("onfinish"),e.removeListener("close",h),b()}function b(){l("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",n),o.flowing||(l("pipe resume"),n.resume()),e},j.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,s=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<s;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},j.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),s=this._readableState;return"data"===e?(s.readableListening=this.listenerCount("readable")>0,!1!==s.flowing&&this.resume()):"readable"===e&&(s.endEmitted||s.readableListening||(s.readableListening=s.needReadable=!0,s.flowing=!1,s.emittedReadable=!1,l("on readable",s.length,s.reading),s.length?T(this):s.reading||r.nextTick(N,this))),n},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(I,this),n},j.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||r.nextTick(I,this),t},j.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(C,e,t))}(this,e)),e.paused=!1,this},j.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},j.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var s in e.on("end",function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(s){(l("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!r.objectMode||null!==s&&s!==undefined)&&((r.objectMode||s&&s.length)&&(t.push(s)||(n=!0,e.pause())))}),e)this[s]===undefined&&"function"==typeof e[s]&&(this[s]=function(t){return function(){return e[t].apply(e,arguments)}}(s));for(var o=0;o<v.length;o++)e.on(v[o],this.emit.bind(this,v[o]));return this._read=function(t){l("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(j.prototype[Symbol.asyncIterator]=function(){return d===undefined&&(d=e("./internal/streams/async_iterator")),d(this)}),Object.defineProperty(j.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(j.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(j.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),j._fromList=D,Object.defineProperty(j.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(j.from=function(t,r){return m===undefined&&(m=e("./internal/streams/from")),m(j,t,r)})}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=c;var n=e("../errors").codes,s=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=n.ERR_TRANSFORM_WITH_LENGTH_0,l=e("./_stream_duplex");function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var s=this._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?m(this,null,null):this._flush(function(t,r){m(e,t,r)})}function m(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new i;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new s("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var s=this._readableState;(n.needTransform||s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js",{"../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js","./_stream_duplex":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js","./internal/streams/destroy":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js","./internal/streams/state":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js","./internal/streams/stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js","util-deprecate":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util-deprecate/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var s=n.callback;t.pendingcb--,s(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var s;t.exports=j,j.WritableState=x;var o={deprecate:e("util-deprecate")},a=e("./internal/streams/stream"),i=e("buffer").Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,c=e("./internal/streams/destroy"),d=e("./internal/streams/state").getHighWaterMark,m=e("../errors").codes,f=m.ERR_INVALID_ARG_TYPE,h=m.ERR_METHOD_NOT_IMPLEMENTED,p=m.ERR_MULTIPLE_CALLBACK,b=m.ERR_STREAM_CANNOT_PIPE,g=m.ERR_STREAM_DESTROYED,w=m.ERR_STREAM_NULL_VALUES,y=m.ERR_STREAM_WRITE_AFTER_END,_=m.ERR_UNKNOWN_ENCODING,k=c.errorOrDestroy;function v(){}function x(t,o,a){s=s||e("./_stream_duplex"),t=t||{},"boolean"!=typeof a&&(a=o instanceof s),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=d(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,s=n.sync,o=n.writecb;if("function"!=typeof o)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,s,o){--t.pendingcb,n?(r.nextTick(o,s),r.nextTick(O,e,t),e._writableState.errorEmitted=!0,k(e,s)):(o(s),e._writableState.errorEmitted=!0,k(e,s),O(e,t))}(e,n,s,t,o);else{var a=R(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||A(e,n),s?r.nextTick(S,e,n,a,o):S(e,n,a,o)}}(o,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function j(t){var r=this instanceof(s=s||e("./_stream_duplex"));if(!r&&!u.call(j,this))return new j(t);this._writableState=new x(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function E(e,t,r,n,s,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(s,t.onwrite):e._write(s,o,t.onwrite),t.sync=!1}function S(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),O(e,t)}function A(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var s=t.bufferedRequestCount,o=new Array(s),a=t.corkedRequestsFree;a.entry=r;for(var i=0,l=!0;r;)o[i]=r,r.isBuf||(l=!1),r=r.next,i+=1;o.allBuffers=l,E(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,c=r.encoding,d=r.callback;if(E(e,t,!1,t.objectMode?1:u.length,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function T(e,t){e._final(function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var n=R(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(T,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var s=e._readableState;(!s||s.autoDestroy&&s.endEmitted)&&e.destroy()}return n}e("inherits")(j,a),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||this===j&&(e&&e._writableState instanceof x)}})):u=function(e){return e instanceof this},j.prototype.pipe=function(){k(this,new b)},j.prototype.write=function(e,t,n){var s,o=this._writableState,a=!1,u=!o.objectMode&&(s=e,i.isBuffer(s)||s instanceof l);return u&&!i.isBuffer(e)&&(e=function(e){return i.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=v),o.ending?function(e,t){var n=new y;k(e,n),r.nextTick(t,n)}(this,n):(u||function(e,t,n,s){var o;return null===n?o=new w:"string"==typeof n||t.objectMode||(o=new f("chunk",["string","Buffer"],n)),!o||(k(e,o),r.nextTick(s,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,r,n,s,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,r));return t}(t,n,s);n!==a&&(r=!0,s="buffer",n=a)}var l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:s,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else E(e,t,!1,l,n,s,o);return u}(this,o,u,e,t,n)),a},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||A(this,e))},j.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(e,t,r){r(new h("_write()"))},j.prototype._writev=null,j.prototype.end=function(e,t,n){var s=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&e!==undefined&&this.write(e,t),s.corked&&(s.corked=1,this.uncork()),s.ending||function(e,t,n){t.ending=!0,O(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,s,n),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),j.prototype.destroy=c.destroy,j.prototype._undestroy=c.undestroy,j.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/async_iterator.js",{"./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n;function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=e("./end-of-stream"),a=Symbol("lastResolve"),i=Symbol("lastReject"),l=Symbol("error"),u=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),m=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var r=e[m].read();null!==r&&(e[c]=null,e[a]=null,e[i]=null,t(f(r,!1)))}}function p(e){r.nextTick(h,e)}var b=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((s(n={get stream(){return this[m]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(f(undefined,!0));if(this[m].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[l]?n(e[l]):t(f(undefined,!0))})});var n,s=this[c];if(s)n=new Promise(function(e,t){return function(r,n){e.then(function(){t[u]?r(f(undefined,!0)):t[d](r,n)},n)}}(s,this));else{var o=this[m].read();if(null!==o)return Promise.resolve(f(o,!1));n=new Promise(this[d])}return this[c]=n,n}},Symbol.asyncIterator,function(){return this}),s(n,"return",function(){var e=this;return new Promise(function(t,r){e[m].destroy(null,function(e){e?r(e):t(f(undefined,!0))})})}),n),b);t.exports=function(e){var t,r=Object.create(g,(s(t={},m,{value:e,writable:!0}),s(t,a,{value:null,writable:!0}),s(t,i,{value:null,writable:!0}),s(t,l,{value:null,writable:!0}),s(t,u,{value:e._readableState.endEmitted,writable:!0}),s(t,d,{value:function(e,t){var n=r[m].read();n?(r[c]=null,r[a]=null,r[i]=null,e(f(n,!1))):(r[a]=e,r[i]=t)},writable:!0}),t));return r[c]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[i];return null!==t&&(r[c]=null,r[a]=null,r[i]=null,t(e)),void(r[l]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[i]=null,n(f(undefined,!0))),r[u]=!0}),e.on("readable",p.bind(null,r)),r}}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/async_iterator.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/buffer_list.js",{buffer:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browserify/node_modules/buffer/index.js",util:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=i(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var l=e("buffer").Buffer,u=e("util").inspect,c=u&&u.custom||"inspect";function d(e,t,r){l.prototype.copy.call(e,t,r)}t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t=l.allocUnsafe(e>>>0),r=this.head,n=0;r;)d(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var s=t.data,o=e>s.length?s.length:e;if(o===s.length?n+=s:n+=s.slice(0,e),0===(e-=o)){o===s.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=s.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(s.copy(t,t.length-e,0,o),0===(e-=o)){o===s.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=s.slice(o));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return u(this,s(s({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js",{_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function r(e,t){s(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function s(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var a=this,i=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return i||l?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(s,this,t)):e.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function s(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];e.apply(this,n)}}}(o||s);var a=r.readable||!1!==r.readable&&t.readable,i=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){i=!1,u=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,m=function(){a=!1,d=!0,i||o.call(t)},f=function(e){o.call(t,e)},h=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):i&&!u?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},p=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?i&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",c),t.on("abort",h),t.req?p():t.on("request",p)),t.on("end",m),t.on("finish",c),!1!==r.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",c),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",c),t.removeListener("end",m),t.removeListener("error",f),t.removeListener("close",h)}}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/from-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){throw new Error("Readable.from is not available in the browser")}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/from-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/pipeline.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js","./end-of-stream":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;var s=e("../../../errors").codes,o=s.ERR_MISSING_ARGS,a=s.ERR_STREAM_DESTROYED;function i(e){if(e)throw e}function l(e){e()}function u(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];var c,d=function(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new o("streams");var m=r.map(function(t,s){var o=s<r.length-1;return function(t,r,s,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var i=!1;t.on("close",function(){i=!0}),n===undefined&&(n=e("./end-of-stream")),n(t,{readable:r,writable:s},function(e){if(e)return o(e);i=!0,o()});var l=!1;return function(e){if(!i&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,s>0,function(e){c||(c=e),e&&m.forEach(l),o||(m.forEach(l),d(c))})});return r.reduce(u)}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js",{"../../../errors":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/errors-browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,s){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,s,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(s?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js",{events:"/home/runner/work/metamask-extension/metamask-extension/node_modules/events/events.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("events").EventEmitter}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/readable-browser.js",{"./lib/_stream_duplex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js","./lib/_stream_passthrough.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js","./lib/_stream_readable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js","./lib/_stream_transform.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js","./lib/_stream_writable.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js","./lib/internal/streams/end-of-stream.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./lib/internal/streams/pipeline.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/pipeline.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js"),r.finished=e("./lib/internal/streams/end-of-stream.js"),r.pipeline=e("./lib/internal/streams/pipeline.js")}}},{package:"stream-http>readable-stream",file:"node_modules/stream-http/node_modules/readable-stream/readable-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/string_decoder/lib/string_decoder.js",{"safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,s=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=i,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=m,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return r!==undefined?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function m(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}r.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var s=a(t[n]);if(s>=0)return s>0&&(e.lastNeed=s-1),s;if(--n<r||-2===s)return 0;if(s=a(t[n]),s>=0)return s>0&&(e.lastNeed=s-2),s;if(--n<r||-2===s)return 0;if(s=a(t[n]),s>=0)return s>0&&(2===s?s=0:e.lastNeed=s-3),s;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}},{package:"browserify>string_decoder",file:"node_modules/string_decoder/lib/string_decoder.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/strip-hex-prefix/src/index.js",{"is-hex-prefixed":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-hex-prefixed/src/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-hex-prefixed");t.exports=function(e){return"string"!=typeof e?e:n(e)?e.slice(2):e}}}},{package:"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>strip-hex-prefix",file:"node_modules/strip-hex-prefix/src/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/tailwind-merge/dist/bundle-cjs.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const n=e=>{const t=i(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),s(r,t)||a(e)},getConflictingClassGroupIds:(e,t)=>{const s=r[e]||[];return t&&n[e]?[...s,...n[e]]:s}}},s=(e,t)=>{if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?s(e.slice(1),n):undefined;if(o)return o;if(0===t.validators.length)return undefined;const a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},o=/^\[(.+)\]$/,a=e=>{if(o.test(e)){const t=o.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},i=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return d(Object.entries(e.classGroups),r).forEach(([e,r])=>{l(r,n,e,t)}),n},l=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:u(t,e)).classGroupId=r)}if("function"==typeof e)return c(e)?void l(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach(([e,s])=>{l(s,u(t,e),r,n)})})},u=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},c=e=>e.isThemeGetter,d=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,m=e=>{if(e<1)return{get:()=>undefined,set:()=>{}};let t=0,r=new Map,n=new Map;const s=(s,o)=>{r.set(s,o),t++,t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return t!==undefined?t:(t=n.get(e))!==undefined?(s(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):s(e,t)}}},f=e=>{const{separator:t,experimentalParseClassName:r}=e,n=1===t.length,s=t[0],o=t.length,a=e=>{const r=[];let a,i=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===i){if(c===s&&(n||e.slice(u,u+o)===t)){r.push(e.slice(l,u)),l=u+o;continue}if("/"===c){a=u;continue}}"["===c?i++:"]"===c&&i--}const u=0===r.length?e:e.substring(l),c=u.startsWith("!");return{modifiers:r,hasImportantModifier:c,baseClassName:c?u.substring(1):u,maybePostfixModifierPosition:a&&a>l?a-l:undefined}};return r?e=>r({className:e,parseClassName:a}):a},h=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},p=/\s+/;function b(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=g(e))&&(n&&(n+=" "),n+=t);return n}const g=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=g(e[n]))&&(r&&(r+=" "),r+=t);return r};function w(e,...t){let r,s,o,a=function(l){const u=t.reduce((e,t)=>t(e),e());return r=(e=>({cache:m(e.cacheSize),parseClassName:f(e),...n(e)}))(u),s=r.cache.get,o=r.cache.set,a=i,i(l)};function i(e){const t=s(e);if(t)return t;const n=((e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(p);let i="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{modifiers:l,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:d}=r(t);let m=Boolean(d),f=n(m?c.substring(0,d):c);if(!f){if(!m){i=t+(i.length>0?" "+i:i);continue}if(f=n(c),!f){i=t+(i.length>0?" "+i:i);continue}m=!1}const p=h(l).join(":"),b=u?p+"!":p,g=b+f;if(o.includes(g))continue;o.push(g);const w=s(f,m);for(let e=0;e<w.length;++e){const t=w[e];o.push(b+t)}i=t+(i.length>0?" "+i:i)}return i})(e,r);return o(e,n),n}return function(){return a(b.apply(null,arguments))}}const y=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},_=/^\[(?:([a-z-]+):)?(.+)\]$/i,k=/^\d+\/\d+$/,v=new Set(["px","full","screen"]),x=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,j=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,S=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,A=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>O(e)||v.has(e)||k.test(e),T=e=>q(e,"length",H),O=e=>Boolean(e)&&!Number.isNaN(Number(e)),P=e=>q(e,"number",O),M=e=>Boolean(e)&&Number.isInteger(Number(e)),I=e=>e.endsWith("%")&&O(e.slice(0,-1)),N=e=>_.test(e),C=e=>x.test(e),L=new Set(["length","size","percentage"]),D=e=>q(e,L,z),U=e=>q(e,"position",z),$=new Set(["image","url"]),F=e=>q(e,$,G),B=e=>q(e,"",V),W=()=>!0,q=(e,t,r)=>{const n=_.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},H=e=>j.test(e)&&!E.test(e),z=()=>!1,V=e=>S.test(e),G=e=>A.test(e),K=Object.defineProperty({__proto__:null,isAny:W,isArbitraryImage:F,isArbitraryLength:T,isArbitraryNumber:P,isArbitraryPosition:U,isArbitraryShadow:B,isArbitrarySize:D,isArbitraryValue:N,isInteger:M,isLength:R,isNumber:O,isPercent:I,isTshirtSize:C},Symbol.toStringTag,{value:"Module"}),Y=()=>{const e=y("colors"),t=y("spacing"),r=y("blur"),n=y("brightness"),s=y("borderColor"),o=y("borderRadius"),a=y("borderSpacing"),i=y("borderWidth"),l=y("contrast"),u=y("grayscale"),c=y("hueRotate"),d=y("invert"),m=y("gap"),f=y("gradientColorStops"),h=y("gradientColorStopPositions"),p=y("inset"),b=y("margin"),g=y("opacity"),w=y("padding"),_=y("saturate"),k=y("scale"),v=y("sepia"),x=y("skew"),j=y("space"),E=y("translate"),S=()=>["auto",N,t],A=()=>[N,t],L=()=>["",R,T],$=()=>["auto",O,N],q=()=>["","0",N],H=()=>[O,N];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[R,T],blur:["none","",C,N],brightness:H(),borderColor:[e],borderRadius:["none","","full",C,N],borderSpacing:A(),borderWidth:L(),contrast:H(),grayscale:q(),hueRotate:H(),invert:q(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[I,T],inset:S(),margin:S(),opacity:H(),padding:A(),saturate:H(),scale:H(),sepia:q(),skew:H(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[C]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",N]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",M,N]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",M,N]}],"grid-cols":[{"grid-cols":[W]}],"col-start-end":[{col:["auto",{span:["full",M,N]},N]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[W]}],"row-start-end":[{row:["auto",{span:[M,N]},N]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[C]},C]}],h:[{h:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",C,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",P]}],"font-family":[{font:[W]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",O,P]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,T]}],"underline-offset":[{"underline-offset":["auto",R,N]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",U]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",D]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},F]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[R,N]}],"outline-w":[{outline:[R,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[R,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",C,B]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",C,N]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[_]}],sepia:[{sepia:[v]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[v]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[M,N]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,T,P]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},X=(e,{cacheSize:t,prefix:r,separator:n,experimentalParseClassName:s,extend:o={},override:a={}})=>{Z(e,"cacheSize",t),Z(e,"prefix",r),Z(e,"separator",n),Z(e,"experimentalParseClassName",s);for(const t in a)J(e[t],a[t]);for(const t in o)Q(e[t],o[t]);return e},Z=(e,t,r)=>{r!==undefined&&(e[t]=r)},J=(e,t)=>{if(t)for(const r in t)Z(e,r,t[r])},Q=(e,t)=>{if(t)for(const r in t){const n=t[r];n!==undefined&&(e[r]=(e[r]||[]).concat(n))}},ee=w(Y);r.createTailwindMerge=w,r.extendTailwindMerge=(e,...t)=>"function"==typeof e?w(Y,e,...t):w(()=>X(Y(),e),...t),r.fromTheme=y,r.getDefaultConfig=Y,r.mergeConfigs=X,r.twJoin=b,r.twMerge=ee,r.validators=K}}},{package:"@metamask/design-system-react>tailwind-merge",file:"node_modules/tailwind-merge/dist/bundle-cjs.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/to-buffer/index.js",{isarray:"/home/runner/work/metamask-extension/metamask-extension/node_modules/isarray/index.js","safe-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/safe-buffer/index.js","typed-array-buffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/typed-array-buffer/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,s=e("isarray"),o=e("typed-array-buffer"),a=ArrayBuffer.isView||function(e){try{return o(e),!0}catch(e){return!1}},i="undefined"!=typeof Uint8Array,l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,u=l&&(n.prototype instanceof Uint8Array||n.TYPED_ARRAY_SUPPORT);t.exports=function(e,t){if(e instanceof n)return e;if("string"==typeof e)return n.from(e,t);if(l&&a(e)){if(0===e.byteLength)return n.alloc(0);if(u){var r=n.from(e.buffer,e.byteOffset,e.byteLength);if(r.byteLength===e.byteLength)return r}var o=e instanceof Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength),c=n.from(o);if(c.length===e.byteLength)return c}if(i&&e instanceof Uint8Array)return n.from(e);var d=s(e);if(d)for(var m=0;m<e.length;m+=1){var f=e[m];if("number"!=typeof f||f<0||f>255||~~f!==f)throw new RangeError("Array items must be numbers in the range 0-255.")}if(d||n.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return n.from(e);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}}}},{package:"@ngraveio/bc-ur>sha.js>to-buffer",file:"node_modules/to-buffer/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,o,a,i,l,u,c,d,m,f,h,p,b,g,w,y,_,k,v,x,j,E,S,A,R,T,O,P,M,I;!function(e){var r="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function n(e,t){return e!==r&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(r,n){return e[r]=t?t(r,n):n}}"function"==typeof define&&define.amd?define("tslib",["exports"],function(t){e(n(r,n(t)))}):"object"==typeof t&&"object"==typeof t.exports?e(n(r,n(t.exports))):e(n(r))}(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])};n=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)},s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]])}return r},a=function(e,t,r,n){var s,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(s=e[i])&&(a=(o<3?s(a):o>3?s(t,r,a):s(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=function(e,t){return function(r,n){t(r,n,e)}},l=function(e,t,r,n,s,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var i,l=n.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?n.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),m=!1,f=r.length-1;f>=0;f--){var h={};for(var p in n)h[p]="access"===p?{}:n[p];for(var p in n.access)h.access[p]=n.access[p];h.addInitializer=function(e){if(m)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var b=(0,r[f])("accessor"===l?{get:d.get,set:d.set}:d[u],h);if("accessor"===l){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(i=a(b.get))&&(d.get=i),(i=a(b.set))&&(d.set=i),(i=a(b.init))&&s.unshift(i)}else(i=a(b))&&("field"===l?s.unshift(i):d[u]=i)}c&&Object.defineProperty(c,n.name,d),m=!0},u=function(e,t,r){for(var n=arguments.length>2,s=0;s<t.length;s++)r=n?t[s].call(e,r):t[s].call(e);return n?r:void 0},c=function(e){return"symbol"==typeof e?e:"".concat(e)},d=function(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},f=function(e,t,r,n){return new(r||(r=Promise))(function(s,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,i)}l((n=n.apply(e,t||[])).next())})},h=function(e,t){var r,n,s,o,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(i){return function(l){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,i[0]&&(a=0)),a;)try{if(r=1,n&&(s=2&i[0]?n.return:i[0]?n.throw||((s=n.return)&&s.call(n),0):n.next)&&!(s=s.call(n,i[1])).done)return s;switch(n=0,s&&(i=[2&i[0],s.value]),i[0]){case 0:case 1:s=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(s=a.trys,(s=s.length>0&&s[s.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!s||i[1]>s[0]&&i[1]<s[3])){a.label=i[1];break}if(6===i[0]&&a.label<s[1]){a.label=s[1],s=i;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(i);break}s[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=s=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},p=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||P(t,e,r)},P=Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]},b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,s,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){s={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(s)throw s.error}}return a},w=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e},y=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),s=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,i=o.length;a<i;a++,s++)n[s]=o[a];return n},_=function(e,t,r){if(r||2===arguments.length)for(var n,s=0,o=t.length;s<o;s++)!n&&s in t||(n||(n=Array.prototype.slice.call(t,0,s)),n[s]=t[s]);return e.concat(n||Array.prototype.slice.call(t))},k=function(e){return this instanceof k?(this.v=e,this):new k(e)},v=function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,s=r.apply(e,t||[]),o=[];return n={},a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){s[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||i(e,t)})},t&&(n[e]=t(n[e])))}function i(e,t){try{(r=s[e](t)).value instanceof k?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}var r}function l(e){i("next",e)}function u(e){i("throw",e)}function c(e,t){e(t),o.shift(),o.length&&i(o[0][0],o[0][1])}},x=function(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,s){t[n]=e[n]?function(t){return(r=!r)?{value:k(e[n](t)),done:!1}:s?s(t):t}:s}},j=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=b(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,s){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,s,(t=e[r](t)).done,t.value)})}}},E=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};S=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&P(t,e,n);return r(t,e),t},A=function(e){return e&&e.__esModule?e:{default:e}},R=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},T=function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},O=function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)},M=function(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,s;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(s=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");s&&(n=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t};var N="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};I=function(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var s=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(s).then(r,function(e){return t(e),r()})}catch(e){t(e)}}if(e.hasError)throw e.error}()},e("__extends",n),e("__assign",s),e("__rest",o),e("__decorate",a),e("__param",i),e("__esDecorate",l),e("__runInitializers",u),e("__propKey",c),e("__setFunctionName",d),e("__metadata",m),e("__awaiter",f),e("__generator",h),e("__exportStar",p),e("__createBinding",P),e("__values",b),e("__read",g),e("__spread",w),e("__spreadArrays",y),e("__spreadArray",_),e("__await",k),e("__asyncGenerator",v),e("__asyncDelegator",x),e("__asyncValues",j),e("__makeTemplateObject",E),e("__importStar",S),e("__importDefault",A),e("__classPrivateFieldGet",R),e("__classPrivateFieldSet",T),e("__classPrivateFieldIn",O),e("__addDisposableResource",M),e("__disposeResources",I)})}}},{package:"tslib",file:"node_modules/tslib/tslib.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/tweetnacl/nacl-fast.js",{crypto:"/home/runner/work/metamask-extension/metamask-extension/node_modules/browser-resolve/empty.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(t){var r=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},n=function(){throw new Error("no PRNG")},s=new Uint8Array(16),o=new Uint8Array(32);o[0]=9;var a=r(),i=r([1]),l=r([56129,1]),u=r([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),c=r([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),d=r([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),m=r([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),f=r([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function h(e,t,r,n){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function p(e,t,r,n,s){var o,a=0;for(o=0;o<s;o++)a|=e[t+o]^r[n+o];return(1&a-1>>>8)-1}function b(e,t,r,n){return p(e,t,r,n,16)}function g(e,t,r,n){return p(e,t,r,n,32)}function w(e,t,r,n){!function(e,t,r,n){for(var s,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,i=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,c=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,m=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,f=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,p=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,b=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,g=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,w=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,y=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,_=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,k=o,v=a,x=i,j=l,E=u,S=c,A=d,R=m,T=f,O=h,P=p,M=b,I=g,N=w,C=y,L=_,D=0;D<20;D+=2)k^=(s=(I^=(s=(T^=(s=(E^=(s=k+I|0)<<7|s>>>25)+k|0)<<9|s>>>23)+E|0)<<13|s>>>19)+T|0)<<18|s>>>14,S^=(s=(v^=(s=(N^=(s=(O^=(s=S+v|0)<<7|s>>>25)+S|0)<<9|s>>>23)+O|0)<<13|s>>>19)+N|0)<<18|s>>>14,P^=(s=(A^=(s=(x^=(s=(C^=(s=P+A|0)<<7|s>>>25)+P|0)<<9|s>>>23)+C|0)<<13|s>>>19)+x|0)<<18|s>>>14,L^=(s=(M^=(s=(R^=(s=(j^=(s=L+M|0)<<7|s>>>25)+L|0)<<9|s>>>23)+j|0)<<13|s>>>19)+R|0)<<18|s>>>14,k^=(s=(j^=(s=(x^=(s=(v^=(s=k+j|0)<<7|s>>>25)+k|0)<<9|s>>>23)+v|0)<<13|s>>>19)+x|0)<<18|s>>>14,S^=(s=(E^=(s=(R^=(s=(A^=(s=S+E|0)<<7|s>>>25)+S|0)<<9|s>>>23)+A|0)<<13|s>>>19)+R|0)<<18|s>>>14,P^=(s=(O^=(s=(T^=(s=(M^=(s=P+O|0)<<7|s>>>25)+P|0)<<9|s>>>23)+M|0)<<13|s>>>19)+T|0)<<18|s>>>14,L^=(s=(C^=(s=(N^=(s=(I^=(s=L+C|0)<<7|s>>>25)+L|0)<<9|s>>>23)+I|0)<<13|s>>>19)+N|0)<<18|s>>>14;k=k+o|0,v=v+a|0,x=x+i|0,j=j+l|0,E=E+u|0,S=S+c|0,A=A+d|0,R=R+m|0,T=T+f|0,O=O+h|0,P=P+p|0,M=M+b|0,I=I+g|0,N=N+w|0,C=C+y|0,L=L+_|0,e[0]=k>>>0&255,e[1]=k>>>8&255,e[2]=k>>>16&255,e[3]=k>>>24&255,e[4]=v>>>0&255,e[5]=v>>>8&255,e[6]=v>>>16&255,e[7]=v>>>24&255,e[8]=x>>>0&255,e[9]=x>>>8&255,e[10]=x>>>16&255,e[11]=x>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=E>>>0&255,e[17]=E>>>8&255,e[18]=E>>>16&255,e[19]=E>>>24&255,e[20]=S>>>0&255,e[21]=S>>>8&255,e[22]=S>>>16&255,e[23]=S>>>24&255,e[24]=A>>>0&255,e[25]=A>>>8&255,e[26]=A>>>16&255,e[27]=A>>>24&255,e[28]=R>>>0&255,e[29]=R>>>8&255,e[30]=R>>>16&255,e[31]=R>>>24&255,e[32]=T>>>0&255,e[33]=T>>>8&255,e[34]=T>>>16&255,e[35]=T>>>24&255,e[36]=O>>>0&255,e[37]=O>>>8&255,e[38]=O>>>16&255,e[39]=O>>>24&255,e[40]=P>>>0&255,e[41]=P>>>8&255,e[42]=P>>>16&255,e[43]=P>>>24&255,e[44]=M>>>0&255,e[45]=M>>>8&255,e[46]=M>>>16&255,e[47]=M>>>24&255,e[48]=I>>>0&255,e[49]=I>>>8&255,e[50]=I>>>16&255,e[51]=I>>>24&255,e[52]=N>>>0&255,e[53]=N>>>8&255,e[54]=N>>>16&255,e[55]=N>>>24&255,e[56]=C>>>0&255,e[57]=C>>>8&255,e[58]=C>>>16&255,e[59]=C>>>24&255,e[60]=L>>>0&255,e[61]=L>>>8&255,e[62]=L>>>16&255,e[63]=L>>>24&255}(e,t,r,n)}function y(e,t,r,n){!function(e,t,r,n){for(var s,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,i=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,c=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,m=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,f=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,p=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,b=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,g=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,w=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,y=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,_=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,k=0;k<20;k+=2)o^=(s=(g^=(s=(f^=(s=(u^=(s=o+g|0)<<7|s>>>25)+o|0)<<9|s>>>23)+u|0)<<13|s>>>19)+f|0)<<18|s>>>14,c^=(s=(a^=(s=(w^=(s=(h^=(s=c+a|0)<<7|s>>>25)+c|0)<<9|s>>>23)+h|0)<<13|s>>>19)+w|0)<<18|s>>>14,p^=(s=(d^=(s=(i^=(s=(y^=(s=p+d|0)<<7|s>>>25)+p|0)<<9|s>>>23)+y|0)<<13|s>>>19)+i|0)<<18|s>>>14,_^=(s=(b^=(s=(m^=(s=(l^=(s=_+b|0)<<7|s>>>25)+_|0)<<9|s>>>23)+l|0)<<13|s>>>19)+m|0)<<18|s>>>14,o^=(s=(l^=(s=(i^=(s=(a^=(s=o+l|0)<<7|s>>>25)+o|0)<<9|s>>>23)+a|0)<<13|s>>>19)+i|0)<<18|s>>>14,c^=(s=(u^=(s=(m^=(s=(d^=(s=c+u|0)<<7|s>>>25)+c|0)<<9|s>>>23)+d|0)<<13|s>>>19)+m|0)<<18|s>>>14,p^=(s=(h^=(s=(f^=(s=(b^=(s=p+h|0)<<7|s>>>25)+p|0)<<9|s>>>23)+b|0)<<13|s>>>19)+f|0)<<18|s>>>14,_^=(s=(y^=(s=(w^=(s=(g^=(s=_+y|0)<<7|s>>>25)+_|0)<<9|s>>>23)+g|0)<<13|s>>>19)+w|0)<<18|s>>>14;e[0]=o>>>0&255,e[1]=o>>>8&255,e[2]=o>>>16&255,e[3]=o>>>24&255,e[4]=c>>>0&255,e[5]=c>>>8&255,e[6]=c>>>16&255,e[7]=c>>>24&255,e[8]=p>>>0&255,e[9]=p>>>8&255,e[10]=p>>>16&255,e[11]=p>>>24&255,e[12]=_>>>0&255,e[13]=_>>>8&255,e[14]=_>>>16&255,e[15]=_>>>24&255,e[16]=d>>>0&255,e[17]=d>>>8&255,e[18]=d>>>16&255,e[19]=d>>>24&255,e[20]=m>>>0&255,e[21]=m>>>8&255,e[22]=m>>>16&255,e[23]=m>>>24&255,e[24]=f>>>0&255,e[25]=f>>>8&255,e[26]=f>>>16&255,e[27]=f>>>24&255,e[28]=h>>>0&255,e[29]=h>>>8&255,e[30]=h>>>16&255,e[31]=h>>>24&255}(e,t,r,n)}var _=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function k(e,t,r,n,s,o,a){var i,l,u=new Uint8Array(16),c=new Uint8Array(64);for(l=0;l<16;l++)u[l]=0;for(l=0;l<8;l++)u[l]=o[l];for(;s>=64;){for(w(c,u,a,_),l=0;l<64;l++)e[t+l]=r[n+l]^c[l];for(i=1,l=8;l<16;l++)i=i+(255&u[l])|0,u[l]=255&i,i>>>=8;s-=64,t+=64,n+=64}if(s>0)for(w(c,u,a,_),l=0;l<s;l++)e[t+l]=r[n+l]^c[l];return 0}function v(e,t,r,n,s){var o,a,i=new Uint8Array(16),l=new Uint8Array(64);for(a=0;a<16;a++)i[a]=0;for(a=0;a<8;a++)i[a]=n[a];for(;r>=64;){for(w(l,i,s,_),a=0;a<64;a++)e[t+a]=l[a];for(o=1,a=8;a<16;a++)o=o+(255&i[a])|0,i[a]=255&o,o>>>=8;r-=64,t+=64}if(r>0)for(w(l,i,s,_),a=0;a<r;a++)e[t+a]=l[a];return 0}function x(e,t,r,n,s){var o=new Uint8Array(32);y(o,n,s,_);for(var a=new Uint8Array(8),i=0;i<8;i++)a[i]=n[i+16];return v(e,t,r,a,o)}function j(e,t,r,n,s,o,a){var i=new Uint8Array(32);y(i,o,a,_);for(var l=new Uint8Array(8),u=0;u<8;u++)l[u]=o[u+16];return k(e,t,r,n,s,l,i)}var E=function(e){var t,r,n,s,o,a,i,l;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,r=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),s=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|s<<9),o=255&e[8]|(255&e[9])<<8,this.r[4]=255&(s>>>4|o<<12),this.r[5]=o>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(o>>>14|a<<2),i=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|i<<5),l=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(i>>>8|l<<8),this.r[9]=l>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function S(e,t,r,n,s,o){var a=new E(o);return a.update(r,n,s),a.finish(e,t),0}function A(e,t,r,n,s,o){var a=new Uint8Array(16);return S(a,0,r,n,s,o),b(e,t,a,0)}function R(e,t,r,n,s){var o;if(r<32)return-1;for(j(e,0,t,0,r,n,s),S(e,16,e,32,r-32,e),o=0;o<16;o++)e[o]=0;return 0}function T(e,t,r,n,s){var o,a=new Uint8Array(32);if(r<32)return-1;if(x(a,0,32,n,s),0!==A(t,16,t,32,r-32,a))return-1;for(j(e,0,t,0,r,n,s),o=0;o<32;o++)e[o]=0;return 0}function O(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function P(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function M(e,t,r){for(var n,s=~(r-1),o=0;o<16;o++)n=s&(e[o]^t[o]),e[o]^=n,t[o]^=n}function I(e,t){var n,s,o,a=r(),i=r();for(n=0;n<16;n++)i[n]=t[n];for(P(i),P(i),P(i),s=0;s<2;s++){for(a[0]=i[0]-65517,n=1;n<15;n++)a[n]=i[n]-65535-(a[n-1]>>16&1),a[n-1]&=65535;a[15]=i[15]-32767-(a[14]>>16&1),o=a[15]>>16&1,a[14]&=65535,M(i,a,1-o)}for(n=0;n<16;n++)e[2*n]=255&i[n],e[2*n+1]=i[n]>>8}function N(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return I(r,e),I(n,t),g(r,0,n,0)}function C(e){var t=new Uint8Array(32);return I(t,e),1&t[0]}function L(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function D(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function U(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function $(e,t,r){var n,s,o=0,a=0,i=0,l=0,u=0,c=0,d=0,m=0,f=0,h=0,p=0,b=0,g=0,w=0,y=0,_=0,k=0,v=0,x=0,j=0,E=0,S=0,A=0,R=0,T=0,O=0,P=0,M=0,I=0,N=0,C=0,L=r[0],D=r[1],U=r[2],$=r[3],F=r[4],B=r[5],W=r[6],q=r[7],H=r[8],z=r[9],V=r[10],G=r[11],K=r[12],Y=r[13],X=r[14],Z=r[15];o+=(n=t[0])*L,a+=n*D,i+=n*U,l+=n*$,u+=n*F,c+=n*B,d+=n*W,m+=n*q,f+=n*H,h+=n*z,p+=n*V,b+=n*G,g+=n*K,w+=n*Y,y+=n*X,_+=n*Z,a+=(n=t[1])*L,i+=n*D,l+=n*U,u+=n*$,c+=n*F,d+=n*B,m+=n*W,f+=n*q,h+=n*H,p+=n*z,b+=n*V,g+=n*G,w+=n*K,y+=n*Y,_+=n*X,k+=n*Z,i+=(n=t[2])*L,l+=n*D,u+=n*U,c+=n*$,d+=n*F,m+=n*B,f+=n*W,h+=n*q,p+=n*H,b+=n*z,g+=n*V,w+=n*G,y+=n*K,_+=n*Y,k+=n*X,v+=n*Z,l+=(n=t[3])*L,u+=n*D,c+=n*U,d+=n*$,m+=n*F,f+=n*B,h+=n*W,p+=n*q,b+=n*H,g+=n*z,w+=n*V,y+=n*G,_+=n*K,k+=n*Y,v+=n*X,x+=n*Z,u+=(n=t[4])*L,c+=n*D,d+=n*U,m+=n*$,f+=n*F,h+=n*B,p+=n*W,b+=n*q,g+=n*H,w+=n*z,y+=n*V,_+=n*G,k+=n*K,v+=n*Y,x+=n*X,j+=n*Z,c+=(n=t[5])*L,d+=n*D,m+=n*U,f+=n*$,h+=n*F,p+=n*B,b+=n*W,g+=n*q,w+=n*H,y+=n*z,_+=n*V,k+=n*G,v+=n*K,x+=n*Y,j+=n*X,E+=n*Z,d+=(n=t[6])*L,m+=n*D,f+=n*U,h+=n*$,p+=n*F,b+=n*B,g+=n*W,w+=n*q,y+=n*H,_+=n*z,k+=n*V,v+=n*G,x+=n*K,j+=n*Y,E+=n*X,S+=n*Z,m+=(n=t[7])*L,f+=n*D,h+=n*U,p+=n*$,b+=n*F,g+=n*B,w+=n*W,y+=n*q,_+=n*H,k+=n*z,v+=n*V,x+=n*G,j+=n*K,E+=n*Y,S+=n*X,A+=n*Z,f+=(n=t[8])*L,h+=n*D,p+=n*U,b+=n*$,g+=n*F,w+=n*B,y+=n*W,_+=n*q,k+=n*H,v+=n*z,x+=n*V,j+=n*G,E+=n*K,S+=n*Y,A+=n*X,R+=n*Z,h+=(n=t[9])*L,p+=n*D,b+=n*U,g+=n*$,w+=n*F,y+=n*B,_+=n*W,k+=n*q,v+=n*H,x+=n*z,j+=n*V,E+=n*G,S+=n*K,A+=n*Y,R+=n*X,T+=n*Z,p+=(n=t[10])*L,b+=n*D,g+=n*U,w+=n*$,y+=n*F,_+=n*B,k+=n*W,v+=n*q,x+=n*H,j+=n*z,E+=n*V,S+=n*G,A+=n*K,R+=n*Y,T+=n*X,O+=n*Z,b+=(n=t[11])*L,g+=n*D,w+=n*U,y+=n*$,_+=n*F,k+=n*B,v+=n*W,x+=n*q,j+=n*H,E+=n*z,S+=n*V,A+=n*G,R+=n*K,T+=n*Y,O+=n*X,P+=n*Z,g+=(n=t[12])*L,w+=n*D,y+=n*U,_+=n*$,k+=n*F,v+=n*B,x+=n*W,j+=n*q,E+=n*H,S+=n*z,A+=n*V,R+=n*G,T+=n*K,O+=n*Y,P+=n*X,M+=n*Z,w+=(n=t[13])*L,y+=n*D,_+=n*U,k+=n*$,v+=n*F,x+=n*B,j+=n*W,E+=n*q,S+=n*H,A+=n*z,R+=n*V,T+=n*G,O+=n*K,P+=n*Y,M+=n*X,I+=n*Z,y+=(n=t[14])*L,_+=n*D,k+=n*U,v+=n*$,x+=n*F,j+=n*B,E+=n*W,S+=n*q,A+=n*H,R+=n*z,T+=n*V,O+=n*G,P+=n*K,M+=n*Y,I+=n*X,N+=n*Z,_+=(n=t[15])*L,a+=38*(v+=n*U),i+=38*(x+=n*$),l+=38*(j+=n*F),u+=38*(E+=n*B),c+=38*(S+=n*W),d+=38*(A+=n*q),m+=38*(R+=n*H),f+=38*(T+=n*z),h+=38*(O+=n*V),p+=38*(P+=n*G),b+=38*(M+=n*K),g+=38*(I+=n*Y),w+=38*(N+=n*X),y+=38*(C+=n*Z),o=(n=(o+=38*(k+=n*D))+(s=1)+65535)-65536*(s=Math.floor(n/65536)),a=(n=a+s+65535)-65536*(s=Math.floor(n/65536)),i=(n=i+s+65535)-65536*(s=Math.floor(n/65536)),l=(n=l+s+65535)-65536*(s=Math.floor(n/65536)),u=(n=u+s+65535)-65536*(s=Math.floor(n/65536)),c=(n=c+s+65535)-65536*(s=Math.floor(n/65536)),d=(n=d+s+65535)-65536*(s=Math.floor(n/65536)),m=(n=m+s+65535)-65536*(s=Math.floor(n/65536)),f=(n=f+s+65535)-65536*(s=Math.floor(n/65536)),h=(n=h+s+65535)-65536*(s=Math.floor(n/65536)),p=(n=p+s+65535)-65536*(s=Math.floor(n/65536)),b=(n=b+s+65535)-65536*(s=Math.floor(n/65536)),g=(n=g+s+65535)-65536*(s=Math.floor(n/65536)),w=(n=w+s+65535)-65536*(s=Math.floor(n/65536)),y=(n=y+s+65535)-65536*(s=Math.floor(n/65536)),_=(n=_+s+65535)-65536*(s=Math.floor(n/65536)),o=(n=(o+=s-1+37*(s-1))+(s=1)+65535)-65536*(s=Math.floor(n/65536)),a=(n=a+s+65535)-65536*(s=Math.floor(n/65536)),i=(n=i+s+65535)-65536*(s=Math.floor(n/65536)),l=(n=l+s+65535)-65536*(s=Math.floor(n/65536)),u=(n=u+s+65535)-65536*(s=Math.floor(n/65536)),c=(n=c+s+65535)-65536*(s=Math.floor(n/65536)),d=(n=d+s+65535)-65536*(s=Math.floor(n/65536)),m=(n=m+s+65535)-65536*(s=Math.floor(n/65536)),f=(n=f+s+65535)-65536*(s=Math.floor(n/65536)),h=(n=h+s+65535)-65536*(s=Math.floor(n/65536)),p=(n=p+s+65535)-65536*(s=Math.floor(n/65536)),b=(n=b+s+65535)-65536*(s=Math.floor(n/65536)),g=(n=g+s+65535)-65536*(s=Math.floor(n/65536)),w=(n=w+s+65535)-65536*(s=Math.floor(n/65536)),y=(n=y+s+65535)-65536*(s=Math.floor(n/65536)),_=(n=_+s+65535)-65536*(s=Math.floor(n/65536)),o+=s-1+37*(s-1),e[0]=o,e[1]=a,e[2]=i,e[3]=l,e[4]=u,e[5]=c,e[6]=d,e[7]=m,e[8]=f,e[9]=h,e[10]=p,e[11]=b,e[12]=g,e[13]=w,e[14]=y,e[15]=_}function F(e,t){$(e,t,t)}function B(e,t){var n,s=r();for(n=0;n<16;n++)s[n]=t[n];for(n=253;n>=0;n--)F(s,s),2!==n&&4!==n&&$(s,s,t);for(n=0;n<16;n++)e[n]=s[n]}function W(e,t){var n,s=r();for(n=0;n<16;n++)s[n]=t[n];for(n=250;n>=0;n--)F(s,s),1!==n&&$(s,s,t);for(n=0;n<16;n++)e[n]=s[n]}function q(e,t,n){var s,o,a=new Uint8Array(32),i=new Float64Array(80),u=r(),c=r(),d=r(),m=r(),f=r(),h=r();for(o=0;o<31;o++)a[o]=t[o];for(a[31]=127&t[31]|64,a[0]&=248,L(i,n),o=0;o<16;o++)c[o]=i[o],m[o]=u[o]=d[o]=0;for(u[0]=m[0]=1,o=254;o>=0;--o)M(u,c,s=a[o>>>3]>>>(7&o)&1),M(d,m,s),D(f,u,d),U(u,u,d),D(d,c,m),U(c,c,m),F(m,f),F(h,u),$(u,d,u),$(d,c,f),D(f,u,d),U(u,u,d),F(c,u),U(d,m,h),$(u,d,l),D(u,u,m),$(d,d,u),$(u,m,h),$(m,c,i),F(c,f),M(u,c,s),M(d,m,s);for(o=0;o<16;o++)i[o+16]=u[o],i[o+32]=d[o],i[o+48]=c[o],i[o+64]=m[o];var p=i.subarray(32),b=i.subarray(16);return B(p,p),$(b,b,p),I(e,b),0}function H(e,t){return q(e,t,o)}function z(e,t){return n(t,32),H(e,t)}function V(e,t,r){var n=new Uint8Array(32);return q(n,r,t),y(e,s,n,_)}E.prototype.blocks=function(e,t,r){for(var n,s,o,a,i,l,u,c,d,m,f,h,p,b,g,w,y,_,k,v=this.fin?0:2048,x=this.h[0],j=this.h[1],E=this.h[2],S=this.h[3],A=this.h[4],R=this.h[5],T=this.h[6],O=this.h[7],P=this.h[8],M=this.h[9],I=this.r[0],N=this.r[1],C=this.r[2],L=this.r[3],D=this.r[4],U=this.r[5],$=this.r[6],F=this.r[7],B=this.r[8],W=this.r[9];r>=16;)m=d=0,m+=(x+=8191&(n=255&e[t+0]|(255&e[t+1])<<8))*I,m+=(j+=8191&(n>>>13|(s=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*W),m+=(E+=8191&(s>>>10|(o=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*B),m+=(S+=8191&(o>>>7|(a=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*F),d=(m+=(A+=8191&(a>>>4|(i=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*$))>>>13,m&=8191,m+=(R+=i>>>1&8191)*(5*U),m+=(T+=8191&(i>>>14|(l=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*D),m+=(O+=8191&(l>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*L),m+=(P+=8191&(u>>>8|(c=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*C),f=d+=(m+=(M+=c>>>5|v)*(5*N))>>>13,f+=x*N,f+=j*I,f+=E*(5*W),f+=S*(5*B),d=(f+=A*(5*F))>>>13,f&=8191,f+=R*(5*$),f+=T*(5*U),f+=O*(5*D),f+=P*(5*L),d+=(f+=M*(5*C))>>>13,f&=8191,h=d,h+=x*C,h+=j*N,h+=E*I,h+=S*(5*W),d=(h+=A*(5*B))>>>13,h&=8191,h+=R*(5*F),h+=T*(5*$),h+=O*(5*U),h+=P*(5*D),p=d+=(h+=M*(5*L))>>>13,p+=x*L,p+=j*C,p+=E*N,p+=S*I,d=(p+=A*(5*W))>>>13,p&=8191,p+=R*(5*B),p+=T*(5*F),p+=O*(5*$),p+=P*(5*U),b=d+=(p+=M*(5*D))>>>13,b+=x*D,b+=j*L,b+=E*C,b+=S*N,d=(b+=A*I)>>>13,b&=8191,b+=R*(5*W),b+=T*(5*B),b+=O*(5*F),b+=P*(5*$),g=d+=(b+=M*(5*U))>>>13,g+=x*U,g+=j*D,g+=E*L,g+=S*C,d=(g+=A*N)>>>13,g&=8191,g+=R*I,g+=T*(5*W),g+=O*(5*B),g+=P*(5*F),w=d+=(g+=M*(5*$))>>>13,w+=x*$,w+=j*U,w+=E*D,w+=S*L,d=(w+=A*C)>>>13,w&=8191,w+=R*N,w+=T*I,w+=O*(5*W),w+=P*(5*B),y=d+=(w+=M*(5*F))>>>13,y+=x*F,y+=j*$,y+=E*U,y+=S*D,d=(y+=A*L)>>>13,y&=8191,y+=R*C,y+=T*N,y+=O*I,y+=P*(5*W),_=d+=(y+=M*(5*B))>>>13,_+=x*B,_+=j*F,_+=E*$,_+=S*U,d=(_+=A*D)>>>13,_&=8191,_+=R*L,_+=T*C,_+=O*N,_+=P*I,k=d+=(_+=M*(5*W))>>>13,k+=x*W,k+=j*B,k+=E*F,k+=S*$,d=(k+=A*U)>>>13,k&=8191,k+=R*D,k+=T*L,k+=O*C,k+=P*N,x=m=8191&(d=(d=((d+=(k+=M*I)>>>13)<<2)+d|0)+(m&=8191)|0),j=f+=d>>>=13,E=h&=8191,S=p&=8191,A=b&=8191,R=g&=8191,T=w&=8191,O=y&=8191,P=_&=8191,M=k&=8191,t+=16,r-=16;this.h[0]=x,this.h[1]=j,this.h[2]=E,this.h[3]=S,this.h[4]=A,this.h[5]=R,this.h[6]=T,this.h[7]=O,this.h[8]=P,this.h[9]=M},E.prototype.finish=function(e,t){var r,n,s,o,a=new Uint16Array(10);if(this.leftover){for(o=this.leftover,this.buffer[o++]=1;o<16;o++)this.buffer[o]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,o=2;o<10;o++)this.h[o]+=r,r=this.h[o]>>>13,this.h[o]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,a[0]=this.h[0]+5,r=a[0]>>>13,a[0]&=8191,o=1;o<10;o++)a[o]=this.h[o]+r,r=a[o]>>>13,a[o]&=8191;for(a[9]-=8192,n=(1^r)-1,o=0;o<10;o++)a[o]&=n;for(n=~n,o=0;o<10;o++)this.h[o]=this.h[o]&n|a[o];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),s=this.h[0]+this.pad[0],this.h[0]=65535&s,o=1;o<8;o++)s=(this.h[o]+this.pad[o]|0)+(s>>>16)|0,this.h[o]=65535&s;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},E.prototype.update=function(e,t,r){var n,s;if(this.leftover){for((s=16-this.leftover)>r&&(s=r),n=0;n<s;n++)this.buffer[this.leftover+n]=e[t+n];if(r-=s,t+=s,this.leftover+=s,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(r>=16&&(s=r-r%16,this.blocks(e,t,s),t+=s,r-=s),r){for(n=0;n<r;n++)this.buffer[this.leftover+n]=e[t+n];this.leftover+=r}};var G=R,K=T;var Y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function X(e,t,r,n){for(var s,o,a,i,l,u,c,d,m,f,h,p,b,g,w,y,_,k,v,x,j,E,S,A,R,T,O=new Int32Array(16),P=new Int32Array(16),M=e[0],I=e[1],N=e[2],C=e[3],L=e[4],D=e[5],U=e[6],$=e[7],F=t[0],B=t[1],W=t[2],q=t[3],H=t[4],z=t[5],V=t[6],G=t[7],K=0;n>=128;){for(v=0;v<16;v++)x=8*v+K,O[v]=r[x+0]<<24|r[x+1]<<16|r[x+2]<<8|r[x+3],P[v]=r[x+4]<<24|r[x+5]<<16|r[x+6]<<8|r[x+7];for(v=0;v<80;v++)if(s=M,o=I,a=N,i=C,l=L,u=D,c=U,$,m=F,f=B,h=W,p=q,b=H,g=z,w=V,G,S=65535&(E=G),A=E>>>16,R=65535&(j=$),T=j>>>16,S+=65535&(E=(H>>>14|L<<18)^(H>>>18|L<<14)^(L>>>9|H<<23)),A+=E>>>16,R+=65535&(j=(L>>>14|H<<18)^(L>>>18|H<<14)^(H>>>9|L<<23)),T+=j>>>16,S+=65535&(E=H&z^~H&V),A+=E>>>16,R+=65535&(j=L&D^~L&U),T+=j>>>16,S+=65535&(E=Y[2*v+1]),A+=E>>>16,R+=65535&(j=Y[2*v]),T+=j>>>16,j=O[v%16],A+=(E=P[v%16])>>>16,R+=65535&j,T+=j>>>16,R+=(A+=(S+=65535&E)>>>16)>>>16,S=65535&(E=k=65535&S|A<<16),A=E>>>16,R=65535&(j=_=65535&R|(T+=R>>>16)<<16),T=j>>>16,S+=65535&(E=(F>>>28|M<<4)^(M>>>2|F<<30)^(M>>>7|F<<25)),A+=E>>>16,R+=65535&(j=(M>>>28|F<<4)^(F>>>2|M<<30)^(F>>>7|M<<25)),T+=j>>>16,A+=(E=F&B^F&W^B&W)>>>16,R+=65535&(j=M&I^M&N^I&N),T+=j>>>16,d=65535&(R+=(A+=(S+=65535&E)>>>16)>>>16)|(T+=R>>>16)<<16,y=65535&S|A<<16,S=65535&(E=p),A=E>>>16,R=65535&(j=i),T=j>>>16,A+=(E=k)>>>16,R+=65535&(j=_),T+=j>>>16,I=s,N=o,C=a,L=i=65535&(R+=(A+=(S+=65535&E)>>>16)>>>16)|(T+=R>>>16)<<16,D=l,U=u,$=c,M=d,B=m,W=f,q=h,H=p=65535&S|A<<16,z=b,V=g,G=w,F=y,v%16==15)for(x=0;x<16;x++)j=O[x],S=65535&(E=P[x]),A=E>>>16,R=65535&j,T=j>>>16,j=O[(x+9)%16],S+=65535&(E=P[(x+9)%16]),A+=E>>>16,R+=65535&j,T+=j>>>16,_=O[(x+1)%16],S+=65535&(E=((k=P[(x+1)%16])>>>1|_<<31)^(k>>>8|_<<24)^(k>>>7|_<<25)),A+=E>>>16,R+=65535&(j=(_>>>1|k<<31)^(_>>>8|k<<24)^_>>>7),T+=j>>>16,_=O[(x+14)%16],A+=(E=((k=P[(x+14)%16])>>>19|_<<13)^(_>>>29|k<<3)^(k>>>6|_<<26))>>>16,R+=65535&(j=(_>>>19|k<<13)^(k>>>29|_<<3)^_>>>6),T+=j>>>16,T+=(R+=(A+=(S+=65535&E)>>>16)>>>16)>>>16,O[x]=65535&R|T<<16,P[x]=65535&S|A<<16;S=65535&(E=F),A=E>>>16,R=65535&(j=M),T=j>>>16,j=e[0],A+=(E=t[0])>>>16,R+=65535&j,T+=j>>>16,T+=(R+=(A+=(S+=65535&E)>>>16)>>>16)>>>16,e[0]=M=65535&R|T<<16,t[0]=F=65535&S|A<<16,S=65535&(E=B),A=E>>>16,R=65535&(j=I),T=j>>>16,j=e[1],A+=(E=t[1])>>>16,R+=65535&j,T+=j>>>16,T+=(R+=(A+=(S+=65535&E)>>>16)>>>16)>>>16,e[1]=I=65535&R|T<<16,t[1]=B=65535&S|A<<16,S=65535&(E=W),A=E>>>16,R=65535&(j=N),T=j>>>16,j=e[2],A+=(E=t[2])>>>16,R+=65535&j,T+=j>>>16,T+=(R+=(A+=(S+=65535&E)>>>16)>>>16)>>>16,e[2]=N=65535&R|T<<16,t[2]=W=65535&S|A<<16,S=65535&(E=q),A=E>>>16,R=65535&(j=C),T=j>>>16,j=e[3],A+=(E=t[3])>>>16,R+=65535&j,T+=j>>>16,T+=(R+=(A+=(S+=65535&E)>>>16)>>>16)>>>16,e[3]=C=65535&R|T<<16,t[3]=q=65535&S|A<<16,S=65535&(E=H),A=E>>>16,R=65535&(j=L),T=j>>>16,j=e[4],A+=(E=t[4])>>>16,R+=65535&j,T+=j>>>16,T+=(R+=(A+=(S+=65535&E)>>>16)>>>16)>>>16,e[4]=L=65535&R|T<<16,t[4]=H=65535&S|A<<16,S=65535&(E=z),A=E>>>16,R=65535&(j=D),T=j>>>16,j=e[5],A+=(E=t[5])>>>16,R+=65535&j,T+=j>>>16,T+=(R+=(A+=(S+=65535&E)>>>16)>>>16)>>>16,e[5]=D=65535&R|T<<16,t[5]=z=65535&S|A<<16,S=65535&(E=V),A=E>>>16,R=65535&(j=U),T=j>>>16,j=e[6],A+=(E=t[6])>>>16,R+=65535&j,T+=j>>>16,T+=(R+=(A+=(S+=65535&E)>>>16)>>>16)>>>16,e[6]=U=65535&R|T<<16,t[6]=V=65535&S|A<<16,S=65535&(E=G),A=E>>>16,R=65535&(j=$),T=j>>>16,j=e[7],A+=(E=t[7])>>>16,R+=65535&j,T+=j>>>16,T+=(R+=(A+=(S+=65535&E)>>>16)>>>16)>>>16,e[7]=$=65535&R|T<<16,t[7]=G=65535&S|A<<16,K+=128,n-=128}return n}function Z(e,t,r){var n,s=new Int32Array(8),o=new Int32Array(8),a=new Uint8Array(256),i=r;for(s[0]=1779033703,s[1]=3144134277,s[2]=1013904242,s[3]=2773480762,s[4]=1359893119,s[5]=2600822924,s[6]=528734635,s[7]=1541459225,o[0]=4089235720,o[1]=2227873595,o[2]=4271175723,o[3]=1595750129,o[4]=2917565137,o[5]=725511199,o[6]=4215389547,o[7]=327033209,X(s,o,t,r),r%=128,n=0;n<r;n++)a[n]=t[i-r+n];for(a[r]=128,a[(r=256-128*(r<112?1:0))-9]=0,h(a,r-8,i/536870912|0,i<<3),X(s,o,a,r),n=0;n<8;n++)h(e,8*n,s[n],o[n]);return 0}function J(e,t){var n=r(),s=r(),o=r(),a=r(),i=r(),l=r(),u=r(),d=r(),m=r();U(n,e[1],e[0]),U(m,t[1],t[0]),$(n,n,m),D(s,e[0],e[1]),D(m,t[0],t[1]),$(s,s,m),$(o,e[3],t[3]),$(o,o,c),$(a,e[2],t[2]),D(a,a,a),U(i,s,n),U(l,a,o),D(u,a,o),D(d,s,n),$(e[0],i,l),$(e[1],d,u),$(e[2],u,l),$(e[3],i,d)}function Q(e,t,r){var n;for(n=0;n<4;n++)M(e[n],t[n],r)}function ee(e,t){var n=r(),s=r(),o=r();B(o,t[2]),$(n,t[0],o),$(s,t[1],o),I(e,s),e[31]^=C(n)<<7}function te(e,t,r){var n,s;for(O(e[0],a),O(e[1],i),O(e[2],i),O(e[3],a),s=255;s>=0;--s)Q(e,t,n=r[s/8|0]>>(7&s)&1),J(t,e),J(e,e),Q(e,t,n)}function re(e,t){var n=[r(),r(),r(),r()];O(n[0],d),O(n[1],m),O(n[2],i),$(n[3],d,m),te(e,n,t)}function ne(e,t,s){var o,a=new Uint8Array(64),i=[r(),r(),r(),r()];for(s||n(t,32),Z(a,t,32),a[0]&=248,a[31]&=127,a[31]|=64,re(i,a),ee(e,i),o=0;o<32;o++)t[o+32]=e[o];return 0}var se=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function oe(e,t){var r,n,s,o;for(n=63;n>=32;--n){for(r=0,s=n-32,o=n-12;s<o;++s)t[s]+=r-16*t[n]*se[s-(n-32)],r=Math.floor((t[s]+128)/256),t[s]-=256*r;t[s]+=r,t[n]=0}for(r=0,s=0;s<32;s++)t[s]+=r-(t[31]>>4)*se[s],r=t[s]>>8,t[s]&=255;for(s=0;s<32;s++)t[s]-=r*se[s];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function ae(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;oe(e,r)}function ie(e,t,n,s){var o,a,i=new Uint8Array(64),l=new Uint8Array(64),u=new Uint8Array(64),c=new Float64Array(64),d=[r(),r(),r(),r()];Z(i,s,32),i[0]&=248,i[31]&=127,i[31]|=64;var m=n+64;for(o=0;o<n;o++)e[64+o]=t[o];for(o=0;o<32;o++)e[32+o]=i[32+o];for(Z(u,e.subarray(32),n+32),ae(u),re(d,u),ee(e,d),o=32;o<64;o++)e[o]=s[o];for(Z(l,e,n+64),ae(l),o=0;o<64;o++)c[o]=0;for(o=0;o<32;o++)c[o]=u[o];for(o=0;o<32;o++)for(a=0;a<32;a++)c[o+a]+=l[o]*i[a];return oe(e.subarray(32),c),m}function le(e,t,n,s){var o,l=new Uint8Array(32),c=new Uint8Array(64),d=[r(),r(),r(),r()],m=[r(),r(),r(),r()];if(n<64)return-1;if(function(e,t){var n=r(),s=r(),o=r(),l=r(),c=r(),d=r(),m=r();return O(e[2],i),L(e[1],t),F(o,e[1]),$(l,o,u),U(o,o,e[2]),D(l,e[2],l),F(c,l),F(d,c),$(m,d,c),$(n,m,o),$(n,n,l),W(n,n),$(n,n,o),$(n,n,l),$(n,n,l),$(e[0],n,l),F(s,e[0]),$(s,s,l),N(s,o)&&$(e[0],e[0],f),F(s,e[0]),$(s,s,l),N(s,o)?-1:(C(e[0])===t[31]>>7&&U(e[0],a,e[0]),$(e[3],e[0],e[1]),0)}(m,s))return-1;for(o=0;o<n;o++)e[o]=t[o];for(o=0;o<32;o++)e[o+32]=s[o];if(Z(c,e,n),ae(c),te(d,m,c),re(m,t.subarray(32)),J(d,m),ee(l,d),n-=64,g(t,0,l,0)){for(o=0;o<n;o++)e[o]=0;return-1}for(o=0;o<n;o++)e[o]=t[o+64];return n}var ue=16,ce=64,de=32,me=64;function fe(e,t){if(32!==e.length)throw new Error("bad key size");if(24!==t.length)throw new Error("bad nonce size")}function he(){for(var e=0;e<arguments.length;e++)if(!(arguments[e]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function pe(e){for(var t=0;t<e.length;t++)e[t]=0}t.lowlevel={crypto_core_hsalsa20:y,crypto_stream_xor:j,crypto_stream:x,crypto_stream_salsa20_xor:k,crypto_stream_salsa20:v,crypto_onetimeauth:S,crypto_onetimeauth_verify:A,crypto_verify_16:b,crypto_verify_32:g,crypto_secretbox:R,crypto_secretbox_open:T,crypto_scalarmult:q,crypto_scalarmult_base:H,crypto_box_beforenm:V,crypto_box_afternm:G,crypto_box:function(e,t,r,n,s,o){var a=new Uint8Array(32);return V(a,s,o),G(e,t,r,n,a)},crypto_box_open:function(e,t,r,n,s,o){var a=new Uint8Array(32);return V(a,s,o),K(e,t,r,n,a)},crypto_box_keypair:z,crypto_hash:Z,crypto_sign:ie,crypto_sign_keypair:ne,crypto_sign_open:le,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:ue,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:32,crypto_box_SECRETKEYBYTES:32,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:24,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:ce,crypto_sign_PUBLICKEYBYTES:de,crypto_sign_SECRETKEYBYTES:me,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:r,D:u,L:se,pack25519:I,unpack25519:L,M:$,A:D,S:F,Z:U,pow2523:W,add:J,set25519:O,modL:oe,scalarmult:te,scalarbase:re},t.randomBytes=function(e){var t=new Uint8Array(e);return n(t,e),t},t.secretbox=function(e,t,r){he(e,t,r),fe(r,t);for(var n=new Uint8Array(32+e.length),s=new Uint8Array(n.length),o=0;o<e.length;o++)n[o+32]=e[o];return R(s,n,n.length,t,r),s.subarray(ue)},t.secretbox.open=function(e,t,r){he(e,t,r),fe(r,t);for(var n=new Uint8Array(ue+e.length),s=new Uint8Array(n.length),o=0;o<e.length;o++)n[o+ue]=e[o];return n.length<32||0!==T(s,n,n.length,t,r)?null:s.subarray(32)},t.secretbox.keyLength=32,t.secretbox.nonceLength=24,t.secretbox.overheadLength=ue,t.scalarMult=function(e,t){if(he(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var r=new Uint8Array(32);return q(r,e,t),r},t.scalarMult.base=function(e){if(he(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return H(t,e),t},t.scalarMult.scalarLength=32,t.scalarMult.groupElementLength=32,t.box=function(e,r,n,s){var o=t.box.before(n,s);return t.secretbox(e,r,o)},t.box.before=function(e,t){he(e,t),function(e,t){if(32!==e.length)throw new Error("bad public key size");if(32!==t.length)throw new Error("bad secret key size")}(e,t);var r=new Uint8Array(32);return V(r,e,t),r},t.box.after=t.secretbox,t.box.open=function(e,r,n,s){var o=t.box.before(n,s);return t.secretbox.open(e,r,o)},t.box.open.after=t.secretbox.open,t.box.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(32);return z(e,t),{publicKey:e,secretKey:t}},t.box.keyPair.fromSecretKey=function(e){if(he(e),32!==e.length)throw new Error("bad secret key size");var t=new Uint8Array(32);return H(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},t.box.publicKeyLength=32,t.box.secretKeyLength=32,t.box.sharedKeyLength=32,t.box.nonceLength=24,t.box.overheadLength=t.secretbox.overheadLength,t.sign=function(e,t){if(he(e,t),t.length!==me)throw new Error("bad secret key size");var r=new Uint8Array(ce+e.length);return ie(r,e,e.length,t),r},t.sign.open=function(e,t){if(he(e,t),t.length!==de)throw new Error("bad public key size");var r=new Uint8Array(e.length),n=le(r,e,e.length,t);if(n<0)return null;for(var s=new Uint8Array(n),o=0;o<s.length;o++)s[o]=r[o];return s},t.sign.detached=function(e,r){for(var n=t.sign(e,r),s=new Uint8Array(ce),o=0;o<s.length;o++)s[o]=n[o];return s},t.sign.detached.verify=function(e,t,r){if(he(e,t,r),t.length!==ce)throw new Error("bad signature size");if(r.length!==de)throw new Error("bad public key size");var n,s=new Uint8Array(ce+e.length),o=new Uint8Array(ce+e.length);for(n=0;n<ce;n++)s[n]=t[n];for(n=0;n<e.length;n++)s[n+ce]=e[n];return le(o,s,s.length,r)>=0},t.sign.keyPair=function(){var e=new Uint8Array(de),t=new Uint8Array(me);return ne(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(he(e),e.length!==me)throw new Error("bad secret key size");for(var t=new Uint8Array(de),r=0;r<t.length;r++)t[r]=e[32+r];return{publicKey:t,secretKey:new Uint8Array(e)}},t.sign.keyPair.fromSeed=function(e){if(he(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(de),r=new Uint8Array(me),n=0;n<32;n++)r[n]=e[n];return ne(t,r,!0),{publicKey:t,secretKey:r}},t.sign.publicKeyLength=de,t.sign.secretKeyLength=me,t.sign.seedLength=32,t.sign.signatureLength=ce,t.hash=function(e){he(e);var t=new Uint8Array(64);return Z(t,e,e.length),t},t.hash.hashLength=64,t.verify=function(e,t){return he(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===p(e,0,t,0,e.length))},t.setPRNG=function(e){n=e},function(){var r="undefined"!=typeof self?self.crypto||self.msCrypto:null;if(r&&r.getRandomValues){t.setPRNG(function(e,t){var n,s=new Uint8Array(t);for(n=0;n<t;n+=65536)r.getRandomValues(s.subarray(n,n+Math.min(t-n,65536)));for(n=0;n<t;n++)e[n]=s[n];pe(s)})}else void 0!==e&&(r=e("crypto"))&&r.randomBytes&&t.setPRNG(function(e,t){var n,s=r.randomBytes(t);for(n=0;n<t;n++)e[n]=s[n];pe(s)})}()}(void 0!==t&&t.exports?t.exports:self.nacl=self.nacl||{})}}},{package:"tweetnacl",file:"node_modules/tweetnacl/nacl-fast.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/typed-array-buffer/index.js",{"call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","es-errors/type":"/home/runner/work/metamask-extension/metamask-extension/node_modules/es-errors/type.js","is-typed-array":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-typed-array/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("es-errors/type"),s=e("call-bound")("TypedArray.prototype.buffer",!0),o=e("is-typed-array");t.exports=s||function(e){if(!o(e))throw new n("Not a Typed Array");return e.buffer}}}},{package:"string.prototype.matchall>es-abstract>typed-array-buffer",file:"node_modules/typed-array-buffer/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ulid/dist/index.umd.js",{crypto:"/home/runner/work/metamask-extension/metamask-extension/node_modules/ulid/stubs/crypto.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){"object"==typeof r&&void 0!==t?n(r):"function"==typeof define&&define.amd?define(["exports"],n):n(e.ULID={})}(this,function(t){function r(e){var t=new Error(e);return t.source="ulid",t}var n="0123456789ABCDEFGHJKMNPQRSTVWXYZ",s=32,o=Math.pow(2,48)-1;function a(e,t,r){return t>e.length-1?e:e.substr(0,t)+r+e.substr(t+1)}function i(e){for(var t=undefined,s=e.length,o=void 0,i=void 0;!t&&s-- >=0;){if(o=e[s],-1===(i=n.indexOf(o)))throw r("incorrectly encoded string");31!==i?t=a(e,s,n[i+1]):e=a(e,s,n[0])}if("string"==typeof t)return t;throw r("cannot increment this string")}function l(e){var t=Math.floor(e()*s);return t===s&&(t=31),n.charAt(t)}function u(e,t){if(isNaN(e))throw new Error(e+" must be a number");if(e>o)throw r("cannot encode time greater than "+o);if(e<0)throw r("time must be positive");if(!1===Number.isInteger(e))throw r("time must be an integer");for(var a=void 0,i="";t>0;t--)i=n.charAt(a=e%s)+i,e=(e-a)/s;return i}function c(e,t){for(var r="";e>0;e--)r=l(t)+r;return r}function d(){var t=arguments.length>0&&arguments[0]!==undefined&&arguments[0],n=arguments[1];n||(n="undefined"!=typeof window?window:null);var s=n&&(n.crypto||n.msCrypto);if(s)return function(){var e=new Uint8Array(1);return s.getRandomValues(e),e[0]/255};try{var o=e("crypto");return function(){return o.randomBytes(1).readUInt8()/255}}catch(e){}if(t){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch(e){}return function(){return Math.random()}}throw r("secure crypto unusable, insecure Math.random not allowed")}function m(e){return e||(e=d()),function(t){return isNaN(t)&&(t=Date.now()),u(t,10)+c(16,e)}}var f=m();t.replaceCharAt=a,t.incrementBase32=i,t.randomChar=l,t.encodeTime=u,t.encodeRandom=c,t.decodeTime=function(e){if(26!==e.length)throw r("malformed ulid");var t=e.substr(0,10).split("").reverse().reduce(function(e,t,o){var a=n.indexOf(t);if(-1===a)throw r("invalid character found: "+t);return e+a*Math.pow(s,o)},0);if(t>o)throw r("malformed ulid, timestamp too large");return t},t.detectPrng=d,t.factory=m,t.monotonicFactory=function(e){e||(e=d());var t=0,r=void 0;return function(n){if(isNaN(n)&&(n=Date.now()),n<=t){var s=r=i(r);return u(t,10)+s}t=n;var o=r=c(16,e);return u(n,10)+o}},t.ulid=f,Object.defineProperty(t,"__esModule",{value:!0})})}}},{package:"@metamask/keyring-controller>ulid",file:"node_modules/ulid/dist/index.umd.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/ulid/stubs/crypto.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){}}},{package:"@metamask/keyring-controller>ulid",file:"node_modules/ulid/stubs/crypto.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uri-js/dist/es5/uri.all.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
!function(e,n){"object"==typeof r&&void 0!==t?n(r):"function"==typeof define&&define.amd?define(["exports"],n):n(e.URI=e.URI||{})}(this,function(e){function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,s=1;s<n;++s)t[s]=t[s].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return e===undefined?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function s(e){return e.toUpperCase()}function o(e){var n="[A-Za-z]",s="[0-9]",o=t(s,"[A-Fa-f]"),a=r(r("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+r("%[89A-Fa-f]"+o+"%"+o+o)+"|"+r("%"+o+o)),i="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",l=t("[\\:\\/\\?\\#\\[\\]\\@]",i),u=e?"[\\uE000-\\uF8FF]":"[]",c=t(n,s,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),d=r(n+t(n,s,"[\\+\\-\\.]")+"*"),m=r(r(a+"|"+t(c,i,"[\\:]"))+"*"),f=(r(r("25[0-5]")+"|"+r("2[0-4]"+s)+"|"+r("1"+s+s)+"|"+r("[1-9]"+s)+"|"+s),r(r("25[0-5]")+"|"+r("2[0-4]"+s)+"|"+r("1"+s+s)+"|"+r("0?[1-9]"+s)+"|0?0?"+s)),h=r(f+"\\."+f+"\\."+f+"\\."+f),p=r(o+"{1,4}"),b=r(r(p+"\\:"+p)+"|"+h),g=r(r(p+"\\:")+"{6}"+b),w=r("\\:\\:"+r(p+"\\:")+"{5}"+b),y=r(r(p)+"?\\:\\:"+r(p+"\\:")+"{4}"+b),_=r(r(r(p+"\\:")+"{0,1}"+p)+"?\\:\\:"+r(p+"\\:")+"{3}"+b),k=r(r(r(p+"\\:")+"{0,2}"+p)+"?\\:\\:"+r(p+"\\:")+"{2}"+b),v=r(r(r(p+"\\:")+"{0,3}"+p)+"?\\:\\:"+p+"\\:"+b),x=r(r(r(p+"\\:")+"{0,4}"+p)+"?\\:\\:"+b),j=r(r(r(p+"\\:")+"{0,5}"+p)+"?\\:\\:"+p),E=r(r(r(p+"\\:")+"{0,6}"+p)+"?\\:\\:"),S=r([g,w,y,_,k,v,x,j,E].join("|")),A=r(r(c+"|"+a)+"+"),R=(r(S+"\\%25"+A),r(S+r("\\%25|\\%(?!"+o+"{2})")+A)),T=r("[vV]"+o+"+\\."+t(c,i,"[\\:]")+"+"),O=r("\\["+r(R+"|"+S+"|"+T)+"\\]"),P=r(r(a+"|"+t(c,i))+"*"),M=r(O+"|"+h+"(?!"+P+")|"+P),I=r(s+"*"),N=r(r(m+"@")+"?"+M+r("\\:"+I)+"?"),C=r(a+"|"+t(c,i,"[\\:\\@]")),L=r(C+"*"),D=r(C+"+"),U=r(r(a+"|"+t(c,i,"[\\@]"))+"+"),$=r(r("\\/"+L)+"*"),F=r("\\/"+r(D+$)+"?"),B=r(U+$),W=r(D+$),q="(?!"+C+")",H=(r($+"|"+F+"|"+B+"|"+W+"|"+q),r(r(C+"|"+t("[\\/\\?]",u))+"*")),z=r(r(C+"|[\\/\\?]")+"*"),V=r(r("\\/\\/"+N+$)+"|"+F+"|"+W+"|"+q),G=r(d+"\\:"+V+r("\\?"+H)+"?"+r("\\#"+z)+"?"),K=r(r("\\/\\/"+N+$)+"|"+F+"|"+B+"|"+q),Y=r(K+r("\\?"+H)+"?"+r("\\#"+z)+"?");r(G+"|"+Y),r(d+"\\:"+V+r("\\?"+H)+"?"),r(r("\\/\\/("+r("("+m+")@")+"?("+M+")"+r("\\:("+I+")")+"?)")+"?("+$+"|"+F+"|"+W+"|"+q+")"),r("\\?("+H+")"),r("\\#("+z+")"),r(r("\\/\\/("+r("("+m+")@")+"?("+M+")"+r("\\:("+I+")")+"?)")+"?("+$+"|"+F+"|"+B+"|"+q+")"),r("\\?("+H+")"),r("\\#("+z+")"),r(r("\\/\\/("+r("("+m+")@")+"?("+M+")"+r("\\:("+I+")")+"?)")+"?("+$+"|"+F+"|"+W+"|"+q+")"),r("\\?("+H+")"),r("\\#("+z+")"),r("("+m+")@"),r("\\:("+I+")");return{NOT_SCHEME:new RegExp(t("[^]",n,s,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",c,i),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",c,i),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",c,i),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",c,i),"g"),NOT_QUERY:new RegExp(t("[^\\%]",c,i,"[\\:\\@\\/\\?]",u),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",c,i,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",c,i),"g"),UNRESERVED:new RegExp(c,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",c,l),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+h+")$"),IPV6ADDRESS:new RegExp("^\\[?("+S+")"+r(r("\\%25|\\%(?!"+o+"{2})")+"("+A+")")+"?\\]?$")}}var a=o(!1),i=o(!0),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,s=!1,o=undefined;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){s=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(s)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u=2147483647,c=36,d=/^xn--/,m=/[^\0-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,b=String.fromCharCode;function g(e){throw new RangeError(h[e])}function w(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);var s=function(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(f,".")).split("."),t).join(".");return n+s}function y(e){for(var t=[],r=0,n=e.length;r<n;){var s=e.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&s)<<10)+(1023&o)+65536):(t.push(s),r--)}else t.push(s)}return t}var _=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c},k=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},v=function(e,t,r){var n=0;for(e=r?p(e/700):e>>1,e+=p(e/t);e>455;n+=c)e=p(e/35);return p(n+36*e/(e+38))},x=function(e){var t=[],r=e.length,n=0,s=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var i=0;i<a;++i)e.charCodeAt(i)>=128&&g("not-basic"),t.push(e.charCodeAt(i));for(var l=a>0?a+1:0;l<r;){for(var d=n,m=1,f=c;;f+=c){l>=r&&g("invalid-input");var h=_(e.charCodeAt(l++));(h>=c||h>p((u-n)/m))&&g("overflow"),n+=h*m;var b=f<=o?1:f>=o+26?26:f-o;if(h<b)break;var w=c-b;m>p(u/w)&&g("overflow"),m*=w}var y=t.length+1;o=v(n-d,y,0==d),p(n/y)>u-s&&g("overflow"),s+=p(n/y),n%=y,t.splice(n++,0,s)}return String.fromCodePoint.apply(String,t)},j=function(e){var t=[],r=(e=y(e)).length,n=128,s=0,o=72,a=!0,i=!1,l=undefined;try{for(var d,m=e[Symbol.iterator]();!(a=(d=m.next()).done);a=!0){var f=d.value;f<128&&t.push(b(f))}}catch(e){i=!0,l=e}finally{try{!a&&m.return&&m.return()}finally{if(i)throw l}}var h=t.length,w=h;for(h&&t.push("-");w<r;){var _=u,x=!0,j=!1,E=undefined;try{for(var S,A=e[Symbol.iterator]();!(x=(S=A.next()).done);x=!0){var R=S.value;R>=n&&R<_&&(_=R)}}catch(e){j=!0,E=e}finally{try{!x&&A.return&&A.return()}finally{if(j)throw E}}var T=w+1;_-n>p((u-s)/T)&&g("overflow"),s+=(_-n)*T,n=_;var O=!0,P=!1,M=undefined;try{for(var I,N=e[Symbol.iterator]();!(O=(I=N.next()).done);O=!0){var C=I.value;if(C<n&&++s>u&&g("overflow"),C==n){for(var L=s,D=c;;D+=c){var U=D<=o?1:D>=o+26?26:D-o;if(L<U)break;var $=L-U,F=c-U;t.push(b(k(U+$%F,0))),L=p($/F)}t.push(b(k(L,0))),o=v(s,T,w==h),s=0,++w}}}catch(e){P=!0,M=e}finally{try{!O&&N.return&&N.return()}finally{if(P)throw M}}++s,++n}return t.join("")},E=function(e){return w(e,function(e){return m.test(e)?"xn--"+j(e):e})},S=function(e){return w(e,function(e){return d.test(e)?x(e.slice(4).toLowerCase()):e})},A={};function R(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function T(e){for(var t="",r=0,n=e.length;r<n;){var s=parseInt(e.substr(r+1,2),16);if(s<128)t+=String.fromCharCode(s),r+=3;else if(s>=194&&s<224){if(n-r>=6){var o=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&s)<<6|63&o)}else t+=e.substr(r,6);r+=6}else if(s>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),i=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&s)<<12|(63&a)<<6|63&i)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function O(e,t){function r(e){var r=T(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),e.userinfo!==undefined&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,R).replace(t.PCT_ENCODED,s)),e.host!==undefined&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,R).replace(t.PCT_ENCODED,s)),e.path!==undefined&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,R).replace(t.PCT_ENCODED,s)),e.query!==undefined&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,R).replace(t.PCT_ENCODED,s)),e.fragment!==undefined&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,R).replace(t.PCT_ENCODED,s)),e}function P(e){return e.replace(/^0*(.*)/,"$1")||"0"}function M(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(P).join("."):e}function I(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),s=n[1],o=n[2];if(s){for(var a=s.toLowerCase().split("::").reverse(),i=l(a,2),u=i[0],c=i[1],d=c?c.split(":").map(P):[],m=u.split(":").map(P),f=t.IPV4ADDRESS.test(m[m.length-1]),h=f?7:8,p=m.length-h,b=Array(h),g=0;g<h;++g)b[g]=d[g]||m[p+g]||"";f&&(b[h-1]=M(b[h-1],t));var w=b.reduce(function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e},[]).sort(function(e,t){return t.length-e.length})[0],y=void 0;if(w&&w.length>1){var _=b.slice(0,w.index),k=b.slice(w.index+w.length);y=_.join(":")+"::"+k.join(":")}else y=b.join(":");return o&&(y+="%"+o),y}return e}var N=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,C="".match(/(){0}/)[1]===undefined;function L(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r={},n=!1!==t.iri?i:a;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var s=e.match(N);if(s){C?(r.scheme=s[1],r.userinfo=s[3],r.host=s[4],r.port=parseInt(s[5],10),r.path=s[6]||"",r.query=s[7],r.fragment=s[8],isNaN(r.port)&&(r.port=s[5])):(r.scheme=s[1]||undefined,r.userinfo=-1!==e.indexOf("@")?s[3]:undefined,r.host=-1!==e.indexOf("//")?s[4]:undefined,r.port=parseInt(s[5],10),r.path=s[6]||"",r.query=-1!==e.indexOf("?")?s[7]:undefined,r.fragment=-1!==e.indexOf("#")?s[8]:undefined,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?s[4]:undefined)),r.host&&(r.host=I(M(r.host,n),n)),r.scheme!==undefined||r.userinfo!==undefined||r.host!==undefined||r.port!==undefined||r.path||r.query!==undefined?r.scheme===undefined?r.reference="relative":r.fragment===undefined?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var o=A[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)O(r,n);else{if(r.host&&(t.domainHost||o&&o.domainHost))try{r.host=E(r.host.replace(n.PCT_ENCODED,T).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}O(r,a)}o&&o.parse&&o.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}var D=/^\.\.?\//,U=/^\/\.(\/|$)/,$=/^\/\.\.(\/|$)/,F=/^\/?(?:.|\n)*?(?=\/|$)/;function B(e){for(var t=[];e.length;)if(e.match(D))e=e.replace(D,"");else if(e.match(U))e=e.replace(U,"/");else if(e.match($))e=e.replace($,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(F);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function W(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r=t.iri?i:a,n=[],s=A[(t.scheme||e.scheme||"").toLowerCase()];if(s&&s.serialize&&s.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||s&&s.domainHost)try{e.host=t.iri?S(e.host):E(e.host.replace(r.PCT_ENCODED,T).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}O(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var o=function(e,t){var r=!1!==t.iri?i:a,n=[];return e.userinfo!==undefined&&(n.push(e.userinfo),n.push("@")),e.host!==undefined&&n.push(I(M(String(e.host),r),r).replace(r.IPV6ADDRESS,function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"})),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):undefined}(e,t);if(o!==undefined&&("suffix"!==t.reference&&n.push("//"),n.push(o),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),e.path!==undefined){var l=e.path;t.absolutePath||s&&s.absolutePath||(l=B(l)),o===undefined&&(l=l.replace(/^\/\//,"/%2F")),n.push(l)}return e.query!==undefined&&(n.push("?"),n.push(e.query)),e.fragment!==undefined&&(n.push("#"),n.push(e.fragment)),n.join("")}function q(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},n={};return arguments[3]||(e=L(W(e,r),r),t=L(W(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=B(t.path||""),n.query=t.query):(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=B(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=B(t.path):(e.userinfo===undefined&&e.host===undefined&&e.port===undefined||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=B(n.path)),n.query=t.query):(n.path=e.path,t.query!==undefined?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function H(e,t){return e&&e.toString().replace(t&&t.iri?i.PCT_ENCODED:a.PCT_ENCODED,T)}var z={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=undefined),e.path||(e.path="/"),e}},V={scheme:"https",domainHost:z.domainHost,parse:z.parse,serialize:z.serialize};function G(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var K={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=G(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=undefined,r.query=undefined,r},serialize:function(e,t){if(e.port!==(G(e)?443:80)&&""!==e.port||(e.port=undefined),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=undefined),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),s=n[0],o=n[1];e.path=s&&"/"!==s?s:undefined,e.query=o,e.resourceName=undefined}return e.fragment=undefined,e}},Y={scheme:"wss",domainHost:K.domainHost,parse:K.parse,serialize:K.serialize},X={},Z="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",J="[0-9A-Fa-f]",Q=r(r("%[EFef]"+J+"%"+J+J+"%"+J+J)+"|"+r("%[89A-Fa-f]"+J+"%"+J+J)+"|"+r("%"+J+J)),ee=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),te=new RegExp(Z,"g"),re=new RegExp(Q,"g"),ne=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',ee),"g"),se=new RegExp(t("[^]",Z,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),oe=se;function ae(e){var t=T(e);return t.match(te)?t:e}var ie={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=undefined,r.query){for(var s=!1,o={},a=r.query.split("&"),i=0,l=a.length;i<l;++i){var u=a[i].split("=");switch(u[0]){case"to":for(var c=u[1].split(","),d=0,m=c.length;d<m;++d)n.push(c[d]);break;case"subject":r.subject=H(u[1],t);break;case"body":r.body=H(u[1],t);break;default:s=!0,o[H(u[0],t)]=H(u[1],t)}}s&&(r.headers=o)}r.query=undefined;for(var f=0,h=n.length;f<h;++f){var p=n[f].split("@");if(p[0]=H(p[0]),t.unicodeSupport)p[1]=H(p[1],t).toLowerCase();else try{p[1]=E(H(p[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[f]=p.join("@")}return r},serialize:function(e,t){var r,n=e,o=(r=e.to)!==undefined&&null!==r?r instanceof Array?r:"number"!=typeof r.length||r.split||r.setInterval||r.call?[r]:Array.prototype.slice.call(r):[];if(o){for(var a=0,i=o.length;a<i;++a){var l=String(o[a]),u=l.lastIndexOf("@"),c=l.slice(0,u).replace(re,ae).replace(re,s).replace(ne,R),d=l.slice(u+1);try{d=t.iri?S(d):E(H(d,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}o[a]=c+"@"+d}n.path=o.join(",")}var m=e.headers=e.headers||{};e.subject&&(m.subject=e.subject),e.body&&(m.body=e.body);var f=[];for(var h in m)m[h]!==X[h]&&f.push(h.replace(re,ae).replace(re,s).replace(se,R)+"="+m[h].replace(re,ae).replace(re,s).replace(oe,R));return f.length&&(n.query=f.join("&")),n}},le=/^([^\:]+)\:(.*)/,ue={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(le),n=e;if(r){var s=t.scheme||n.scheme||"urn",o=r[1].toLowerCase(),a=r[2],i=s+":"+(t.nid||o),l=A[i];n.nid=o,n.nss=a,n.path=undefined,l&&(n=l.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,s=r+":"+(t.nid||n),o=A[s];o&&(e=o.serialize(e,t));var a=e,i=e.nss;return a.path=(n||t.nid)+":"+i,a}},ce=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,de={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=undefined,t.tolerant||r.uuid&&r.uuid.match(ce)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};A[z.scheme]=z,A[V.scheme]=V,A[K.scheme]=K,A[Y.scheme]=Y,A[ie.scheme]=ie,A[ue.scheme]=ue,A[de.scheme]=de,e.SCHEMES=A,e.pctEncChar=R,e.pctDecChars=T,e.parse=L,e.removeDotSegments=B,e.serialize=W,e.resolveComponents=q,e.resolve=function(e,t,r){var n=function(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}({scheme:"null"},r);return W(q(L(e,n),L(t,n),n,!0),n)},e.normalize=function(e,t){return"string"==typeof e?e=W(L(e,t),t):"object"===n(e)&&(e=L(W(e,t),t)),e},e.equal=function(e,t,r){return"string"==typeof e?e=W(L(e,r),r):"object"===n(e)&&(e=W(e,r)),"string"==typeof t?t=W(L(t,r),r):"object"===n(t)&&(t=W(t,r)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?i.ESCAPE:a.ESCAPE,R)},e.unescapeComponent=H,Object.defineProperty(e,"__esModule",{value:!0})})}}},{package:"uri-js",file:"node_modules/uri-js/dist/es5/uri.all.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/url/node_modules/punycode/punycode.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){var n="object"==typeof r&&r&&!r.nodeType&&r,s="object"==typeof t&&t&&!t.nodeType&&t,o="object"==typeof global&&global;o.global!==o&&o.window!==o&&o.self!==o||(e=o);var a,i,l=2147483647,u=36,c=/^xn--/,d=/[^\x20-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,p=String.fromCharCode;function b(e){throw new RangeError(f[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function w(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(m,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],s=0,o=e.length;s<o;)(t=e.charCodeAt(s++))>=55296&&t<=56319&&s<o?56320==(64512&(r=e.charCodeAt(s++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),s--):n.push(t);return n}function _(e){return g(e,function(e){var t="";return e>65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)}).join("")}function k(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:u}function v(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function x(e,t,r){var n=0;for(e=r?h(e/700):e>>1,e+=h(e/t);e>455;n+=u)e=h(e/35);return h(n+36*e/(e+38))}function j(e){var t,r,n,s,o,a,i,c,d,m,f=[],p=e.length,g=0,w=128,y=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&b("not-basic"),f.push(e.charCodeAt(n));for(s=r>0?r+1:0;s<p;){for(o=g,a=1,i=u;s>=p&&b("invalid-input"),((c=k(e.charCodeAt(s++)))>=u||c>h((l-g)/a))&&b("overflow"),g+=c*a,!(c<(d=i<=y?1:i>=y+26?26:i-y));i+=u)a>h(l/(m=u-d))&&b("overflow"),a*=m;y=x(g-o,t=f.length+1,0==o),h(g/t)>l-w&&b("overflow"),w+=h(g/t),g%=t,f.splice(g++,0,w)}return _(f)}function E(e){var t,r,n,s,o,a,i,c,d,m,f,g,w,_,k,j=[];for(g=(e=y(e)).length,t=128,r=0,o=72,a=0;a<g;++a)(f=e[a])<128&&j.push(p(f));for(n=s=j.length,s&&j.push("-");n<g;){for(i=l,a=0;a<g;++a)(f=e[a])>=t&&f<i&&(i=f);for(i-t>h((l-r)/(w=n+1))&&b("overflow"),r+=(i-t)*w,t=i,a=0;a<g;++a)if((f=e[a])<t&&++r>l&&b("overflow"),f==t){for(c=r,d=u;!(c<(m=d<=o?1:d>=o+26?26:d-o));d+=u)k=c-m,_=u-m,j.push(p(v(m+k%_,0))),c=h(k/_);j.push(p(v(c,0))),o=x(r,w,n==s),r=0,++n}++r,++t}return j.join("")}if(a={version:"1.4.1",ucs2:{decode:y,encode:_},decode:j,encode:E,toASCII:function(e){return w(e,function(e){return d.test(e)?"xn--"+E(e):e})},toUnicode:function(e){return w(e,function(e){return c.test(e)?j(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return a});else if(n&&s)if(t.exports==n)s.exports=a;else for(i in a)a.hasOwnProperty(i)&&(n[i]=a[i]);else e.punycode=a}(this)}}},{package:"browserify>url>punycode",file:"node_modules/url/node_modules/punycode/punycode.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/url/url.js",{"punycode/":"/home/runner/work/metamask-extension/metamask-extension/node_modules/url/node_modules/punycode/punycode.js",qs:"/home/runner/work/metamask-extension/metamask-extension/node_modules/qs/lib/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("punycode/");function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),c=["%","/","?",";","#"].concat(u),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},p={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=e("qs");function w(e,t,r){if(e&&"object"==typeof e&&e instanceof s)return e;var n=new s;return n.parse(e,t,r),n}s.prototype.parse=function(e,t,r){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),a=-1!==s&&s<e.indexOf("#")?"?":"#",l=e.split(a);l[0]=l[0].replace(/\\/g,"/");var w=e=l.join(a);if(w=w.trim(),!r&&1===e.split("#").length){var y=i.exec(w);if(y)return this.path=w,this.href=w,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=o.exec(w);if(_){var k=(_=_[0]).toLowerCase();this.protocol=k,w=w.substr(_.length)}if(r||_||w.match(/^\/\/[^@/]+@[^@/]+/)){var v="//"===w.substr(0,2);!v||_&&p[_]||(w=w.substr(2),this.slashes=!0)}if(!p[_]&&(v||_&&!b[_])){for(var x,j,E=-1,S=0;S<d.length;S++){-1!==(A=w.indexOf(d[S]))&&(-1===E||A<E)&&(E=A)}-1!==(j=-1===E?w.lastIndexOf("@"):w.lastIndexOf("@",E))&&(x=w.slice(0,j),w=w.slice(j+1),this.auth=decodeURIComponent(x)),E=-1;for(S=0;S<c.length;S++){var A;-1!==(A=w.indexOf(c[S]))&&(-1===E||A<E)&&(E=A)}-1===E&&(E=w.length),this.host=w.slice(0,E),w=w.slice(E),this.parseHost(),this.hostname=this.hostname||"";var R="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!R)for(var T=this.hostname.split(/\./),O=(S=0,T.length);S<O;S++){var P=T[S];if(P&&!P.match(m)){for(var M="",I=0,N=P.length;I<N;I++)P.charCodeAt(I)>127?M+="x":M+=P[I];if(!M.match(m)){var C=T.slice(0,S),L=T.slice(S+1),D=P.match(f);D&&(C.push(D[1]),L.unshift(D[2])),L.length&&(w="/"+L.join(".")+w),this.hostname=C.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=n.toASCII(this.hostname));var U=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+U,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!h[k])for(S=0,O=u.length;S<O;S++){var F=u[S];if(-1!==w.indexOf(F)){var B=encodeURIComponent(F);B===F&&(B=escape(F)),w=w.split(F).join(B)}}var W=w.indexOf("#");-1!==W&&(this.hash=w.substr(W),w=w.slice(0,W));var q=w.indexOf("?");if(-1!==q?(this.search=w.substr(q),this.query=w.substr(q+1),t&&(this.query=g.parse(this.query)),w=w.slice(0,q)):t&&(this.search="",this.query={}),w&&(this.pathname=w),b[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var H=this.search||"";this.path=U+H}return this.href=this.format(),this},s.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",s=!1,o="";this.host?s=e+this.host:this.hostname&&(s=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(s+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(o=g.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==s?(s="//"+(s||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):s||(s=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),t+s+(r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+n},s.prototype.resolve=function(e){return this.resolveObject(w(e,!1,!0)).format()},s.prototype.resolveObject=function(e){if("string"==typeof e){var t=new s;t.parse(e,!1,!0),e=t}for(var r=new s,n=Object.keys(this),o=0;o<n.length;o++){var a=n[o];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var i=Object.keys(e),l=0;l<i.length;l++){var u=i[l];"protocol"!==u&&(r[u]=e[u])}return b[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!b[e.protocol]){for(var c=Object.keys(e),d=0;d<c.length;d++){var m=c[d];r[m]=e[m]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||p[e.protocol])r.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var h=r.pathname||"",g=r.search||"";r.path=h+g}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var w=r.pathname&&"/"===r.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=y||w||r.host&&e.pathname,k=_,v=r.pathname&&r.pathname.split("/")||[],x=(f=e.pathname&&e.pathname.split("/")||[],r.protocol&&!b[r.protocol]);if(x&&(r.hostname="",r.port=null,r.host&&(""===v[0]?v[0]=r.host:v.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),_=_&&(""===f[0]||""===v[0])),y)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,v=f;else if(f.length)v||(v=[]),v.pop(),v=v.concat(f),r.search=e.search,r.query=e.query;else if(null!=e.search){if(x)r.host=v.shift(),r.hostname=r.host,(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.hostname=R.shift(),r.host=r.hostname);return r.search=e.search,r.query=e.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!v.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var j=v.slice(-1)[0],E=(r.host||e.host||v.length>1)&&("."===j||".."===j)||""===j,S=0,A=v.length;A>=0;A--)"."===(j=v[A])?v.splice(A,1):".."===j?(v.splice(A,1),S++):S&&(v.splice(A,1),S--);if(!_&&!k)for(;S--;S)v.unshift("..");!_||""===v[0]||v[0]&&"/"===v[0].charAt(0)||v.unshift(""),E&&"/"!==v.join("/").substr(-1)&&v.push("");var R,T=""===v[0]||v[0]&&"/"===v[0].charAt(0);x&&(r.hostname=T?"":v.length?v.shift():"",r.host=r.hostname,(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.hostname=R.shift(),r.host=r.hostname));return(_=_||r.host&&v.length)&&!T&&v.unshift(""),v.length>0?r.pathname=v.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},s.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},r.parse=w,r.resolve=function(e,t){return w(e,!1,!0).resolve(t)},r.resolveObject=function(e,t){return e?w(e,!1,!0).resolveObject(t):t},r.format=function(e){return"string"==typeof e&&(e=w(e)),e instanceof s?e.format():s.prototype.format.call(e)},r.Url=s}}},{package:"browserify>url",file:"node_modules/url/url.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/assignRef.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.assignRef=void 0,r.assignRef=function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/assignRef.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/createRef.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createCallbackRef=void 0,r.createCallbackRef=function(e){var t=null;return{get current(){return t},set current(r){var n=t;n!==r&&(t=r,e(r,n))}}}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/createRef.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/index.js",{"./assignRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/assignRef.js","./createRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/createRef.js","./mergeRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/mergeRef.js","./refToCallback":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/refToCallback.js","./transformRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/transformRef.js","./useMergeRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/useMergeRef.js","./useRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/useRef.js","./useTransformRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/useTransformRef.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useRefToCallback=r.refToCallback=r.transformRef=r.useTransformRef=r.useMergeRefs=r.mergeRefs=r.createCallbackRef=r.useCallbackRef=r.assignRef=void 0;var n=e("./assignRef");Object.defineProperty(r,"assignRef",{enumerable:!0,get:function(){return n.assignRef}});var s=e("./useRef");Object.defineProperty(r,"useCallbackRef",{enumerable:!0,get:function(){return s.useCallbackRef}});var o=e("./createRef");Object.defineProperty(r,"createCallbackRef",{enumerable:!0,get:function(){return o.createCallbackRef}});var a=e("./mergeRef");Object.defineProperty(r,"mergeRefs",{enumerable:!0,get:function(){return a.mergeRefs}});var i=e("./useMergeRef");Object.defineProperty(r,"useMergeRefs",{enumerable:!0,get:function(){return i.useMergeRefs}});var l=e("./useTransformRef");Object.defineProperty(r,"useTransformRef",{enumerable:!0,get:function(){return l.useTransformRef}});var u=e("./transformRef");Object.defineProperty(r,"transformRef",{enumerable:!0,get:function(){return u.transformRef}});var c=e("./refToCallback");Object.defineProperty(r,"refToCallback",{enumerable:!0,get:function(){return c.refToCallback}}),Object.defineProperty(r,"useRefToCallback",{enumerable:!0,get:function(){return c.useRefToCallback}})}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/mergeRef.js",{"./assignRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/assignRef.js","./createRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/createRef.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeRefs=void 0;var n=e("./assignRef"),s=e("./createRef");r.mergeRefs=function(e){return(0,s.createCallbackRef)(function(t){return e.forEach(function(e){return(0,n.assignRef)(e,t)})})}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/mergeRef.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/refToCallback.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return function(t){"function"==typeof e?e(t):e&&(e.current=t)}}Object.defineProperty(r,"__esModule",{value:!0}),r.useRefToCallback=r.refToCallback=void 0,r.refToCallback=n;var s=function(){return null},o=new WeakMap;r.useRefToCallback=function(e){return function(e){var t=e||s,r=o.get(t);if(r)return r;var a=n(t);return o.set(t,a),a}(e)}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/refToCallback.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/transformRef.js",{"./assignRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/assignRef.js","./createRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/createRef.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.transformRef=void 0;var n=e("./assignRef"),s=e("./createRef");r.transformRef=function(e,t){return(0,s.createCallbackRef)(function(r){return(0,n.assignRef)(e,t(r))})}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/transformRef.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/useMergeRef.js",{"./assignRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/assignRef.js","./useRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/useRef.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useMergeRefs=void 0;var n=e("./assignRef"),s=e("./useRef");r.useMergeRefs=function(e,t){return(0,s.useCallbackRef)(t||null,function(t){return e.forEach(function(e){return(0,n.assignRef)(e,t)})})}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useMergeRef.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/useRef.js",{react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useCallbackRef=void 0;var n=e("react");r.useCallbackRef=function(e,t){var r=(0,n.useState)(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(e){var t=r.value;t!==e&&(r.value=e,r.callback(e,t))}}}})[0];return r.callback=t,r.facade}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useRef.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/useTransformRef.js",{"./assignRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/assignRef.js","./useRef":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-callback-ref/dist/es5/useRef.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useTransformRef=void 0;var n=e("./assignRef"),s=e("./useRef");r.useTransformRef=function(e,t){return(0,s.useCallbackRef)(null,function(r){return(0,n.assignRef)(e,t(r))})}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useTransformRef.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/config.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.setConfig=r.config=void 0,r.config={onError:function(e){return console.error(e)}};r.setConfig=function(e){Object.assign(r.config,e)}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/config.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/env.js",{"detect-node-es":"/home/runner/work/metamask-extension/metamask-extension/node_modules/detect-node-es/es5/browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.env=void 0;var n=e("detect-node-es");r.env={isNode:n.isNode,forceCache:!1}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/env.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/exports.js",{react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js",tslib:"/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exportSidecar=void 0;var n=e("tslib"),s=n.__importStar(e("react")),o=function(e){var t=e.sideCar,r=n.__rest(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return s.createElement(o,n.__assign({},r))};o.isSideCarExport=!0,r.exportSidecar=function(e,t){return e.useMedium(t),o}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/exports.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/hoc.js",{"./hook":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/hook.js",react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js",tslib:"/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sidecar=void 0;var n=e("tslib"),s=n.__importStar(e("react")),o=e("./hook");r.sidecar=function(e,t){var r=function(){return t};return function(a){var i=(0,o.useSidecar)(e,a.sideCar),l=i[0];return i[1]&&t?r:l?s.createElement(l,n.__assign({},a)):null}}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/hoc.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/hook.js",{"./env":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/env.js",react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useSidecar=void 0;var n=e("react"),s=e("./env"),o=new WeakMap,a={};r.useSidecar=function(e,t){var r=t&&t.options||a;return s.env.isNode&&!r.ssr?[null,null]:function(e,t){var r=t&&t.options||a,i=s.env.forceCache||s.env.isNode&&!!r.ssr||!r.async,l=(0,n.useState)(i?function(){return o.get(e)}:undefined),u=l[0],c=l[1],d=(0,n.useState)(null),m=d[0],f=d[1];return(0,n.useEffect)(function(){u||e().then(function(r){var n,s=t?t.read():r.default||r;if(!s)throw console.error("Sidecar error: with importer",e),t?(console.error("Sidecar error: with medium",t),n=new Error("Sidecar medium was not found")):n=new Error("Sidecar was not found in exports"),f(function(){return n}),n;o.set(e,s),c(function(){return s})},function(e){return f(function(){return e})})},[]),[u,m]}(e,t)}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/hook.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/index.js",{"./config":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/config.js","./exports":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/exports.js","./hoc":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/hoc.js","./hook":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/hook.js","./medium":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/medium.js","./renderProp":"/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/renderProp.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exportSidecar=r.renderCar=r.createSidecarMedium=r.createMedium=r.setConfig=r.useSidecar=r.sidecar=void 0;var n=e("./hoc");Object.defineProperty(r,"sidecar",{enumerable:!0,get:function(){return n.sidecar}});var s=e("./hook");Object.defineProperty(r,"useSidecar",{enumerable:!0,get:function(){return s.useSidecar}});var o=e("./config");Object.defineProperty(r,"setConfig",{enumerable:!0,get:function(){return o.setConfig}});var a=e("./medium");Object.defineProperty(r,"createMedium",{enumerable:!0,get:function(){return a.createMedium}}),Object.defineProperty(r,"createSidecarMedium",{enumerable:!0,get:function(){return a.createSidecarMedium}});var i=e("./renderProp");Object.defineProperty(r,"renderCar",{enumerable:!0,get:function(){return i.renderCar}});var l=e("./exports");Object.defineProperty(r,"exportSidecar",{enumerable:!0,get:function(){return l.exportSidecar}})}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/medium.js",{tslib:"/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createSidecarMedium=r.createMedium=void 0;var n=e("tslib");function s(e){return e}function o(e,t){void 0===t&&(t=s);var r=[],n=!1;return{read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var s=t(e,n);return r.push(s),function(){r=r.filter(function(e){return e!==s})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var s=r;r=[],s.forEach(e),t=r}var o=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}}r.createMedium=function(e,t){return void 0===t&&(t=s),o(e,t)},r.createSidecarMedium=function(e){void 0===e&&(e={});var t=o(null);return t.options=n.__assign({async:!0,ssr:!1},e),t}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/medium.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/use-sidecar/dist/es5/renderProp.js",{react:"/home/runner/work/metamask-extension/metamask-extension/node_modules/react/index.js",tslib:"/home/runner/work/metamask-extension/metamask-extension/node_modules/tslib/tslib.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.renderCar=void 0;var n=e("tslib"),s=n.__importStar(e("react")),o=e("react");r.renderCar=function(e,t){function r(t){var r=t.stateRef,a=t.props,i=(0,o.useCallback)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,o.useLayoutEffect)(function(){r.current(e)}),null},[]);return s.createElement(e,n.__assign({},a,{children:i}))}var a=s.memo(function(e){var t=e.stateRef,r=e.defaultState,n=e.children,s=(0,o.useState)(r.current),a=s[0],i=s[1];return(0,o.useEffect)(function(){t.current=i},[]),n.apply(void 0,a)},function(){return!0});return function(e){var n=s.useRef(t(e)),o=s.useRef(function(e){return n.current=e});return s.createElement(s.Fragment,null,s.createElement(r,{stateRef:o,props:e}),s.createElement(a,{stateRef:o,defaultState:n,children:e.children}))}}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/renderProp.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/utf8/utf8.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){var t,r,n,s=String.fromCharCode;function o(e){for(var t,r,n=[],s=0,o=e.length;s<o;)(t=e.charCodeAt(s++))>=55296&&t<=56319&&s<o?56320==(64512&(r=e.charCodeAt(s++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),s--):n.push(t);return n}function a(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function i(e,t){return s(e>>t&63|128)}function l(e){if(!(4294967168&e))return s(e);var t="";return 4294965248&e?4294901760&e?4292870144&e||(t=s(e>>18&7|240),t+=i(e,12),t+=i(e,6)):(a(e),t=s(e>>12&15|224),t+=i(e,6)):t=s(e>>6&31|192),t+=s(63&e|128)}function u(){if(n>=r)throw Error("Invalid byte index");var e=255&t[n];if(n++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function c(){var e,s;if(n>r)throw Error("Invalid byte index");if(n==r)return!1;if(e=255&t[n],n++,!(128&e))return e;if(192==(224&e)){if((s=(31&e)<<6|u())>=128)return s;throw Error("Invalid continuation byte")}if(224==(240&e)){if((s=(15&e)<<12|u()<<6|u())>=2048)return a(s),s;throw Error("Invalid continuation byte")}if(240==(248&e)&&(s=(7&e)<<18|u()<<12|u()<<6|u())>=65536&&s<=1114111)return s;throw Error("Invalid UTF-8 detected")}e.version="3.0.0",e.encode=function(e){for(var t=o(e),r=t.length,n=-1,s="";++n<r;)s+=l(t[n]);return s},e.decode=function(e){t=o(e),r=t.length,n=0;for(var a,i=[];!1!==(a=c());)i.push(a);return function(e){for(var t,r=e.length,n=-1,o="";++n<r;)(t=e[n])>65535&&(o+=s((t-=65536)>>>10&1023|55296),t=56320|1023&t),o+=s(t);return o}(i)}}(void 0===r?this.utf8={}:r)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>utf8",file:"node_modules/utf8/utf8.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/util-deprecate/browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){try{if(!global.localStorage)return!1}catch(e){return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}}},{package:"@storybook/react>util-deprecate",file:"node_modules/util-deprecate/browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/util/support/isBufferBrowser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}}}},{package:"browserify>util",file:"node_modules/util/support/isBufferBrowser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/util/support/types.js",{"is-arguments":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-arguments/index.js","is-generator-function":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-generator-function/index.js","is-typed-array":"/home/runner/work/metamask-extension/metamask-extension/node_modules/is-typed-array/index.js","which-typed-array":"/home/runner/work/metamask-extension/metamask-extension/node_modules/which-typed-array/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-arguments"),s=e("is-generator-function"),o=e("which-typed-array"),a=e("is-typed-array");function i(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=i(Object.prototype.toString),d=i(Number.prototype.valueOf),m=i(String.prototype.valueOf),f=i(Boolean.prototype.valueOf);if(l)var h=i(BigInt.prototype.valueOf);if(u)var p=i(Symbol.prototype.valueOf);function b(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"[object Map]"===c(e)}function w(e){return"[object Set]"===c(e)}function y(e){return"[object WeakMap]"===c(e)}function _(e){return"[object WeakSet]"===c(e)}function k(e){return"[object ArrayBuffer]"===c(e)}function v(e){return"undefined"!=typeof ArrayBuffer&&(k.working?k(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===c(e)}function j(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}r.isArgumentsObject=n,r.isGeneratorFunction=s,r.isTypedArray=a,r.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},r.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||j(e)},r.isUint8Array=function(e){return"Uint8Array"===o(e)},r.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},r.isUint16Array=function(e){return"Uint16Array"===o(e)},r.isUint32Array=function(e){return"Uint32Array"===o(e)},r.isInt8Array=function(e){return"Int8Array"===o(e)},r.isInt16Array=function(e){return"Int16Array"===o(e)},r.isInt32Array=function(e){return"Int32Array"===o(e)},r.isFloat32Array=function(e){return"Float32Array"===o(e)},r.isFloat64Array=function(e){return"Float64Array"===o(e)},r.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},r.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},g.working="undefined"!=typeof Map&&g(new Map),r.isMap=function(e){return"undefined"!=typeof Map&&(g.working?g(e):e instanceof Map)},w.working="undefined"!=typeof Set&&w(new Set),r.isSet=function(e){return"undefined"!=typeof Set&&(w.working?w(e):e instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap),r.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(y.working?y(e):e instanceof WeakMap)},_.working="undefined"!=typeof WeakSet&&_(new WeakSet),r.isWeakSet=function(e){return _(e)},k.working="undefined"!=typeof ArrayBuffer&&k(new ArrayBuffer),r.isArrayBuffer=v,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=j;var E="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:undefined;function S(e){return"[object SharedArrayBuffer]"===c(e)}function A(e){return void 0!==E&&(void 0===S.working&&(S.working=S(new E)),S.working?S(e):e instanceof E)}function R(e){return b(e,d)}function T(e){return b(e,m)}function O(e){return b(e,f)}function P(e){return l&&b(e,h)}function M(e){return u&&b(e,p)}r.isSharedArrayBuffer=A,r.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},r.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},r.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},r.isGeneratorObject=function(e){return"[object Generator]"===c(e)},r.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},r.isNumberObject=R,r.isStringObject=T,r.isBooleanObject=O,r.isBigIntObject=P,r.isSymbolObject=M,r.isBoxedPrimitive=function(e){return R(e)||T(e)||O(e)||P(e)||M(e)},r.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(v(e)||A(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(r,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})}}},{package:"browserify>util",file:"node_modules/util/support/types.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/util/util.js",{"./support/isBuffer":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util/support/isBufferBrowser.js","./support/types":"/home/runner/work/metamask-extension/metamask-extension/node_modules/util/support/types.js",_process:"/home/runner/work/metamask-extension/metamask-extension/node_modules/process/browser.js",inherits:"/home/runner/work/metamask-extension/metamask-extension/node_modules/inherits/inherits_browser.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},s=/%[sdj%]/g;r.format=function(e){if(!g(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(i(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(s,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),l=n[r];r<o;l=n[++r])p(l)||!_(l)?a+=" "+l:a+=" "+i(l);return a},r.deprecate=function(e,n){if(void 0!==t&&!0===t.noDeprecation)return e;if(void 0===t)return function(){return r.deprecate(e,n).apply(this,arguments)};var s=!1;return function(){if(!s){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),s=!0}return e.apply(this,arguments)}};var o={},a=/^$/;function i(e,t){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(t)?n.showHidden=t:t&&r._extend(n,t),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,e,n.depth)}function l(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function u(e,t){return e}function c(e,t,n){if(e.customInspect&&t&&x(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var s=t.inspect(n,e);return g(s)||(s=c(e,s,n)),s}var o=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(b(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(p(t))return e.stylize("null","null")}(e,t);if(o)return o;var a=Object.keys(t),i=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),v(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(t);if(0===a.length){if(x(t)){var l=t.name?": "+t.name:"";return e.stylize("[Function"+l+"]","special")}if(y(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(v(t))return d(t)}var u,_="",j=!1,E=["{","}"];(f(t)&&(j=!0,E=["[","]"]),x(t))&&(_=" [Function"+(t.name?": "+t.name:"")+"]");return y(t)&&(_=" "+RegExp.prototype.toString.call(t)),k(t)&&(_=" "+Date.prototype.toUTCString.call(t)),v(t)&&(_=" "+d(t)),0!==a.length||j&&0!=t.length?n<0?y(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=j?function(e,t,r,n,s){for(var o=[],a=0,i=t.length;a<i;++a)A(t,String(a))?o.push(m(e,t,r,n,String(a),!0)):o.push("");return s.forEach(function(s){s.match(/^\d+$/)||o.push(m(e,t,r,n,s,!0))}),o}(e,t,n,i,a):a.map(function(r){return m(e,t,n,i,r,j)}),e.seen.pop(),function(e,t,r){var n=e.reduce(function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,_,E)):E[0]+_+E[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,r,n,s,o){var a,i,l;if((l=Object.getOwnPropertyDescriptor(t,s)||{value:t[s]}).get?i=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(i=e.stylize("[Setter]","special")),A(n,s)||(a="["+s+"]"),i||(e.seen.indexOf(l.value)<0?(i=p(r)?c(e,l.value,null):c(e,l.value,r-1)).indexOf("\n")>-1&&(i=o?i.split("\n").map(function(e){return"  "+e}).join("\n").slice(2):"\n"+i.split("\n").map(function(e){return"   "+e}).join("\n")):i=e.stylize("[Circular]","special")),w(a)){if(o&&s.match(/^\d+$/))return i;(a=JSON.stringify(""+s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+i}function f(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function p(e){return null===e}function b(e){return"number"==typeof e}function g(e){return"string"==typeof e}function w(e){return void 0===e}function y(e){return _(e)&&"[object RegExp]"===j(e)}function _(e){return"object"==typeof e&&null!==e}function k(e){return _(e)&&"[object Date]"===j(e)}function v(e){return _(e)&&("[object Error]"===j(e)||e instanceof Error)}function x(e){return"function"==typeof e}function j(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(a.test(e)){var n=t.pid;o[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else o[e]=function(){};return o[e]},r.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=e("./support/types"),r.isArray=f,r.isBoolean=h,r.isNull=p,r.isNullOrUndefined=function(e){return null==e},r.isNumber=b,r.isString=g,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=w,r.isRegExp=y,r.types.isRegExp=y,r.isObject=_,r.isDate=k,r.types.isDate=k,r.isError=v,r.types.isNativeError=v,r.isFunction=x,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){var e,t;console.log("%s - %s",(e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":"),[e.getDate(),S[e.getMonth()],t].join(" ")),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):undefined;function T(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}r.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!=typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),s=[],o=0;o<arguments.length;o++)s.push(arguments[o]);s.push(function(e,n){e?r(e):t(n)});try{e.apply(this,s)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},r.promisify.custom=R,r.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var s=r.pop();if("function"!=typeof s)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return s.apply(o,arguments)};e.apply(this,r).then(function(e){t.nextTick(a.bind(null,null,e))},function(e){t.nextTick(T.bind(null,e,a))})}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),Object.defineProperties(r,n(e)),r}}).call(this)}).call(this,e("_process"))}}},{package:"browserify>util",file:"node_modules/util/util.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/index.js",{"./nil.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/nil.js","./parse.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/parse.js","./stringify.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js","./v1.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v1.js","./v3.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v3.js","./v4.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v4.js","./v5.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v5.js","./validate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js","./version.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/version.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return d.default}});var n=m(e("./v1.js")),s=m(e("./v3.js")),o=m(e("./v4.js")),a=m(e("./v5.js")),i=m(e("./nil.js")),l=m(e("./version.js")),u=m(e("./validate.js")),c=m(e("./stringify.js")),d=m(e("./parse.js"));function m(e){return e&&e.__esModule?e:{default:e}}}}},{package:"uuid",file:"node_modules/uuid/dist/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/md5-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return 14+(e+64>>>9<<4)+1}function s(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,n,o,a){return s((i=s(s(t,e),s(n,a)))<<(l=o)|i>>>32-l,r);var i,l}function a(e,t,r,n,s,a,i){return o(t&r|~t&n,e,t,s,a,i)}function i(e,t,r,n,s,a,i){return o(t&n|r&~n,e,t,s,a,i)}function l(e,t,r,n,s,a,i){return o(t^r^n,e,t,s,a,i)}function u(e,t,r,n,s,a,i){return o(r^(t|~n),e,t,s,a,i)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var c=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){const t=[],r=32*e.length,n="0123456789abcdef";for(let s=0;s<r;s+=8){const r=e[s>>5]>>>s%32&255,o=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let r=1732584193,o=-271733879,c=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){const n=r,m=o,f=c,h=d;r=a(r,o,c,d,e[t],7,-680876936),d=a(d,r,o,c,e[t+1],12,-389564586),c=a(c,d,r,o,e[t+2],17,606105819),o=a(o,c,d,r,e[t+3],22,-1044525330),r=a(r,o,c,d,e[t+4],7,-176418897),d=a(d,r,o,c,e[t+5],12,1200080426),c=a(c,d,r,o,e[t+6],17,-1473231341),o=a(o,c,d,r,e[t+7],22,-45705983),r=a(r,o,c,d,e[t+8],7,1770035416),d=a(d,r,o,c,e[t+9],12,-1958414417),c=a(c,d,r,o,e[t+10],17,-42063),o=a(o,c,d,r,e[t+11],22,-1990404162),r=a(r,o,c,d,e[t+12],7,1804603682),d=a(d,r,o,c,e[t+13],12,-40341101),c=a(c,d,r,o,e[t+14],17,-1502002290),o=a(o,c,d,r,e[t+15],22,1236535329),r=i(r,o,c,d,e[t+1],5,-165796510),d=i(d,r,o,c,e[t+6],9,-1069501632),c=i(c,d,r,o,e[t+11],14,643717713),o=i(o,c,d,r,e[t],20,-373897302),r=i(r,o,c,d,e[t+5],5,-701558691),d=i(d,r,o,c,e[t+10],9,38016083),c=i(c,d,r,o,e[t+15],14,-660478335),o=i(o,c,d,r,e[t+4],20,-405537848),r=i(r,o,c,d,e[t+9],5,568446438),d=i(d,r,o,c,e[t+14],9,-1019803690),c=i(c,d,r,o,e[t+3],14,-187363961),o=i(o,c,d,r,e[t+8],20,1163531501),r=i(r,o,c,d,e[t+13],5,-1444681467),d=i(d,r,o,c,e[t+2],9,-51403784),c=i(c,d,r,o,e[t+7],14,1735328473),o=i(o,c,d,r,e[t+12],20,-1926607734),r=l(r,o,c,d,e[t+5],4,-378558),d=l(d,r,o,c,e[t+8],11,-2022574463),c=l(c,d,r,o,e[t+11],16,1839030562),o=l(o,c,d,r,e[t+14],23,-35309556),r=l(r,o,c,d,e[t+1],4,-1530992060),d=l(d,r,o,c,e[t+4],11,1272893353),c=l(c,d,r,o,e[t+7],16,-155497632),o=l(o,c,d,r,e[t+10],23,-1094730640),r=l(r,o,c,d,e[t+13],4,681279174),d=l(d,r,o,c,e[t],11,-358537222),c=l(c,d,r,o,e[t+3],16,-722521979),o=l(o,c,d,r,e[t+6],23,76029189),r=l(r,o,c,d,e[t+9],4,-640364487),d=l(d,r,o,c,e[t+12],11,-421815835),c=l(c,d,r,o,e[t+15],16,530742520),o=l(o,c,d,r,e[t+2],23,-995338651),r=u(r,o,c,d,e[t],6,-198630844),d=u(d,r,o,c,e[t+7],10,1126891415),c=u(c,d,r,o,e[t+14],15,-1416354905),o=u(o,c,d,r,e[t+5],21,-57434055),r=u(r,o,c,d,e[t+12],6,1700485571),d=u(d,r,o,c,e[t+3],10,-1894986606),c=u(c,d,r,o,e[t+10],15,-1051523),o=u(o,c,d,r,e[t+1],21,-2054922799),r=u(r,o,c,d,e[t+8],6,1873313359),d=u(d,r,o,c,e[t+15],10,-30611744),c=u(c,d,r,o,e[t+6],15,-1560198380),o=u(o,c,d,r,e[t+13],21,1309151649),r=u(r,o,c,d,e[t+4],6,-145523070),d=u(d,r,o,c,e[t+11],10,-1120210379),c=u(c,d,r,o,e[t+2],15,718787259),o=u(o,c,d,r,e[t+9],21,-343485551),r=s(r,n),o=s(o,m),c=s(c,f),d=s(d,h)}return[r,o,c,d]}(function(e){if(0===e.length)return[];const t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))};r.default=c}}},{package:"uuid",file:"node_modules/uuid/dist/md5-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/nil.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default="00000000-0000-0000-0000-000000000000"}}},{package:"uuid",file:"node_modules/uuid/dist/nil.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/parse.js",{"./validate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./validate.js"))&&n.__esModule?n:{default:n};var o=function(e){if(!(0,s.default)(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};r.default=o}}},{package:"uuid",file:"node_modules/uuid/dist/parse.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/regex.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=/^(?:[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}}},{package:"uuid",file:"node_modules/uuid/dist/regex.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/rng-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(s)};const s=new Uint8Array(16)}}},{package:"uuid",file:"node_modules/uuid/dist/rng-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/sha1-browser.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function s(e,t){return e<<t|e>>>32-t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,a=Math.ceil(o/16),i=new Array(a);for(let t=0;t<a;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];i[t]=r}i[a-1][14]=8*(e.length-1)/Math.pow(2,32),i[a-1][14]=Math.floor(i[a-1][14]),i[a-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<a;++e){const o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=i[e][t];for(let e=16;e<80;++e)o[e]=s(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let a=r[0],l=r[1],u=r[2],c=r[3],d=r[4];for(let e=0;e<80;++e){const r=Math.floor(e/20),i=s(a,5)+n(r,l,u,c)+d+t[r]+o[e]>>>0;d=c,c=u,u=s(l,30)>>>0,l=a,a=i}r[0]=r[0]+a>>>0,r[1]=r[1]+l>>>0,r[2]=r[2]+u>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+d>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]};r.default=o}}},{package:"uuid",file:"node_modules/uuid/dist/sha1-browser.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js",{"./validate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./validate.js"))&&n.__esModule?n:{default:n};const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).substr(1));var a=function(e,t=0){const r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,s.default)(r))throw TypeError("Stringified UUID is invalid");return r};r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/stringify.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v1.js",{"./rng.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/rng-browser.js","./stringify.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./rng.js")),s=o(e("./stringify.js"));function o(e){return e&&e.__esModule?e:{default:e}}let a,i,l=0,u=0;var c=function(e,t,r){let o=t&&r||0;const c=t||new Array(16);let d=(e=e||{}).node||a,m=e.clockseq!==undefined?e.clockseq:i;if(null==d||null==m){const t=e.random||(e.rng||n.default)();null==d&&(d=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==m&&(m=i=16383&(t[6]<<8|t[7]))}let f=e.msecs!==undefined?e.msecs:Date.now(),h=e.nsecs!==undefined?e.nsecs:u+1;const p=f-l+(h-u)/1e4;if(p<0&&e.clockseq===undefined&&(m=m+1&16383),(p<0||f>l)&&e.nsecs===undefined&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=f,u=h,i=m,f+=122192928e5;const b=(1e4*(268435455&f)+h)%4294967296;c[o++]=b>>>24&255,c[o++]=b>>>16&255,c[o++]=b>>>8&255,c[o++]=255&b;const g=f/4294967296*1e4&268435455;c[o++]=g>>>8&255,c[o++]=255&g,c[o++]=g>>>24&15|16,c[o++]=g>>>16&255,c[o++]=m>>>8|128,c[o++]=255&m;for(let e=0;e<6;++e)c[o+e]=d[e];return t||(0,s.default)(c)};r.default=c}}},{package:"uuid",file:"node_modules/uuid/dist/v1.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v3.js",{"./md5.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/md5-browser.js","./v35.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v35.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./v35.js")),s=o(e("./md5.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v3",48,s.default);r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/v3.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v35.js",{"./parse.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/parse.js","./stringify.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){function o(e,o,a,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof o&&(o=(0,s.default)(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+e.length);if(l.set(o),l.set(e,o.length),l=r(l),l[6]=15&l[6]|t,l[8]=63&l[8]|128,a){i=i||0;for(let e=0;e<16;++e)a[i+e]=l[e];return a}return(0,n.default)(l)}try{o.name=e}catch(e){}return o.DNS=a,o.URL=i,o},r.URL=r.DNS=void 0;var n=o(e("./stringify.js")),s=o(e("./parse.js"));function o(e){return e&&e.__esModule?e:{default:e}}const a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";r.DNS=a;const i="6ba7b811-9dad-11d1-80b4-00c04fd430c8";r.URL=i}}},{package:"uuid",file:"node_modules/uuid/dist/v35.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v4.js",{"./rng.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/rng-browser.js","./stringify.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/stringify.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./rng.js")),s=o(e("./stringify.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,r){const o=(e=e||{}).random||(e.rng||n.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=o[e];return t}return(0,s.default)(o)};r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/v4.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v5.js",{"./sha1.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/sha1-browser.js","./v35.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/v35.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./v35.js")),s=o(e("./sha1.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v5",80,s.default);r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/v5.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js",{"./regex.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/regex.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./regex.js"))&&n.__esModule?n:{default:n};var o=function(e){return"string"==typeof e&&s.default.test(e)};r.default=o}}},{package:"uuid",file:"node_modules/uuid/dist/validate.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/version.js",{"./validate.js":"/home/runner/work/metamask-extension/metamask-extension/node_modules/uuid/dist/validate.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./validate.js"))&&n.__esModule?n:{default:n};var o=function(e){if(!(0,s.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};r.default=o}}},{package:"uuid",file:"node_modules/uuid/dist/version.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/valid-url/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){e.exports.is_uri=r,e.exports.is_http_uri=n,e.exports.is_https_uri=s,e.exports.is_web_uri=o,e.exports.isUri=r,e.exports.isHttpUri=n,e.exports.isHttpsUri=s,e.exports.isWebUri=o;var t=function(e){return e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function r(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var r,n,s,o,a,i="",l="";if(i=(r=t(e))[1],n=r[2],s=r[3],o=r[4],a=r[5],i&&i.length&&s.length>=0){if(n&&n.length){if(0!==s.length&&!/^\//.test(s))return}else if(/^\/\//.test(s))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(i.toLowerCase()))return l+=i+":",n&&n.length&&(l+="//"+n),l+=s,o&&o.length&&(l+="?"+o),a&&a.length&&(l+="#"+a),l}}}function n(e,n){if(r(e)){var s,o,a,i,l="",u="",c="",d="";if(l=(s=t(e))[1],u=s[2],o=s[3],a=s[4],i=s[5],l){if(n){if("https"!=l.toLowerCase())return}else if("http"!=l.toLowerCase())return;if(u)return/:(\d+)$/.test(u)&&(c=u.match(/:(\d+)$/)[0],u=u.replace(/:\d+$/,"")),d+=l+":",d+="//"+u,c&&(d+=c),d+=o,a&&a.length&&(d+="?"+a),i&&i.length&&(d+="#"+i),d}}}function s(e){return n(e,!0)}function o(e){return n(e)||s(e)}}(t)}}},{package:"@metamask/controller-utils>@spruceid/siwe-parser>valid-url",file:"node_modules/valid-url/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/validate-npm-package-name/lib/index.js",{builtins:"/home/runner/work/metamask-extension/metamask-extension/node_modules/builtins/index.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),s=e("builtins"),o=["node_modules","favicon.ico"];var a=function(e,t){var r={validForNewPackages:0===t.length&&0===e.length,validForOldPackages:0===t.length,warnings:e,errors:t};return r.warnings.length||delete r.warnings,r.errors.length||delete r.errors,r};t.exports=function(e){var t=[],r=[];if(null===e)return r.push("name cannot be null"),a(t,r);if(e===undefined)return r.push("name cannot be undefined"),a(t,r);if("string"!=typeof e)return r.push("name must be a string"),a(t,r);if(e.length||r.push("name length must be greater than zero"),e.match(/^\./)&&r.push("name cannot start with a period"),e.match(/^_/)&&r.push("name cannot start with an underscore"),e.trim()!==e&&r.push("name cannot contain leading or trailing spaces"),o.forEach(function(t){e.toLowerCase()===t&&r.push(t+" is a blacklisted name")}),s({version:"*"}).forEach(function(r){e.toLowerCase()===r&&t.push(r+" is a core module name")}),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var i=e.match(n);if(i){var l=i[1],u=i[2];if(encodeURIComponent(l)===l&&encodeURIComponent(u)===u)return a(t,r)}r.push("name can only contain URL-friendly characters")}return a(t,r)}}}},{package:"@metamask/snaps-utils>validate-npm-package-name",file:"node_modules/validate-npm-package-name/lib/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/vm-browserify/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},s=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},o=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),a=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function i(){}i.prototype={};var l=r.Script=function(e){if(!(this instanceof l))return new l(e);this.code=e};l.prototype.runInContext=function(e){if(!(e instanceof i))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,l=r.eval,u=r.execScript;!l&&u&&(u.call(r,"null"),l=r.eval),s(n(e),function(t){r[t]=e[t]}),s(a,function(t){e[t]&&(r[t]=e[t])});var c=n(r),d=l.call(r,this.code);return s(n(r),function(t){(t in e||-1===function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1}(c,t))&&(e[t]=r[t])}),s(a,function(t){t in e||o(e,t,r[t])}),document.body.removeChild(t),d},l.prototype.runInThisContext=function(){return(0,eval)(this.code)},l.prototype.runInNewContext=function(e){var t=l.createContext(e),r=this.runInContext(t);return e&&s(n(t),function(r){e[r]=t[r]}),r},s(n(l.prototype),function(e){r[e]=l[e]=function(t){var r=l(t);return r[e].apply(r,[].slice.call(arguments,1))}}),r.isContext=function(e){return e instanceof i},r.createScript=function(e){return r.Script(e)},r.createContext=l.createContext=function(e){var t=new i;return"object"==typeof e&&s(n(e),function(r){t[r]=e[r]}),t}}}},{package:"browserify>vm-browserify",file:"node_modules/vm-browserify/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/warning/warning.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(){};t.exports=n}}},{package:"react-popper>warning",file:"node_modules/warning/warning.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/webextension-polyfill/dist/browser-polyfill.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){if("function"==typeof define&&define.amd)define("webextension-polyfill",["module"],n);else if(void 0!==r)n(t);else{var s={exports:{}};n(s),e.browser=s.exports}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,function(e){if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="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)",n=e=>{const n={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(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class s 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)}}const o=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(new Error(e.runtime.lastError.message)):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},a=e=>1==e?"argument":"arguments",i=(e,t,r)=>new Proxy(t,{apply:(t,n,s)=>r.call(n,e,...s)});let l=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,t={},r={})=>{let n=Object.create(null),s={has:(t,r)=>r in e||r in n,get(s,c,d){if(c in n)return n[c];if(!(c in e))return undefined;let m=e[c];if("function"==typeof m)if("function"==typeof t[c])m=i(e,e[c],t[c]);else if(l(r,c)){let t=((e,t)=>function(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((s,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,o({resolve:s,reject:a},t))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, falling back to call it without a callback: `,o),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,s()}else t.noCallback?(r[e](...n),s()):r[e](...n,o({resolve:s,reject:a},t))})})(c,r[c]);m=i(e,e[c],t)}else m=m.bind(e);else if("object"==typeof m&&null!==m&&(l(t,c)||l(r,c)))m=u(m,t[c],r[c]);else{if(!l(r,"*"))return Object.defineProperty(n,c,{configurable:!0,enumerable:!0,get:()=>e[c],set(t){e[c]=t}}),m;m=u(m,t[c],r["*"])}return n[c]=m,m},set:(t,r,s,o)=>(r in n?n[r]=s:e[r]=s,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},c=Object.create(e);return new Proxy(c,s)},c=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}}),d=new s(e=>"function"!=typeof e?e:function(t){const r=u(t,{},{getContent:{minArgs:0,maxArgs:0}});e(r)});let m=!1;const f=new s(e=>"function"!=typeof e?e:function(t,n,s){let o,a,i=!1,l=new Promise(e=>{o=function(t){m||(console.warn(r,(new Error).stack),m=!0),i=!0,e(t)}});try{a=e(t,n,o)}catch(e){a=Promise.reject(e)}const u=!0!==a&&((c=a)&&"object"==typeof c&&"function"==typeof c.then);var c;if(!0!==a&&!u&&!i)return!1;const d=e=>{e.then(e=>{s(e)},e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",s({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return d(u?a:l),!0}),h=({reject:r,resolve:n},s)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(new Error(e.runtime.lastError.message)):s&&s.__mozWebExtensionPolyfillReject__?r(new Error(s.message)):n(s)},p=(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)=>{const s=h.bind(null,{resolve:e,reject:t});n.push(s),r.sendMessage(...n)})},b={devtools:{network:{onRequestFinished:c(d)}},runtime:{onMessage:c(f),onMessageExternal:c(f),sendMessage:p.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:p.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},g={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{"*":g},services:{"*":g},websites:{"*":g}},u(e,b,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})}}},{package:"webextension-polyfill",file:"node_modules/webextension-polyfill/dist/browser-polyfill.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/which-typed-array/index.js",{"available-typed-arrays":"/home/runner/work/metamask-extension/metamask-extension/node_modules/available-typed-arrays/index.js","call-bind":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bind/index.js","call-bound":"/home/runner/work/metamask-extension/metamask-extension/node_modules/call-bound/index.js","for-each":"/home/runner/work/metamask-extension/metamask-extension/node_modules/for-each/index.js","get-proto":"/home/runner/work/metamask-extension/metamask-extension/node_modules/get-proto/index.js",gopd:"/home/runner/work/metamask-extension/metamask-extension/node_modules/gopd/index.js","has-tostringtag/shams":"/home/runner/work/metamask-extension/metamask-extension/node_modules/has-tostringtag/shams.js"},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("for-each"),s=e("available-typed-arrays"),o=e("call-bind"),a=e("call-bound"),i=e("gopd"),l=e("get-proto"),u=a("Object.prototype.toString"),c=e("has-tostringtag/shams")(),d="undefined"==typeof globalThis?global:globalThis,m=s(),f=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},p={__proto__:null};n(m,c&&i&&l?function(e){var t=new d[e];if(Symbol.toStringTag in t&&l){var r=l(t),n=i(r,Symbol.toStringTag);if(!n&&r){var s=l(r);n=i(s,Symbol.toStringTag)}p["$"+e]=o(n.get)}}:function(e){var t=new d[e],r=t.slice||t.set;r&&(p["$"+e]=o(r))});t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=f(u(e),8,-1);return h(m,t)>-1?t:"Object"===t&&function(e){var t=!1;return n(p,function(r,n){if(!t)try{r(e),t=f(n,1)}catch(e){}}),t}(e)}return i?function(e){var t=!1;return n(p,function(r,n){if(!t)try{"$"+r(e)===n&&(t=f(n,1))}catch(e){}}),t}(e):null}}}},{package:"browserify>util>which-typed-array",file:"node_modules/which-typed-array/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/wrappy/wrappy.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function e(t,r){if(t&&r)return e(t)(r);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(e){n[e]=t[e]}),n;function n(){for(var e=new Array(arguments.length),r=0;r<e.length;r++)e[r]=arguments[r];var n=t.apply(this,e),s=e[e.length-1];return"function"==typeof n&&n!==s&&Object.keys(s).forEach(function(e){n[e]=s[e]}),n}}}}},{package:"@metamask/object-multiplex>once>wrappy",file:"node_modules/wrappy/wrappy.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/xtend/immutable.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var s in r)n.call(r,s)&&(e[s]=r[s])}return e};var n=Object.prototype.hasOwnProperty}}},{package:"watchify>xtend",file:"node_modules/xtend/immutable.js"}],["/home/runner/work/metamask-extension/metamask-extension/node_modules/yocto-queue/index.js",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){class n{constructor(e){this.value=e,this.next=undefined}}class s{constructor(){this.clear()}enqueue(e){const t=new n(e);this._head?(this._tail.next=t,this._tail=t):(this._head=t,this._tail=t),this._size++}dequeue(){const e=this._head;if(e)return this._head=this._head.next,this._size--,e.value}clear(){this._head=undefined,this._tail=undefined,this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;for(;e;)yield e.value,e=e.next}}t.exports=s}}},{package:"@metamask/assets-controller>p-limit>yocto-queue",file:"node_modules/yocto-queue/index.js"}],["/home/runner/work/metamask-extension/metamask-extension/package.json",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={name:"metamask-crx",version:"13.23.0",private:!0,repository:{type:"git",url:"https://github.com/MetaMask/metamask-extension.git"},scripts:{webpack:"tsx ./development/webpack/launch.ts","webpack:clearcache":"./development/clear-webpack-cache.js","webpack:tsc":"tsc -p ./development/webpack/tsconfig.webpack.json","webpack:lavamoat":"NODE_OPTIONS=--no-deprecation lavamoat --policy lavamoat/webpack/build/policy.json --override lavamoat/webpack/build/policy-override.json ./development/.webpack/launch.js","webpack:lavamoat:build":"yarn webpack:lavamoat -- --mode production --no-cache","webpack:lavamoat:policy:build":"yarn webpack:lavamoat --writeAutoPolicy -- --mode production --no-cache","webpack:lavamoat:policy:mv2":"concurrently 'yarn webpack:lavamoat:build --generatePolicy -v 2' 'yarn webpack:lavamoat:build --generatePolicy -v 2 --type flask' 'yarn webpack:lavamoat:build --generatePolicy -v 2 --type beta' 'yarn webpack:lavamoat:build --generatePolicy -v 2 --type experimental' --kill-others-on-fail","webpack:lavamoat:policy:mv3":"concurrently 'yarn webpack:lavamoat:build --generatePolicy' 'yarn webpack:lavamoat:build --generatePolicy --type flask' 'yarn webpack:lavamoat:build --generatePolicy --type beta' 'yarn webpack:lavamoat:build --generatePolicy --type experimental' --kill-others-on-fail",foundryup:"yarn mm-foundryup",postinstall:"yarn webpack:clearcache && yarn foundryup","env:e2e":"SEGMENT_HOST='https://api.segment.io' SEGMENT_WRITE_KEY='FAKE' yarn",start:"yarn build:dev dev --apply-lavamoat=false --snow=false","start:with-state":"node ./app/scripts/start-with-wallet-state.mjs","start:mv2":"ENABLE_MV3=false yarn build:dev dev --apply-lavamoat=false --snow=false","start:flask":"yarn start --build-type flask","start:beta":"yarn start --build-type beta","start:flask:mv2":"ENABLE_MV3=false yarn start --build-type flask --apply-lavamoat=false --snow=false","start:lavamoat":"yarn build:dev dev --apply-lavamoat=true",dist:"yarn build dist","dist:mv2":"ENABLE_MV3=false yarn build dist",build:"yarn lavamoat:build","build:dev":"node development/build/index.js","circular-deps:check":"tsx development/circular-deps.ts check","circular-deps:update":"tsx development/circular-deps.ts update","start:test":"yarn env:e2e build:dev testDev --apply-lavamoat=false","start:test:flask":"yarn start:test --build-type flask --apply-lavamoat=false","start:test:mv2:flask":"ENABLE_MV3=false yarn start:test:flask --apply-lavamoat=false --snow=false","start:test:mv2":"ENABLE_MV3=false BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn start:test --apply-lavamoat=false --snow=false","build:test":"yarn env:e2e build test","build:test:dev":"yarn env:e2e build:dev testDev --apply-lavamoat=false","build:test:beta":"yarn build:test --build-type beta","build:test:flask":"yarn build:test --build-type flask","build:test:flask:mv2":"ENABLE_MV3=false yarn build:test:flask","build:test:mv2":"ENABLE_MV3=false BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn build:test","build:test:webpack":"BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn env:e2e webpack --mode production --test --browser=chrome --browser=firefox --no-cache --zip","build:test:webpack:mv2":"BLOCKAID_FILE_CDN=static.cx.metamask.io/api/v1/confirmations/ppom yarn env:e2e webpack --mode production --test --browser=chrome --browser=firefox --no-cache --zip -v 2",test:"yarn lint && yarn test:unit",dapp:"node development/static-server.js node_modules/@metamask/test-dapp/dist --port 8080","dapp-multichain":"node development/static-server.js node_modules/@metamask/test-dapp-multichain/build --port 8080","dapp-solana":"node development/static-server.js node_modules/@metamask/test-dapp-solana/dist --port 8080","dapp-tron":"node development/static-server.js node_modules/@metamask/test-dapp-tron/dist --port 8080","dapp-chain":"GANACHE_ARGS='-b 2' concurrently -k -n ganache,dapp -p '[{time}][{name}]' 'yarn ganache:start' 'sleep 5 && yarn dapp'",forwarder:"node ./development/static-server.js ./node_modules/@metamask/forwarder/dist/ --port 9010","dapp-forwarder":"concurrently -k -n forwarder,dapp -p '[{time}][{name}]' 'yarn forwarder' 'yarn dapp'","test:unit":"node --expose-gc ./node_modules/jest/bin/jest.js","test:unit:update-baseline":"UPDATE_BASELINE=ratchet yarn test:unit","test:unit:update-baseline:strict":"UPDATE_BASELINE=strict yarn test:unit",anvil:"node_modules/.bin/anvil","test:unit:watch":"node --expose-gc ./node_modules/jest/bin/jest.js --watch","test:unit:coverage":"node --expose-gc ./node_modules/jest/bin/jest.js --coverage","test:unit:webpack":"tsx --test development/webpack/test/*.test.ts","test:unit:webpack:coverage":"nyc --reporter=html --reporter=json --reporter=text --report-dir=./coverage/webpack tsx --test development/webpack/test/*.test.ts","test:integration":"yarn webpack-cli build --config ./development/webpack/webpack.integration.tests.config.ts && jest --config jest.integration.config.js","test:integration:update-baseline":"UPDATE_BASELINE=ratchet yarn test:integration","test:integration:update-baseline:strict":"UPDATE_BASELINE=strict yarn test:integration","test:integration:coverage":"yarn test:integration --coverage","test:e2e:chrome":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts","test:e2e:chrome:dist":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts --dist","test:e2e:chrome:flask":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts --build-type flask","test:api-specs":"SELENIUM_BROWSER=chrome tsx test/e2e/run-openrpc-api-test-coverage.ts","test:api-specs-multichain":"SELENIUM_BROWSER=chrome ts-node test/e2e/run-api-specs-multichain.ts","test:e2e:swap":"yarn playwright test --project=swap","test:e2e:global":"yarn playwright test --project=global","test:e2e:benchmark":"yarn tsx test/e2e/benchmarks/run-benchmark.ts","test:e2e:pw:report":"yarn playwright show-report public/playwright/playwright-reports/html","test:e2e:chrome:rpc":"SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts --rpc","test:e2e:chrome:multi-provider":"MULTIPROVIDER=true SELENIUM_BROWSER=chrome tsx test/e2e/run-all.ts --multi-provider","test:e2e:firefox":"SELENIUM_BROWSER=firefox tsx test/e2e/run-all.ts","test:e2e:firefox:dist":"SELENIUM_BROWSER=firefox tsx test/e2e/run-all.ts --dist","test:e2e:firefox:flask":"SELENIUM_BROWSER=firefox tsx test/e2e/run-all.ts --build-type flask","test:e2e:single":"node test/e2e/run-e2e-test.js","ganache:start":"./development/run-ganache.sh","sentry:publish":"node ./development/sentry-publish.js",lint:"yarn lint:prettier && yarn lint:eslint && yarn lint:tsc && yarn lint:styles && yarn lint:images","lint:fix":"yarn lint:prettier:fix && yarn lint:eslint:fix && yarn lint:styles:fix && yarn circular-deps:update && yarn lint:images:fix && yarn lint:baseline:fix","lint:prettier":"prettier --check --cache -- '**/*.{json,md,mdx,yml}'","lint:prettier:fix":"prettier --write --cache -- '**/*.{json,md,mdx,yml}'","lint:changed":"node development/lint-changed.mts","lint:changed:fix":"node development/lint-changed.mts --fix","lint:changelog":"auto-changelog validate --prettier","lint:changelog:rc":"auto-changelog validate --prettier --rc","lint:debug":"DEBUG=eslint:cli-engine yarn lint","lint:eslint":"eslint . --ext js,ts,tsx,snap --cache --cache-location node_modules/.cache/eslint/.eslint-cache","lint:eslint:fix":"yarn lint:eslint --fix --cache --cache-location node_modules/.cache/eslint/.eslint-cache","lint:lockfile:dedupe":"yarn dedupe --check","lint:lockfile:dedupe:fix":"yarn dedupe","lint:lockfile":'lockfile-lint --path yarn.lock --allowed-hosts npm yarn github.com codeload.github.com --empty-hostname true --allowed-schemes "https:" "git+https:" "npm:" "patch:" "workspace:"',"lint:shellcheck":"./development/shellcheck.sh","lint:styles":"stylelint '*/**/*.scss'","lint:styles:fix":"yarn lint:styles --fix","lint:tsc":"tsc","lint:images":"tsx development/optimize-media.mts","lint:images:fix":"tsx development/optimize-media.mts --fix","lint:baseline":"node development/lint-baseline.mts","lint:baseline:fix":"node development/lint-baseline.mts --fix","validate-source-maps":"node ./development/sourcemap-validator.js","validate-source-maps:webpack":"tsx ./development/webpack/sourcemap-validator.ts","verify-locales":"node ./development/verify-locale-strings.js","verify-locales:fix":"node ./development/verify-locale-strings.js --fix","mozilla-lint":"addons-linter dist/firefox","devtools:react":"react-devtools","devtools:redux":"remotedev --hostname=localhost --port=8000","start:dev":"concurrently -k -n build,react,redux yarn:start yarn:devtools:react yarn:devtools:redux",announce:"node development/announcer.js",storybook:"storybook dev -p 6006 -c .storybook","storybook:build":"storybook build -c .storybook -o storybook-build","storybook:deploy":"storybook-to-ghpages --existing-output-dir storybook-build --remote storybook --branch stable","update-changelog":"auto-changelog update --rc --autoCategorize --useChangelogEntry --useShortPrLink --requirePrNumbers","generate:migration":"./development/generate-migration.sh","lavamoat:build":"lavamoat development/build/index.js --policy lavamoat/build-system/policy.json --policyOverride lavamoat/build-system/policy-override.json","lavamoat:build:auto":"yarn lavamoat:build --writeAutoPolicy","lavamoat:debug:build":"yarn lavamoat:build --writeAutoPolicyDebug --policydebug lavamoat/build-system/policy-debug.json","lavamoat:debug:webapp":"WRITE_AUTO_POLICY_DEBUG=1 yarn lavamoat:webapp:auto","lavamoat:webapp:auto":"ENABLE_MV3=true node ./development/generate-lavamoat-policies.js --devMode=true","lavamoat:auto":"yarn lavamoat:build:auto && yarn lavamoat:webapp:auto && yarn webpack:tsc && yarn webpack:lavamoat:policy:build && yarn webpack:lavamoat:policy:mv2 && yarn webpack:lavamoat:policy:mv3","ts-migration:dashboard:build":"tsx development/ts-migration-dashboard/scripts/build-app.ts","ts-migration:dashboard:deploy":"gh-pages --dist development/ts-migration-dashboard/build/final --remote ts-migration-dashboard","ts-migration:dashboard:watch":"yarn ts-migration:dashboard:build --watch","ts-migration:enumerate":"tsx development/ts-migration-dashboard/scripts/write-list-of-files-to-convert.ts","test-storybook":"test-storybook -c .storybook","test-storybook:ci":'concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn storybook:build && yarn http-server storybook-build --port 6006 " "wait-on tcp:6006 && echo \'Build done. Running storybook tests...\' && yarn test-storybook"',"githooks:install":"husky install","fitness-functions":"tsx development/fitness-functions/index.ts","generate-beta-commit":"node ./development/generate-beta-commit.js","validate-branch-name":"validate-branch-name","add-release-label-to-pr-and-linked-issues":"ts-node ./.github/scripts/add-release-label-to-pr-and-linked-issues.ts","check-pr-has-required-labels":"ts-node ./.github/scripts/check-pr-has-required-labels.ts","close-release-bug-report-issue":"ts-node ./.github/scripts/close-release-bug-report-issue.ts","check-template-and-add-labels":"ts-node ./.github/scripts/check-template-and-add-labels.ts","create-bug-report-issue":"ts-node ./.github/scripts/create-bug-report-issue.ts",audit:"yarn npm audit --recursive --environment production --severity moderate --ignore '@metamask/types (deprecation)'","download-builds":"tsx .devcontainer/download-builds.ts","stable-sync-legacy":"node development/stable-sync-legacy.js","update-mock-cdn":"node test/e2e/mock-cdn/update-mock-cdn-files.js","update-snap-binary":"tsx test/e2e/mock-response-data/snaps/update-snap-binary.ts","attributions:check":"./development/attributions-check.sh","attributions:generate":"./development/generate-attributions.sh","feature-flags:sync":"tsx test/e2e/feature-flags/sync-production-flags.ts","feature-flags:sync:check":"tsx test/e2e/feature-flags/sync-production-flags.ts --check","feature-flags:sync:update":"tsx test/e2e/feature-flags/sync-production-flags.ts --update","yarn-binary:download":"corepack pack -o .yarn/yarn-corepack.tgz","yarn-binary:hydrate":"corepack hydrate .yarn/yarn-corepack.tgz --activate"},resolutions:{"jest-clean-console-reporter/chalk":"^4.1.2",chokidar:"^3.6.0","@types/react":"^17.0.11","bn.js":"^5.2.3","ganache/abstract-level":"1.0.4","git-url-parse@^12.0.0":"^13.1.0","glob-parent":"^6.0.2","js-sha3":"^0.9.2","ast-types":"^0.14.2","acorn@^7.0.0":"patch:acorn@npm:7.4.1#.yarn/patches/acorn-npm-7.4.1-f450b4646c.patch","acorn@^7.4.1":"patch:acorn@npm:7.4.1#.yarn/patches/acorn-npm-7.4.1-f450b4646c.patch","acorn@^7.1.1":"patch:acorn@npm:7.4.1#.yarn/patches/acorn-npm-7.4.1-f450b4646c.patch","object.values@^1.1.5":"patch:object.values@npm%3A1.1.5#./.yarn/patches/object.values-npm-1.1.5-f1de7f3742.patch","error@^7.0.0":"patch:error@npm%3A7.0.2#./.yarn/patches/error-npm-7.0.2-6dfbeab4da.patch","eslint-import-resolver-typescript@^2.5.0":"patch:eslint-import-resolver-typescript@npm%3A2.5.0#./.yarn/patches/eslint-import-resolver-typescript-npm-2.5.0-3b8adf0d03.patch","borc@^2.1.2":"patch:borc@npm%3A2.1.2#./.yarn/patches/borc-npm-2.1.2-8ffcc2dd81.patch","convert-source-map@^1.7.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@1.7.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^1.0.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@~1.1.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^0.3.3":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^1.5.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","convert-source-map@^1.6.0":"patch:convert-source-map@npm%3A1.1.3#./.yarn/patches/convert-source-map-npm-1.1.3-7f1bfeabd4.patch","abort-controller@^3.0.0":"patch:abort-controller@npm%3A3.0.0#./.yarn/patches/abort-controller-npm-3.0.0-2f3a9a2bcb.patch","await-semaphore@^0.1.3":"patch:await-semaphore@npm%3A0.1.3#./.yarn/patches/await-semaphore-npm-0.1.3-b7a0001fab.patch","eslint@npm:^8.7.0":"patch:eslint@npm%3A8.57.0#~/.yarn/patches/eslint-npm-8.57.0-4286e12a3a.patch","eslint-plugin-n@npm:^16.6.2":"^17.24.0","ethereumjs-util@^7.0.10":"patch:ethereumjs-util@npm%3A7.1.5#./.yarn/patches/ethereumjs-util-npm-7.1.5-5bb4d00000.patch","gulp-sourcemaps@^3.0.0":"patch:gulp-sourcemaps@npm%3A3.0.0#./.yarn/patches/gulp-sourcemaps-npm-3.0.0-1ae0fbef6d.patch","inline-source-map@~0.6.0":"patch:inline-source-map@npm%3A0.6.2#./.yarn/patches/inline-source-map-npm-0.6.2-96902459a0.patch","plugin-error@^1.0.1":"patch:plugin-error@npm%3A1.0.1#./.yarn/patches/plugin-error-npm-1.0.1-7d15e880d6.patch","plugin-error@1.0.1":"patch:plugin-error@npm%3A1.0.1#./.yarn/patches/plugin-error-npm-1.0.1-7d15e880d6.patch","ws@8.13.0":"^8.17.1","jsdom@^16.7.0":"patch:jsdom@npm%3A16.7.0#./.yarn/patches/jsdom-npm-16.7.0-216c5c4bf9.patch","lodash-es":"4.17.23",trim:"^0.0.3","@eslint/eslintrc@npm:^2.1.4":"patch:@eslint/eslintrc@npm%3A2.1.4#~/.yarn/patches/@eslint-eslintrc-npm-2.1.4-1ff4b5f908.patch","@fortawesome/fontawesome-free@^5.13.0":"patch:@fortawesome/fontawesome-free@npm%3A5.13.0#./.yarn/patches/@fortawesome-fontawesome-free-npm-5.13.0-f20fc0388d.patch","fast-json-patch@^3.1.0":"patch:fast-json-patch@npm%3A3.1.1#./.yarn/patches/fast-json-patch-npm-3.1.1-7e8bb70a45.patch","watchify@^4.0.0":"patch:watchify@npm%3A4.0.0#./.yarn/patches/watchify-npm-4.0.0-4fd965dd49.patch","undeclared-identifiers@^1.1.2":"patch:undeclared-identifiers@npm%3A1.1.2#./.yarn/patches/undeclared-identifiers-npm-1.1.2-13d6792e9e.patch","stylelint@^13.6.1":"patch:stylelint@npm%3A13.6.1#./.yarn/patches/stylelint-npm-13.6.1-47aaddf62b.patch","symbol-observable":"^2.0.3",tar:"^7.5.11","async-done@~1.3.2":"patch:async-done@npm%3A1.3.2#./.yarn/patches/async-done-npm-1.3.2-1f0a4a8997.patch","async-done@^1.2.0":"patch:async-done@npm%3A1.3.2#./.yarn/patches/async-done-npm-1.3.2-1f0a4a8997.patch","async-done@^1.2.2":"patch:async-done@npm%3A1.3.2#./.yarn/patches/async-done-npm-1.3.2-1f0a4a8997.patch","fast-json-patch@^3.1.1":"patch:fast-json-patch@npm%3A3.1.1#./.yarn/patches/fast-json-patch-npm-3.1.1-7e8bb70a45.patch","serialize-javascript":"7.0.3","@types/readable-stream-2@^2.3.15":"npm:@types/readable-stream@^2.3.15","@types/readable-stream-3@^4.0.4":"npm:@types/readable-stream@^4.0.4","readable-stream-2@^2.3.3":"npm:readable-stream@^2.3.3","readable-stream-3@^3.6.2":"npm:readable-stream@^3.6.2","@metamask/snaps-sdk":"^10.4.0","@babel/core":"patch:@babel/core@npm%3A7.25.9#~/.yarn/patches/@babel-core-npm-7.25.9-4ae3bff7f3.patch","@babel/runtime":"patch:@babel/runtime@npm%3A7.26.10#~/.yarn/patches/@babel-runtime-npm-7.26.10-fe8c62510a.patch","@spruceid/siwe-parser@npm:2.1.0":"patch:@spruceid/siwe-parser@npm%3A2.1.0#~/.yarn/patches/@spruceid-siwe-parser-npm-2.1.0-060b7ede7a.patch","ts-mixer@npm:^6.0.3":"patch:ts-mixer@npm%3A6.0.4#~/.yarn/patches/ts-mixer-npm-6.0.4-5d9747bdf5.patch","@json-schema-spec/json-pointer@npm:^0.1.2":"patch:@json-schema-spec/json-pointer@npm%3A0.1.2#~/.yarn/patches/@json-schema-spec-json-pointer-npm-0.1.2-3d06119887.patch","@json-schema-tools/reference-resolver@npm:^1.2.6":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","@json-schema-tools/reference-resolver@npm:1.2.4":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","@json-schema-tools/reference-resolver@npm:^1.2.4":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","@json-schema-tools/reference-resolver@npm:^1.2.1":"patch:@json-schema-tools/reference-resolver@npm%3A1.2.6#~/.yarn/patches/@json-schema-tools-reference-resolver-npm-1.2.6-4e1497c16d.patch","path-to-regexp":"1.9.0","@ledgerhq/cryptoassets-evm-signatures/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@ledgerhq/domain-service/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@ledgerhq/evm-tools/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@ledgerhq/hw-app-eth/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@slack/webhook/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@stellar/stellar-sdk/axios":"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","@ledgerhq/hw-app-eth@npm:^6.42.0":"patch:@ledgerhq/hw-app-eth@npm%3A6.42.2#~/.yarn/patches/@ledgerhq-hw-app-eth-npm-6.42.2-46a44bfbf5.patch","@ledgerhq/evm-tools@npm:^1.3.0":"patch:@ledgerhq/evm-tools@npm%3A1.3.0#~/.yarn/patches/@ledgerhq-evm-tools-npm-1.3.0-57435278f6.patch","cross-spawn@npm:^5.0.1":"^7.0.6","secp256k1@npm:^4.0.0":"4.0.4","secp256k1@npm:^4.0.1":"4.0.4","secp256k1@npm:4.0.2":"4.0.4","secp256k1@npm:4.0.3":"4.0.4","tslib@npm:^2.0.0":"~2.6.0","tslib@npm:^2.0.1":"~2.6.0","tslib@npm:^2.0.3":"~2.6.0","tslib@npm:^2.1.0":"~2.6.0","tslib@npm:^2.3.0":"~2.6.0","tslib@npm:^2.3.1":"~2.6.0","tslib@npm:^2.4.0":"~2.6.0","tslib@npm:^2.6.2":"~2.6.0","gridplus-sdk/elliptic":"^6.6.1","@ethereumjs/tx":"patch:@ethereumjs/tx@npm%3A5.4.0#~/.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch","@ledgerhq/errors":"^6.21.0","@trezor/connect-web":"~9.6.0","nanoid@npm:^5.1.5":"^3.3.8",lodash:"patch:lodash@npm%3A4.17.23#~/.yarn/patches/lodash-npm-4.17.23-50bdb1c01a.patch",dompurify:"patch:dompurify@npm%3A3.2.5#~/.yarn/patches/dompurify-npm-3.2.5-d9af707abe.patch","jsonpath-plus":"^10.3.0","@metamask/jazzicon@npm:^2.0.0":"patch:@metamask/jazzicon@npm%3A2.0.0#~/.yarn/patches/@metamask-jazzicon-npm-2.0.0-36957be38d.patch","@rive-app/canvas@npm:2.31.5":"patch:@rive-app/canvas@patch%3A@rive-app/canvas@patch%253A@rive-app/canvas@npm%25253A2.31.5%2523~/.yarn/patches/@rive-app-canvas-npm-2.31.5-df519c6e0f.patch%253A%253Aversion=2.31.5&hash=1ed092%23~/.yarn/patches/@rive-app-canvas-patch-9b746e9393.patch%3A%3Aversion=2.31.5&hash=19c5d0#~/.yarn/patches/@rive-app-canvas-patch-03752f0c3b.patch","tailwindcss@npm:^3.0.0":"patch:tailwindcss@npm%3A3.4.17#~/.yarn/patches/tailwindcss-npm-3.4.17-403059edc1.patch","which@npm:^1.2.12":"^4.0.0","which@npm:^1.2.14":"^4.0.0","which@npm:^1.3.1":"^4.0.0","qs@npm:6.13.0":"^6.14.1","gridplus-sdk@npm:^4.0.0":"patch:gridplus-sdk@npm%3A4.0.0#~/.yarn/patches/gridplus-sdk-npm-4.0.0-0e9f598de2.patch","gridplus-sdk/uuid@npm:^13.0.0":"^8.3.2","gridplus-sdk/@types/uuid@npm:^11.0.0":"^8.3.0","@ledgerhq/hw-transport-webhid@npm:^6.31.0":"patch:@ledgerhq/hw-transport-webhid@npm%3A6.31.0#~/.yarn/patches/@ledgerhq-hw-transport-webhid-npm-6.31.0-efbecf27ab.patch","@metamask/accounts-controller":"36.0.0","fast-xml-parser":"^5.3.6","minimatch@npm:^10.1.1":"10.2.4","@metamask/snaps-controllers":"^18.0.1","@metamask/multichain-account-service@npm:^7.0.0":"patch:@metamask/multichain-account-service@npm%3A7.0.0#~/.yarn/patches/@metamask-multichain-account-service-npm-7.0.0-52b2fa1b5d.patch","@myx-trade/sdk@npm:^0.1.265":"npm:0.1.267"},dependencies:{"@babel/runtime":"patch:@babel/runtime@npm%3A7.26.10#~/.yarn/patches/@babel-runtime-npm-7.26.10-fe8c62510a.patch","@blockaid/ppom_release":"^1.5.3","@date-io/luxon":"^1.3.13","@ensdomains/content-hash":"^2.5.7","@ethereumjs/tx":"patch:@ethereumjs/tx@npm%3A5.4.0#~/.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch","@ethersproject/abi":"^5.6.4","@ethersproject/bignumber":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/contracts":"^5.7.0","@ethersproject/hdnode":"^5.6.2","@ethersproject/providers":"^5.7.2","@ethersproject/transactions":"^5.7.0","@fortawesome/fontawesome-free":"^5.13.0","@keystonehq/bc-ur-registry-eth":"^0.22.1","@lavamoat/lavadome-react":"0.0.20","@lavamoat/snow":"^2.0.4","@lavamoat/webpack":"1.5.8","@ledgerhq/errors":"^6.21.0","@ledgerhq/hw-app-eth":"^6.42.0","@ledgerhq/hw-transport":"^6.31.0","@ledgerhq/hw-transport-webhid":"^6.31.0","@material-ui/core":"^4.12.4","@material-ui/pickers":"^3.3.11","@metamask/abi-utils":"^3.0.0","@metamask/account-api":"^1.0.0","@metamask/account-tree-controller":"^4.1.1","@metamask/account-watcher":"^4.1.3","@metamask/accounts-controller":"^36.0.0","@metamask/address-book-controller":"^7.0.1","@metamask/announcement-controller":"^8.0.0","@metamask/approval-controller":"^8.0.0","@metamask/assets-controller":"^2.1.0","@metamask/assets-controllers":"^100.2.0","@metamask/base-controller":"^9.0.0","@metamask/bitcoin-wallet-snap":"^1.10.0","@metamask/bridge-controller":"^68.0.0","@metamask/bridge-status-controller":"^68.0.0","@metamask/browser-passworder":"^6.0.0","@metamask/chain-agnostic-permission":"^1.3.0","@metamask/claims-controller":"^0.4.2","@metamask/client-controller":"^1.0.0","@metamask/connectivity-controller":"^0.1.0","@metamask/contract-metadata":"^2.5.0","@metamask/controller-utils":"^11.18.0","@metamask/core-backend":"^6.1.0","@metamask/delegation-controller":"^2.0.1","@metamask/delegation-core":"^0.2.0-rc.1","@metamask/delegation-deployments":"^0.15.0","@metamask/design-system-react":"^0.10.0","@metamask/design-system-tailwind-preset":"^0.6.1","@metamask/design-tokens":"^8.2.2","@metamask/eip-5792-middleware":"3.0.0","@metamask/eip-7702-internal-rpc-middleware":"^0.1.0","@metamask/ens-controller":"^18.0.0","@metamask/ens-resolver-snap":"^1.1.0","@metamask/error-reporting-service":"^3.0.0","@metamask/eth-hd-keyring":"^13.1.0","@metamask/eth-json-rpc-filters":"^9.0.0","@metamask/eth-json-rpc-middleware":"^23.1.0","@metamask/eth-ledger-bridge-keyring":"11.3.0","@metamask/eth-qr-keyring":"^1.1.0","@metamask/eth-sig-util":"^8.2.0","@metamask/eth-snap-keyring":"^19.0.0","@metamask/eth-token-tracker":"^10.0.2","@metamask/eth-trezor-keyring":"^9.0.0","@metamask/etherscan-link":"^3.0.0","@metamask/gas-fee-controller":"^25.0.0","@metamask/gator-permissions-controller":"^2.0.0","@metamask/gator-permissions-snap":"^1.1.1","@metamask/hw-wallet-sdk":"^0.5.0","@metamask/institutional-wallet-snap":"1.3.4","@metamask/jazzicon":"patch:@metamask/jazzicon@npm%3A2.0.0#~/.yarn/patches/@metamask-jazzicon-npm-2.0.0-36957be38d.patch","@metamask/json-rpc-engine":"^10.2.3","@metamask/json-rpc-middleware-stream":"^8.0.4","@metamask/keyring-api":"^21.5.0","@metamask/keyring-controller":"^25.1.0","@metamask/keyring-internal-api":"^10.0.0","@metamask/keyring-internal-snap-client":"^8.0.0","@metamask/keyring-snap-client":"^8.1.0","@metamask/keyring-utils":"^3.2.0","@metamask/logging-controller":"^7.0.0","@metamask/logo":"^4.0.0","@metamask/message-manager":"^14.0.0","@metamask/message-signing-snap":"1.1.4","@metamask/messenger":"^0.3.0","@metamask/metamask-eth-abis":"^3.1.1","@metamask/multichain-account-service":"patch:@metamask/multichain-account-service@npm%3A7.0.0#~/.yarn/patches/@metamask-multichain-account-service-npm-7.0.0-52b2fa1b5d.patch","@metamask/multichain-api-client":"^0.10.1","@metamask/multichain-api-middleware":"^1.2.5","@metamask/multichain-network-controller":"^3.0.3","@metamask/multichain-transactions-controller":"^7.0.1","@metamask/name-controller":"^9.0.0","@metamask/network-controller":"^30.0.0","@metamask/network-enablement-controller":"^4.1.1","@metamask/notification-services-controller":"^22.0.0","@metamask/object-multiplex":"^2.0.0","@metamask/obs-store":"^9.0.0","@metamask/permission-controller":"^12.1.0","@metamask/permission-log-controller":"^5.0.0","@metamask/permissions-kernel-snap":"^1.0.0","@metamask/perps-controller":"^1.0.0","@metamask/phishing-controller":"^16.3.0","@metamask/polling-controller":"^16.0.2","@metamask/post-message-stream":"^10.0.0","@metamask/ppom-validator":"0.39.0","@metamask/preinstalled-example-snap":"^0.7.2","@metamask/profile-metrics-controller":"^3.0.3","@metamask/profile-sync-controller":"^28.0.0","@metamask/providers":"^22.1.1","@metamask/rate-limit-controller":"^7.0.0","@metamask/remote-feature-flag-controller":"^4.1.0","@metamask/rpc-errors":"^7.0.0","@metamask/safe-event-emitter":"^3.1.1","@metamask/scure-bip39":"^2.0.3","@metamask/seedless-onboarding-controller":"^8.1.0","@metamask/selected-network-controller":"^25.0.0","@metamask/shield-controller":"^5.0.1","@metamask/signature-controller":"^39.0.3","@metamask/smart-transactions-controller":"^22.6.0","@metamask/snaps-controllers":"^18.0.1","@metamask/snaps-execution-environments":"^11.0.0","@metamask/snaps-rpc-methods":"^14.3.0","@metamask/snaps-sdk":"^10.4.0","@metamask/snaps-utils":"^12.1.0","@metamask/solana-wallet-snap":"^2.7.3","@metamask/solana-wallet-standard":"^0.6.0","@metamask/storage-service":"^1.0.0","@metamask/subscription-controller":"^6.0.0","@metamask/transaction-controller":"^62.20.0","@metamask/transaction-pay-controller":"^12.2.0","@metamask/tron-wallet-snap":"1.22.1","@metamask/user-operation-controller":"^40.0.0","@metamask/utils":"^11.10.0","@ngraveio/bc-ur":"^1.1.13","@noble/hashes":"^1.3.3","@popperjs/core":"^2.4.0","@reduxjs/toolkit":"patch:@reduxjs/toolkit@npm%3A1.9.7#~/.yarn/patches/@reduxjs-toolkit-npm-1.9.7-b14925495c.patch","@rive-app/react-canvas":"patch:@rive-app/react-canvas@npm%3A4.23.3#~/.yarn/patches/@rive-app-react-canvas-npm-4.23.3-3ab1940c19.patch","@scure/base":"^1.2.5","@segment/loosely-validate-event":"^2.0.0","@sentry/browser":"patch:@sentry/browser@npm%3A8.33.1#~/.yarn/patches/@sentry-browser-npm-8.33.1-4405cafca3.patch","@sentry/types":"^8.33.1","@sentry/utils":"^8.33.1","@solana/addresses":"2.0.0-rc.4","@swc/core":"^1.13.2","@tanstack/react-query":"^4.36.1","@tanstack/react-virtual":"^3.10.8","@trezor/connect-web":"~9.6.0","@zxing/browser":"^0.1.5","@zxing/library":"0.21.3","await-semaphore":"^0.1.3","base32-encode":"^1.2.0","base64-js":"^1.5.1","bignumber.js":"^4.1.0","bitcoin-address-validation":"^2.2.3",bowser:"^2.11.0","chart.js":"^4.4.1",clsx:"^2.1.1",cockatiel:"^3.1.2","copy-to-clipboard":"^3.3.3","cron-parser":"^4.5.0","currency-formatter":"^1.4.2","deep-freeze-strict":"1.1.1",dompurify:"patch:dompurify@npm%3A3.2.5#~/.yarn/patches/dompurify-npm-3.2.5-d9af707abe.patch","eth-chainlist":"~0.0.498","eth-ens-namehash":"^2.0.8","eth-lattice-keyring":"^1.1.0","eth-method-registry":"^4.0.0","ethereum-cryptography":"^3.2.0","ethereumjs-util":"^7.0.10","extension-port-stream":"^5.0.3","fast-json-patch":"^3.1.1","fast-json-stable-stringify":"^2.1.0","fuse.js":"^3.2.0",he:"^1.2.0","human-standard-token-abi":"^2.0.0","humanize-duration":"^3.32.1",immer:"^9.0.6","ip-regex":"^4.3.0","is-retry-allowed":"^2.2.0","jest-junit":"^14.0.1","labeled-stream-splicer":"^2.0.2","lavamoat-browserify":"^19.0.2","lightweight-charts":"^5.1.0",localforage:"^1.9.0",lodash:"^4.17.23",loglevel:"^1.8.1","lottie-web":"^5.12.2",luxon:"^3.2.1",nanoid:"^3.3.8",pify:"^5.0.0","prop-types":"^15.6.1",punycode:"^2.1.1","qrcode-generator":"^2.0.4","qrcode.react":"^4.2.0",react:"^17.0.2","react-beautiful-dnd":"^13.1.1","react-chartjs-2":"^5.2.0","react-compiler-runtime":"^1.0.0","react-dom":"^17.0.2","react-focus-lock":"^2.9.4","react-idle-timer":"4.5.6","react-markdown":"^6.0.3","react-popper":"^2.2.3","react-redux":"^7.2.9","react-router-dom":"^6.28.0","react-simple-file-input":"^2.0.0","react-tippy":"^1.2.2","react-toggle-button":"^2.2.0","react-transition-group":"^4.4.5","readable-stream":"^4.7.0",redux:"^4.0.5","redux-thunk":"^2.3.0","remove-trailing-slash":"^0.1.1",reselect:"^5.1.1",ses:"^1.1.0","ts-mixer":"patch:ts-mixer@npm%3A6.0.4#~/.yarn/patches/ts-mixer-npm-6.0.4-5d9747bdf5.patch",tslib:"~2.6.0","unicode-confusables":"^0.1.1","uri-js":"^4.4.1",uuid:"^8.3.2",xml2js:"^0.6.2"},devDependencies:{"@actions/core":"^1.10.0","@actions/github":"^5.1.1","@anthropic-ai/sdk":"^0.32.1","@babel/code-frame":"^7.25.9","@babel/core":"patch:@babel/core@npm%3A7.25.9#~/.yarn/patches/@babel-core-npm-7.25.9-4ae3bff7f3.patch","@babel/eslint-parser":"^7.25.9","@babel/eslint-plugin":"^7.25.9","@babel/plugin-transform-logical-assignment-operators":"^7.25.9","@babel/preset-env":"^7.25.9","@babel/preset-react":"^7.25.9","@babel/preset-typescript":"^7.25.9","@babel/register":"^7.25.9","@google/genai":"^1.0.0","@jest/globals":"^29.7.0","@lavamoat/allow-scripts":"^3.4.3","@lavamoat/lavadome-core":"0.0.20","@lavamoat/lavapack":"^7.0.22","@lydell/node-pty":"^1.1.0","@metamask/api-specs":"^0.13.0","@metamask/auto-changelog":"^5.3.1","@metamask/build-utils":"^3.0.0","@metamask/client-mcp-core":"^0.1.1","@metamask/eslint-config":"^12.0.0","@metamask/eslint-config-jest":"^12.0.0","@metamask/eslint-config-mocha":"^12.0.0","@metamask/eslint-config-nodejs":"^12.0.0","@metamask/eslint-config-typescript":"^12.0.0","@metamask/eslint-plugin-design-tokens":"^1.1.0","@metamask/eth-json-rpc-provider":"^6.0.0","@metamask/forwarder":"^1.1.0","@metamask/foundryup":"^1.0.1","@metamask/phishing-warning":"^5.1.0","@metamask/preferences-controller":"^21.0.0","@metamask/snap-account-abstraction-keyring-site":"^1.0.0","@metamask/snap-simple-keyring-site":"^2.0.0","@metamask/superstruct":"^3.2.1","@metamask/test-bundler":"^1.0.0","@metamask/test-dapp":"9.3.0","@metamask/test-dapp-multichain":"^0.17.0","@metamask/test-dapp-solana":"^0.3.1","@metamask/test-dapp-tron":"^0.3.1","@metamask/test-snaps":"^3.4.0","@noble/ciphers":"^1.3.0","@noble/curves":"^1.9.2","@octokit/rest":"^21.0.2","@octokit/types":"^14.0.0","@open-rpc/meta-schema":"^1.14.6","@open-rpc/mock-server":"^1.7.5","@open-rpc/schema-utils-js":"^2.0.5","@open-rpc/test-coverage":"^2.2.4","@playwright/test":"^1.54.2","@pmmmwh/react-refresh-webpack-plugin":"^0.6.2","@sentry/cli":"^2.56.0","@sentry/node":"^10.30.0","@slack/types":"^2.14.0","@slack/webhook":"^7.0.5","@storybook/addon-a11y":"^7.6.21","@storybook/addon-docs":"^7.6.21","@storybook/addon-essentials":"^7.6.21","@storybook/addons":"^7.6.21","@storybook/api":"^7.6.21","@storybook/client-api":"^7.6.21","@storybook/components":"^7.6.21","@storybook/react":"^7.6.21","@storybook/react-webpack5":"^7.6.21","@storybook/storybook-deployer":"^2.8.16","@storybook/test-runner":"^0.14.1","@swc/helpers":"^0.5.17","@swc/types":"^0.1.23","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^12.1.5","@testing-library/react-hooks":"^8.0.1","@testing-library/user-event":"^14.6.1","@toruslabs/eccrypto":"^6.1.0","@tsconfig/node22":"^22.0.0","@types/babel__code-frame":"^7.0.6","@types/babelify":"^7.3.7","@types/browserify":"^12.0.37","@types/chrome":"^0.0.268","@types/currency-formatter":"^1.5.1","@types/eslint-plugin-tailwindcss":"^3","@types/fs-extra":"^9.0.13","@types/gulp":"^4.0.9","@types/gulp-autoprefixer":"^0.0.33","@types/gulp-sass":"^5.0.0","@types/gulp-sourcemaps":"^0.0.35","@types/he":"^1","@types/humanize-duration":"^3.27.4","@types/jest":"^29.5.12","@types/jsonwebtoken":"^9.0.10","@types/luxon":"^3.4.2","@types/madge":"^5.0.3","@types/micromatch":"^4","@types/mocha":"^10.0.3","@types/node":"24.10.13","@types/path-browserify":"^1.0.2","@types/pify":"^5.0.1","@types/react":"^17.0.11","@types/react-beautiful-dnd":"^13","@types/react-dom":"^17.0.11","@types/react-redux":"^7.1.25","@types/react-router-dom":"^5.3.3","@types/readable-stream":"4.0.4","@types/readable-stream-2":"^2.3.15","@types/readable-stream-3":"^4.0.4","@types/redux-mock-store":"1.0.6","@types/remote-redux-devtools":"^0.5.5","@types/selenium-webdriver":"^4.1.28","@types/serve-handler":"^6.1.4","@types/sinon":"^10.0.13","@types/sprintf-js":"^1","@types/unzipper":"^0.10.10","@types/w3c-web-hid":"^1.0.3","@types/watchify":"^3.11.1","@types/webextension-polyfill":"^0.10.4","@types/ws":"^8.5.10","@types/xml2js":"^0","@types/yargs":"^17.0.32","@types/yargs-parser":"^21.0.3","@typescript-eslint/eslint-plugin":"^7.10.0","@typescript-eslint/parser":"^7.10.0","@viem/anvil":"^0.0.10","@welldone-software/why-did-you-render":"^8.0.3","addons-linter":"^9.5.0",autoprefixer:"^10.4.19",axios:"patch:axios@npm%3A1.13.5#~/.yarn/patches/axios-npm-1.13.5-ed8865f696.patch","babel-plugin-react-compiler":"^1.0.0",babelify:"^10.0.0","bify-module-groups":"^2.0.0",browserify:"^17.0.0",browserslist:"^4.28.1",bs58:"^6.0.0",buffer:"^6.0.3",chalk:"^4.1.2",chokidar:"^3.6.0",commander:"^14.0.0",concurrently:"^8.2.2","copy-webpack-plugin":"^13.0.1","core-js-pure":"^3.38.0","crypto-browserify":"^3.12.0","css-loader":"^6.10.0","css-to-xpath":"^0.1.0",csstype:"^3.0.11",del:"^6.1.1",depcheck:"^1.4.3","detect-port":"^1.5.1",dotenv:"^16.4.5",duplexify:"^4.1.1",eslint:"patch:eslint@npm%3A8.57.0#~/.yarn/patches/eslint-npm-8.57.0-4286e12a3a.patch","eslint-config-prettier":"^10.1.5","eslint-import-resolver-node":"^0.3.4","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"41.1.2","eslint-plugin-mocha":"^10.1.0","eslint-plugin-n":"^17.24.0","eslint-plugin-prettier":"^5.5.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-react":"^7.37.5","eslint-plugin-react-compiler":"19.1.0-rc.2","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-storybook":"^0.6.15","eslint-plugin-tailwindcss":"^3.18.0",eta:"^3.2.0",ethers:"^5.7.0","fake-indexeddb":"^6.1.0","fancy-log":"^1.3.3","fast-glob":"^3.2.2",fflate:"^0.8.2","fs-extra":"^8.1.0",ganache:"patch:ganache@npm%3A7.9.2#~/.yarn/patches/ganache-npm-7.9.2-a70dc8da34.patch","gh-pages":"^5.0.0",globby:"^11.0.4",gulp:"^4.0.2","gulp-autoprefixer":"^8.0.0","gulp-livereload":"4.0.0","gulp-postcss":"^9.0.1","gulp-sass":"^5.1.0","gulp-sort":"^2.0.0","gulp-sourcemaps":"^3.0.0","gulp-watch":"^5.0.1","gulp-zip":"^5.1.0","html-bundler-webpack-plugin":"patch:html-bundler-webpack-plugin@npm%3A4.22.0#~/.yarn/patches/html-bundler-webpack-plugin-npm-4.22.0-5c9a1ad61e.patch","http-server":"^14.1.1","https-browserify":"^1.0.0",husky:"^8.0.3",ini:"^3.0.0",jest:"^29.7.0","jest-canvas-mock":"^2.3.1","jest-clean-console-reporter":"^0.3.0","jest-environment-jsdom":"patch:jest-environment-jsdom@npm%3A29.7.0#~/.yarn/patches/jest-environment-jsdom-npm-29.7.0-0b72dd0e0b.patch","jest-fixed-jsdom":"^0.0.9","jest-preview":"^0.3.1",jsdom:"^16.7.0","json-schema-to-ts":"^3.0.1",jsonwebtoken:"^9.0.2",koa:"^3.1.1",lavamoat:"10.0.5","lavamoat-viz":"^7.0.5",level:"^8.0.1","lockfile-lint":"^4.10.6","loose-envify":"^1.4.0",madge:"^8.0.0",micromatch:"^4.0.8","mini-css-extract-plugin":"^2.9.1",mocha:"^10.2.0","mocha-junit-reporter":"^2.2.1",mockttp:"^3.10.1","navigator.locks":"^0.8.6",nock:"patch:nock@npm%3A13.5.4#~/.yarn/patches/nock-npm-13.5.4-2c4f77b249.patch","node-fetch":"^2.6.1",nyc:"^15.1.0",octokit:"^4.1.3",openai:"^4.73.0","path-browserify":"^1.0.1",postcss:"^8.4.32","postcss-discard-font-face":"^3.0.0","postcss-loader":"^8.1.1","postcss-rtlcss":"^4.0.9",prettier:"^3.6.2","prettier-2":"npm:prettier@^2.8.8","prettier-eslint":"^16.4.2","prettier-plugin-sort-json":"^4.1.1",process:"^0.11.10",pumpify:"^2.0.1",randomcolor:"^0.5.4","react-compiler-webpack":"^1.0.0","react-devtools":"^6.1.5","react-devtools-core":"^6.1.5","react-syntax-highlighter":"^15.5.0","read-installed":"^4.0.3","readable-stream-2":"^2.3.3","readable-stream-3":"^3.6.2","redux-mock-store":"^1.5.4","remote-redux-devtools":"^0.5.16","resolve-url-loader":"^3.1.5","sass-embedded":"^1.71.0","sass-loader":"^14.1.1","schema-utils":"^4.2.0","selenium-webdriver":"^4.31.0",semver:"^7.5.4","serve-handler":"^6.1.2",sharp:"^0.34.2",sinon:"^9.0.0","source-map":"^0.7.4","source-map-explorer":"^2.4.2","sprintf-js":"^1.1.3",storybook:"^7.6.21","stream-browserify":"^3.0.0","stream-http":"^3.2.0","string.prototype.matchall":"^4.0.2","style-loader":"^0.21.0",stylelint:"^13.6.1",tailwindcss:"patch:tailwindcss@npm%3A3.4.17#~/.yarn/patches/tailwindcss-npm-3.4.17-403059edc1.patch",terser:"^5.44.1","terser-webpack-plugin":"^5.3.16",through2:"^4.0.2","ts-node":"^10.9.2",tsx:"^4.20.6",tweetnacl:"^1.0.3",typescript:"~5.6.0",unzipper:"^0.12.3",viem:"^2.21.8",vinyl:"^2.2.1","vinyl-buffer":"^1.0.1","vinyl-source-stream":"^2.0.0","vinyl-sourcemaps-apply":"^0.2.1","wait-on":"^7.0.1",watchify:"^4.0.0","webextension-polyfill":"^0.8.0",webpack:"^5.104.1","webpack-cli":"^6.0.1","webpack-dev-server":"^5.2.2",ws:"^8.17.1",yaml:"^2.4.1",yargs:"^17.7.2","yargs-parser":"^21.1.1"},engines:{node:">=24.13.0",yarn:"^4.12.0"},lavamoat:{allowScripts:{$root$:!0,"@lavamoat/lavadome-core>@lavamoat/preinstall-always-fail":!1,"@metamask/test-dapp-solana>@solana/spl-token>@solana/buffer-layout-utils>bigint-buffer":!1,"@sentry/cli":!0,"@storybook/test-runner>@storybook/core-common>esbuild":!1,"@swc/core":!0,"@trezor/connect-web>@trezor/connect>@trezor/protobuf>protobufjs":!1,"@trezor/connect-web>@trezor/connect>@trezor/transport>usb":!1,"@trezor/connect-web>@trezor/connect>@trezor/utxo-lib>blake-hash":!1,"@trezor/connect-web>@trezor/connect>@trezor/utxo-lib>tiny-secp256k1":!1,"core-js-pure":!0,"eth-lattice-keyring>gridplus-sdk":!1,"ethereumjs-util>ethereum-cryptography>keccak":!1,"ganache>@trufflesuite/bigint-buffer":!1,"ganache>@trufflesuite/uws-js-unofficial>bufferutil":!1,"ganache>@trufflesuite/uws-js-unofficial>utf-8-validate":!1,"ganache>bufferutil":!1,"ganache>keccak":!1,"ganache>leveldown":!1,"ganache>secp256k1":!1,"ganache>utf-8-validate":!1,"jest-preview":!1,"level>classic-level":!1,"react-devtools>electron":!0,"resolve-url-loader>es6-iterator>es5-ext":!1,sharp:!0,"tsx>esbuild":!0,"ws>bufferutil":!1,"ws>utf-8-validate":!1,"@google/genai>protobufjs":!1,"eth-lattice-keyring>gridplus-sdk>secp256k1":!1}},packageManager:"yarn@4.12.0",foundryup:{binaries:["anvil"],checksums:{algorithm:"sha256",binaries:{anvil:{"darwin-amd64":"8404e555223fe884557d5e22de494baf8b5f0b82c6f87a4c790c5150e546c9d0","darwin-arm64":"888500bc210752e71a355ed4d492ad6dcb4c0ef54d283c105a29a5ccc73d0dbd","linux-amd64":"6104069b183fa0f3cdcb692681da9dbd203a3c1bceb435853bbf7abd991c649e","linux-arm64":"d66ed8f848e829882ebb65d28aaac72aeab6a101655bb62147186040655928b5","win32-amd64":"6c71d9a7be39ed32b53c89bdbc83aa748f41587517212ffe2a8b955c3e9c2e9b"}}},version:"v0.3.0"}}}}},{package:"$root$",file:"package.json"}],["/home/runner/work/metamask-extension/metamask-extension/shared/constants/alerts.ts",{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Web3ShimUsageAlertStates=r.TOGGLEABLE_ALERT_TYPES=r.AlertTypes=void 0;let n=r.AlertTypes=function(e){return e.unconnectedAccount="unconnectedAccount",e.web3ShimUsage="web3ShimUsage",e.invalidCustomNetwork="invalidCustomNetwork",e.smartTransactionsMigration="smartTransactionsMigration",e}({});r.TOGGLEABLE_ALERT_TYPES=[n.unconnectedAccount,n.web3ShimUsage,n.smartTransactionsMigration];r.Web3ShimUsageAlertStates=function(e){return e[e.recorded=1]="recorded",e[e.dismissed=2]="dismissed",e}({})}}},{package:"$root$",file:"shared/constants/alerts.ts"}]],[],{});