PageSourceSearch

https://next.skipper.io/_next/static/chunks/pages/auth/password/new-4708b790c7f3c070.js

js skipper.io collected 2026-10-04 07:08:40 UTC 5,176 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7728],{59571:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/password/new",function(){return s(71734)}])},98451:function(e,t,s){"use strict";s.d(t,{C:function(){return l}});var r=s(52322);s(2784);var i=s(39097),n=s.n(i),a=s(61278);function l(e){var t=e.href;return(0,r.jsx)(n(),{href:void 0===t?"/auth/signin":t,children:(0,r.jsxs)("div",{className:"flex items-center cursor-pointer",children:[(0,r.jsx)(a.j,{className:"w-12 h-12 fill-current text-teal-600 mr-2 transform scale-110"}),(0,r.jsx)("h1",{className:"text-4xl text-passport font-bold font-inter",children:"Skipper"})]})})}},93997:function(e,t,s){"use strict";s.d(t,{i:function(){return a}});var r=s(52322);s(2784);var i=s(72779),n=s.n(i);function a(e){var t=e.className,s=n()("absolute top-32 bottom-0 right-0 left-0 z-0",t);return(0,r.jsx)("svg",{width:"100%",height:"100%",viewBox:"0 0 1440 640",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",className:s,children:(0,r.jsx)("path",{d:"M473 15.9267C217.959 37.5808 116 31.8926 0 20.7249V640H1440V7.72198C1363 20.7249 915 -21.6011 473 15.9267Z",fill:"#e8f6f8",fillOpacity:"1"})})}},71734:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return h}});var r=s(70865),i=s(52322);s(2784);var n=s(34867),a=s(93997),l=s(39097),o=s.n(l),c=s(19602),d=s(78616),$=s(52789),u=s(5632),m=s(98451),x=s(23357),p=s(47614),f=s(63955);function h(){var e=(0,d.zNA)((0,$.s3)("users")),t=(0,p.Xt)().dispatchNotification,s=(0,u.useRouter)(),l=(0,f.cI)(),h=l.register,v=l.handleSubmit,_=l.formState,j=_.errors,w=_.isDirty,N=function(r){e.mutateAsync({email:null==r?void 0:r.email}).then(function(e){var t;(null==e?void 0:null===(t=e.forgotPassword)||void 0===t?void 0:t.success)&&s.push("/users/password")}).catch(function(e){t({title:"Error creating account",text:e?null==e?void 0:e.message:"Something went wrong. Please try again later.",type:"danger"})})};return(0,i.jsxs)("div",{className:"relative flex flex-col sm:block h-screen overflow-y-auto",children:[(0,i.jsx)(x.x5,{title:"Forgot Password"}),(0,i.jsx)("header",{className:"pt-10 px:1 md:px-10",children:(0,i.jsx)("div",{className:"flex items-center justify-between px-1 md:px-20",children:(0,i.jsx)(m.C,{})})}),(0,i.jsxs)("div",{className:"relative pt-10 h-full px-2 sm:px-0",children:[(0,i.jsx)("div",{className:"z-10",children:(0,i.jsx)("div",{className:"flex justify-center",children:(0,i.jsx)("div",{className:"retlative md:px-16 py-12 max-w-2xl bg-white rounded-sm z-10 shadow-md border border-gray-100",children:(0,i.jsxs)("form",{onSubmit:v(N),children:[(0,i.jsx)("div",{children:(0,i.jsx)("h3",{className:"text-center font-semibold text-4xl",children:"Forgot your password?"})}),(0,i.jsx)("div",{className:"text-center mt-4 px-2 sm:px-0 whitespace-nowrap",children:"No worries! Enter your email, and we will send you a reset link."}),(0,i.jsxs)("div",{className:"w-full mt-4 mb-6 gap-x-6 px-3 sm:px-0",children:[(0,i.jsx)(n.BZ,(0,r.Z)({name:"email",id:"account_email_address",labelText:"Email address",hasError:!!(null==j?void 0:j.email),labelClassName:"text-gray-400 font-medium font-inter text-sm"},h("email",{required:!0,pattern:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i}))),!!(null==j?void 0:j.email)&&(0,i.jsx)("p",{className:"text-xs text-red-600 mt-1",children:"Valid email is required"})]}),(0,i.jsx)("div",{className:"relative w-full flex justify-center items-center px-24 mt-6",children:(0,i.jsx)(n.zx,{variant:"secondary",size:"large",className:"flex w-full rounded-full items-center justify-center pt-4",shape:"oval",type:"submit",disabled:e.isLoading||!w,children:(0,i.jsx)("p",{className:"sm:whitespace-normal whitespace-nowrap text-xl font-inter font-bold py-1",children:e.isLoading?"Sending Email...":"Reset Password"})})}),(0,i.jsx)("p",{className:"mt-8 text-sm font-bold font-inter",children:"No Email Address?"}),(0,i.jsx)("p",{className:"text-sm font-inter leading-5",children:"If your Skipper account is not connected to an email address, ask your parent or guardian to reset your password through their account in the ‘Manage Family’ section."}),(0,i.jsxs)("p",{className:"text-sm leading-5 font-medium text-center mt-6",children:["Need help? Contact support:"," ",(0,i.jsx)("span",{className:"text-info font-bold cursor-pointer hover:text-teal-600",onClick:function(){var e;
1null==navigator||null===(e=navigator.clipboard)||void 0===e||e.writeText("[email protected]"),t({title:"Copied to clipboard",text:"",type:"success"})},children:"[email protected]"})]}),(0,i.jsx)("div",{className:"group flex items-center justify-center w-full mt-4 cursor-pointer",children:(0,i.jsx)(o(),{href:"/auth/signin",passHref:!0,children:(0,i.jsxs)("p",{className:"text-magenta-600 font-inter flex items-center",children:["Back to log in",(0,i.jsx)(c.Z,{className:"-mb-0.5 group-hover:transform group-hover:translate-x-1 w-6 h-6"})]})})})]})})})}),(0,i.jsx)("div",{className:"relative z-20 w-full flex items-center justify-center mt-5"})]}),(0,i.jsx)(a.i,{})]})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=59571)}),_N_E=e.O()}]);
2//# sourceMappingURL=new-4708b790c7f3c070.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.