PageSourceSearch

https://app.infura.io/_next/static/chunks/pages/forgotverify/[token]-a6e1d0db8295540a.js

js infura.io collected 2026-09-24 09:16:38 UTC 17,891 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9240],{61994:function(e,t){"use strict";t.DF={prefix:"fal",iconName:"eye",icon:[576,512,[128065],"f06e","M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},t.Md=t.DF},79946:function(e,t){"use strict";t.DF={prefix:"fal",iconName:"eye-slash",icon:[640,512,[],"f070","M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z"]},t.Aq=t.DF},1193:function(e,t,r){"use strict";var a=r(30871);t.DF={prefix:a.prefix,iconName:a.iconName,icon:[a.width,a.height,a.aliases,a.unicode,a.svgPathData]},t.f8=t.DF,a.prefix,a.iconName,a.width,a.height,a.aliases,a.unicode,a.svgPathData,a.aliases},30871:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="circle-check",a=[61533,"check-circle"],s="f058",n="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";t.definition={prefix:"fas",iconName:r,icon:[512,512,a,s,n]},t.faCircleCheck=t.definition,t.prefix="fas",t.iconName=r,t.width=512,t.height=512,t.ligatures=a,t.unicode=s,t.svgPathData=n,t.aliases=a},39499:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgotverify/[token]",function(){return r(13716)}])},60190:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},noSSR:function(){return i}});let a=r(97940);r(97458),r(52983);let s=a._(r(41228));function n(e){return{default:(null==e?void 0:e.default)||e}}function i(e,t){return delete t.webpack,delete t.modules,e(t)}function l(e,t){let r=s.default,a={loading:e=>{let{error:t,isLoading:r,pastDelay:a}=e;return null}};e instanceof Promise?a.loader=()=>e:"function"==typeof e?a.loader=e:"object"==typeof e&&(a={...a,...e});let l=(a={...a,...t}).loader;return(a.loadableGenerated&&(a={...a,...a.loadableGenerated},delete a.loadableGenerated),"boolean"!=typeof a.ssr||a.ssr)?r({...a,loader:()=>null!=l?l().then(n):Promise.resolve(n(()=>null))}):(delete a.webpack,delete a.modules,i(r,a))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78950:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return a}});let a=r(97940)._(r(52983)).default.createContext(null)},41228:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let a=r(97940)._(r(52983)),s=r(78950),n=[],i=[],l=!1;function o(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function o(){if(!n){let t=new c(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!l){let e=r.webpack?r.webpack():r.modules;e&&i.push(t=>{for(let r of e)if(t.includes(r))return o()})}function u(e,t){!function(){o();let e=a.default.useContext(s.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let i=a.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:n.retry}),[]),a.default.useMemo(()=>{var t;return i.loading||i.error?a.default.createElement(r.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:n.retry}):i.loaded?a.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return u.preload=()=>o(),u.displayName="LoadableComponent",a.default.forwardRef(u)}(o,e)}function d(e,t){let r=[];for(;e.length;){let a=e.pop();r.push(a(t))}return Promise.all(r).then(()=>{if(e.length)return d(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{d(n).then(e,t)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(l=!0,t());d(i,e).then(r,r)})),window.__NEXT_PRELOADREADY=u.preloadReady;let m=u},32951:function(e,t,r){"use strict";r.d(t,{Z:function(){return o},u:function(){return c}});var a=r(97458),s=r(52983),n=r(57291),i=r(14517);let l=(0,n.j)("rounded-md",{defaultVariants:{hasSections:!1,theme:"primary"},variants:{hasSections:{false:"p-6",true:"divide-y"},theme:{alternative:"border border-border-default bg-background-alternative",primary:"border border-border-muted bg-background-default"}}}),o=s.forwardRef(function(e,t){let{children:r,className:s,dataTestId:n,hasSections:o,theme:c}=e;return(0,a.jsx)("div",{className:(0,i.Z)(l({hasSections:o,theme:c}),s),"data-testid":n,ref:t,children:r})});o.displayName="Card";let c=e=>{let{children:t,className:r}=e;return(0,a.jsx)("div",{className:(0,i.Z)(r,"p-6"),children:t})}},68574:function(e,t,r){"use strict";function a(e){return!!e.response}r.d(t,{I:function(){return a}})},57981:function(e,t,r){"use strict";r.d(t,{g:function(){return g},p:function(){return b}});var a=r(97458),s=r(8441),n=r.n(s),i=r(80191),l=r.n(i),o=r(73605),c=r(1193),u=r(99724),d=r(61026),m=r(44762),f=r(80623);let h=n()(()=>r.e(1583).then(r.bind(r,91583)),{loadableGenerated:{webpack:()=>[91583]},ssr:!1}),p=()=>(0,a.jsxs)(l(),{href:"/",children:[(0,a.jsx)("span",{className:"hidden md:inline",children:(0,a.jsx)(u.Nz,{infura:(0,a.jsx)(m.Rc,{}),metamask:(0,a.jsx)(f.$1,{})})}),(0,a.jsx)("span",{className:"md:hidden",children:(0,a.jsx)(u.Nz,{infura:(0,a.jsx)(m.Rc,{}),metamask:(0,a.jsx)(f.nF,{})})})]}),x=e=>{let{children:t}=e;return(0,a.jsx)("li",{className:"mb-6",children:(0,a.jsxs)(d.x,{className:"flex items-baseline",children:[(0,a.jsx)(o.g,{className:"text-primary-default mr-2",icon:c.f8}),t]})})},b=e=>
1({subtitle:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mb-8",children:"Built to scale from an idea to enterprise applications"}),(0,a.jsxs)("ul",{children:[(0,a.jsx)(x,{children:"Battle-tested with a large community"}),(0,a.jsx)(x,{children:"Integration is easy and intuitive"}),(0,a.jsx)(x,{children:"Highest API availability"})]})]}),title:e?"Trusted by top wallets and applications building on Ethereum":"Great Web3 teams use MetaMask Developer Dashboard"});function g(e){let{children:t,customImage:r,subtitle:s,title:n}=e;return(0,a.jsxs)("div",{className:"lg:flex lg:min-h-screen",children:[(0,a.jsxs)("div",{className:"bg-background-default text-text-default relative hidden min-h-screen w-1/3 flex-col overflow-hidden lg:flex",children:[(0,a.jsx)("div",{className:"absolute -bottom-52 w-full",children:(0,a.jsx)("div",{className:"relative m-auto",children:(0,a.jsx)("div",{className:"relative m-auto",children:r||(0,a.jsx)(h,{})})})}),(0,a.jsx)("div",{className:"absolute w-full bg-gradient-to-t from-transparent via-gray-900 to-gray-900",style:{height:800}}),(0,a.jsxs)("div",{className:"xxl:p-16 relative p-10 pb-0",children:[(0,a.jsx)(p,{}),(0,a.jsx)("h1",{className:"xxl:text-4xl xxl:leading-10 mt-10 text-2xl font-bold",children:n||"Welcome back! Let’s get building."}),(0,a.jsx)("div",{className:"xxl:text-xl text-text-alternative pt-6",children:s||"Get the high availability blockchain APIs and developer tools you need to succeed."})]})]}),(0,a.jsx)("div",{className:"bg-black px-8 py-4 text-left lg:hidden",children:(0,a.jsx)(p,{})}),(0,a.jsx)("div",{className:"lg:flex lg:w-2/3 lg:flex-1 lg:flex-col lg:items-center",children:t})]})}},96524:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(97458),s=r(25085),n=r(94894),i=r(14517);function l(e){let{autoComplete:t,className:r,field:l,format:o,inputMode:c,isEqual:u,name:d,parse:m,pattern:f,type:h,validate:p,...x}=e;return(0,a.jsx)(s.gN,{autoComplete:t,format:o,inputMode:c,isEqual:u,name:d,parse:m,pattern:f,type:h,validate:p,...l,children:e=>{let s,{input:l,meta:o}=e,c=o.touched&&o.error,u=o.submitError&&o.error,d="password"===h;return((c||u)&&(s=o.error),d&&s&&(s=o.error),"checkbox"===h)?(0,a.jsx)("input",{defaultValue:l.value,type:h,...l,...x}):(0,a.jsx)(n.II,{autoComplete:t,className:(0,i.Z)("focus:border-primary-default focus:shadow-primary-default focus:ring-primary-default",r),error:s,type:h,...l,...x})}})}},72444:function(e,t,r){"use strict";r.d(t,{Z:function(){return x},e:function(){return p}});var a=r(97458),s=r(52983),n=r(25085),i=r(61994),l=r(79946),o=r(96524),c=r(73605),u=r(1193),d=r(14517),m=r(43089);let f=e=>[{isValid:e.length>7,requirement:"At least 8 characters in length"},{isValid:m.yl.test(e)&&m.YX.test(e),requirement:"Contain upper and lower case characters"},{isValid:m.uV.test(e),requirement:"At least one numerical character"},{isValid:m.F1.test(e),requirement:"At least one special character"}];var h=e=>{let{active:t,alwaysVisible:r,password:s="",pristine:n}=e;return(0,a.jsx)("section",{className:(0,d.Z)("hidden text-sm",{"!block":t||!n||r}),children:(0,a.jsx)("ul",{children:f(s).map((e,t)=>{let{isValid:r,requirement:s}=e;return(0,a.jsxs)("li",{className:"text-text-default leading-6",children:[(0,a.jsx)(c.g,{className:(0,d.Z)("text-border-default mr-2",{"!text-primary-default":r}),icon:u.f8}),s]},t)})})})};let p=(e,t)=>(e.newPassword||(t.newPassword="Required"),e.newPassword&&f(e.newPassword).some(e=>{let{isValid:t}=e;return!t})&&(t.newPassword="Requirements Not Met"),e.confirmNewPassword?e.confirmNewPassword!==e.newPassword&&(t.confirmNewPassword="Passwords Don't Match"):t.confirmNewPassword="Required",t);var x=()=>{let[e,t]=(0,s.useState)(!1),[r,c]=(0,s.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Z,{"data-testid":"newPassword",icon:e?i.Md:l.Aq,iconPosition:"right",label:"New Password",name:"newPassword",onIconClick:()=>t(!e),required:!0,type:e?"text":"password"}),(0,a.jsx)("div",{className:"mt-2",children:(0,a.jsx)(n.lP,{subscription:{active:!0,pristine:!0,touched:!0,values:!0},children:e=>{let{active:t,pristine:r,values:s}=e;return(0,a.jsx)(h,{active:t,password:s.newPassword,pristine:r})}})}),(0,a.jsx)("div",{className:"mt-6",children:(0,a.jsx)(o.Z,{"data-testid":"confirmNewPassword",icon:r?i.Md:l.Aq,iconPosition:"right",label:"Confirm New Password",name:"confirmNewPassword",onIconClick:()=>c(!r),required:!0,type:r?"text":"password"})})]})}},43089:function(e,t,r){"use strict";r.d(t,{F1:function(){return o},Le:function(){return d},YX:function(){return i},Z6:function(){return f},ff:function(){return m},gU:function(){return h},k_:function(){return x},qH:function(){return p},rC:function(){return u},uV:function(){return l},yl:function(){return n},ym:function(){return c}});var a=r(18648),s=r(11771);let n=new RegExp(/[A-Z]/),i=new RegExp(/[a-z]/),l=new RegExp(/[0-9]/),o=new RegExp(/[^\w\s]/),c=(0,a.Z_)().required("Enter a Password").min(8,"Must be more than 8 characters").max(120,"Must be under 120 characters"),u=(0,a.Z_)().required("Enter a Password").min(8,"Must be at least 8 characters in length").max(120,"Must be not more than 120 characters").test("contains uppercase and lowercase characters","Must contain upper and lower case characters",e=>
1n.test(e)&&i.test(e)).test("contains numerical characters","Must contain at least one numerical character",e=>l.test(e)).test("contains special characters","Must contain at least one special character",e=>o.test(e)),d=(0,a.Z_)().email("Enter a valid email").required("Enter your email address"),m=(0,a.Z_)().test("no-email-alias",'The use of the "+" symbol for email aliases is not supported',e=>!!["@consensys.net",s.D$].some(t=>e.includes(t))||!(e.includes("+")&&e.indexOf("+")<e.indexOf("@"))).email("Enter a valid email").required("Enter your email address");async function f(e){let{validationSchema:t,values:r}=e;return await t.isValid(r)?{}:await t.validate(r,{abortEarly:!1}).catch(e=>e.inner.reduce((e,t)=>({...e,[t.path]:t.message}),{}))}let h={role:(0,a.Z_)().required("Select Role"),role_other:(0,a.Z_)().when("role",{is:e=>"other"===e,otherwise:e=>e,then:e=>e.required("Please describe your role").min(3,"Minimum 3 characters").max(100,"Maximum 100 characters")})},p={usage:(0,a.Z_)().required("Select Usage")},x={category:(0,a.Z_)().required("Select Category"),category_other:(0,a.Z_)().when("category",{is:e=>"other"===e,otherwise:e=>e,then:e=>e.required("Please describe marketplace").min(5,"Minimum 5 characters").max(200,"Maximum 200 characters")})}},85102:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var a=r(97458),s=r(32121),n=r(65169),i=r(86751),l=r(68574);let o=()=>(0,a.jsx)("a",{className:"text-white underline",href:i.uH.fraudCheckFailed,rel:"noopener noreferrer",target:"_blank",children:"read our support article."});function c(e,t){if(!(0,l.I)(e))return{[s.Ck]:t||"string"==typeof e?e:e.message};{let{data:{error:{code:r="",details:i=[],message:l=""}={}}}=e.response;return r===n.jK.VALIDATION?i.reduce((e,t)=>({...e,[t.target]:t.message}),{[s.Ck]:t||l}):r===n.jK.INVALID_EMAIL?{[s.Ck]:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"Email domain not supported. To learn more "}),(0,a.jsx)(o,{})]})}:{[s.Ck]:t||l}}}},13716:function(e,t,r){"use strict";r.r(t);var a=r(97458),s=r(98730),n=r.n(s),i=r(5211),l=r(52983),o=r(25085),c=r(73605),u=r(72890),d=r(30944),m=r(68957),f=r(32951),h=r(57981),p=r(72444),x=r(46478),b=r(85102);let g=e=>(0,p.e)(e,{});function w(){let{query:{token:e},replace:t}=(0,i.useRouter)(),r=(0,l.useCallback)(async r=>{try{await x.hi.resetPassword({...r,token:e}),t("/login")}catch(t){let{response:{data:{error:e}}}=t;if("jwt malformed"===e.message||"Incorrect nonce supplied."===e.message)return(0,b.Z)(e,"Invalid Reset Password Link");return(0,b.Z)(e)}},[e]);return(0,a.jsx)(h.g,{children:(0,a.jsxs)("div",{className:"m-auto max-w-3xl px-6 py-8",children:[(0,a.jsx)(n(),{children:(0,a.jsx)("meta",{content:"never",name:"referrer"})}),(0,a.jsx)("div",{className:"flex h-screen flex-1 flex-col",children:(0,a.jsx)("section",{className:"flex flex-1 items-center justify-center",children:(0,a.jsx)("div",{className:"w-full px-6 sm:w-[37rem]",children:(0,a.jsxs)(f.Z,{className:"w-full border-b border-gray-400 bg-transparent pb-6 !shadow-none",children:[(0,a.jsx)("h1",{className:"font-body mb-6 text-4xl font-bold",children:"Update Your Password"}),(0,a.jsx)(o.l0,{onSubmit:r,render:e=>{let{active:t,form:r,handleSubmit:s,pristine:n,submitError:i,submitting:o}=e;return(0,a.jsxs)(l.Fragment,{children:[i?(0,a.jsx)(d.Z,{className:"mb-2",color:"alert",size:"sm",variant:"outlined",children:(0,a.jsx)("span",{className:"w-full text-center",children:i})}):null,(0,a.jsx)("form",{className:"mb-3 text-lg",onSubmit:s,children:(0,a.jsxs)("div",{className:"leading-10",children:[(0,a.jsx)(p.Z,{}),(0,a.jsxs)("div",{className:"mt-6 flex flex-wrap justify-start",children:[(0,a.jsx)(m.z,{className:"mr-4","data-testid":"save-password",disabled:!t&&n||o,type:"submit",children:o?(0,a.jsx)(c.g,{className:"fa-fw fa-spin text-lg",icon:u.AX}):"Change Password"}),(0,a.jsx)(m.z,{onClick:()=>r.restart(),theme:"secondary",type:"button",children:"Cancel"})]})]})})]})},validate:g})]})})})})]})})}w._noLayout=!0,t.default=w},8441:function(e,t,r){e.exports=r(60190)}},function(e){e.O(0,[5085,5227,2888,9774,179],function(){return e(e.s=39499)}),_N_E=e.O()}]);
2//# sourceMappingURL=[token]-a6e1d0db8295540a.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.