PageSourceSearch

https://navisavitravel.com/_next/static/chunks/pages/reset-password-b6494d74be5f3c4e.js

js navisavitravel.com collected 2026-10-09 22:42:25 UTC 4,949 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6687def2-a44e-4c9f-83e8-131f769f5eec",e._sentryDebugIdIdentifier="sentry-dbid-6687def2-a44e-4c9f-83e8-131f769f5eec")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8006],{21173:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reset-password",function(){return n(18414)}])},18414:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return P},default:function(){return S}});var i=n(62364),o=n(15437),r=n(25675),a=n.n(r),c=n(41664),d=n.n(c),l=n(67294),s=n(81292),m=n(42727),u=n(89600),f=n(81517),g=n(7877),p=n(233),h=n(85918),b=n(11163),w=n(29496),v=n(83454);let x=o.ZP.div.withConfig({componentId:"sc-cc932629-0"})(["margin-top:3.2rem;margin-bottom:3.2rem;display:flex;flex-direction:column;justify-content:center;align-items:center;"]),Z=o.ZP.form.withConfig({componentId:"sc-cc932629-1"})(["background-color:#fff;padding:2rem;border-radius:0.5rem;box-shadow:0 0 1rem 0.5rem #ccc;min-width:28rem;max-width:85vw;flex-direction:column;display:flex;margin-top:3rem;margin-bottom:3rem;"]);o.ZP.h1.withConfig({componentId:"sc-cc932629-2"})(["margin-bottom:1.6rem;text-align:center;"]);let y=o.ZP.p.withConfig({componentId:"sc-cc932629-3"})(["font-size:2.4rem;"]),_=(0,o.ZP)(d()).withConfig({componentId:"sc-cc932629-4"})(["color:",";text-decoration:none;"],e=>{let{theme:t}=e;return t.colors.naviPurple.main}),I=o.ZP.div.withConfig({componentId:"sc-cc932629-5"})(["display:flex;width:100%;justify-content:center;padding:1rem 1rem 2rem;label{align-self:center;margin-right:0.5rem;}"]),C=o.ZP.div.withConfig({componentId:"sc-cc932629-6"})(["margin:1rem 0;font-size:1.6rem;color:green;"]),k=o.ZP.input.withConfig({componentId:"sc-cc932629-7"})(["border-radius:1rem;outline:none;border-radius:65px;border:1px solid rgba(70,80,99,0.3);background:rgba(255,255,255,0.8);width:30rem;height:40px;box-sizing:border-box;padding:0 2rem;@media (max-width:768px){width:100%;}"]);var P=!0,S=e=>{var t,n,o,r;let{content:c,shared:d}=e,{user:P,isUserValid:S}=(0,h.a)();(0,b.useRouter)();let E={canonicalUrl:"".concat(null!==(t=v.env.NS_URL_HOSTNAME)&&void 0!==t?t:"https://www.navisavitravel.com").concat(null!==(n=null==c?void 0:c.slug)&&void 0!==n?n:"reset-password"),metaDescription:null!==(o=null==c?void 0:c.metaDescription)&&void 0!==o?o:"Reset Password",title:null!==(r=null==c?void 0:c.pageTitle)&&void 0!==r?r:"Reset Password"},N=(0,m.Eg)(c,d),z=null==c?void 0:c.openGraphMetadata,[D,R]=(0,l.useState)(""),[B,T]=(0,l.useState)(!1);(0,l.useEffect)(()=>{B&&setTimeout(()=>{T(!1)},5e3)});let X=async e=>{e.preventDefault(),await (0,f.LS)(g.I,D).catch(e=>{console.error("Failed to send email: ",e)}),T(!0),(0,w.yv)("If this email address is registered with us, you'll receive a password reset link shortly.",{variant:"success"})};return(0,i.tZ)(s.Z,{metadata:E,ogmd:z,shared:d,children:(0,i.BX)(Z,{onSubmit:X,children:[N&&(0,i.tZ)(u.Z,{banner:N}),(0,i.BX)(x,{children:[(0,i.tZ)(a(),{priority:!0,src:"/navisavi.png",alt:"Navi Savi Logo",width:300,height:53}),(0,i.BX)("h1",{className:" mt-[10px] mb-[20px] text-center text-[32px] leading-loose font-bold",children:["Reset Password",(0,i.tZ)(y,{children:"Enter your email"})]}),(0,i.tZ)(I,{children:(0,i.tZ)(k,{required:!0,placeholder:"Email",id:"email",type:"email",name:"Email",onChange:e=>{R(e.target.value)}})}),(0,i.tZ)(p.Z,{text:"Submit",type:"submit",styles:{width:"30rem",color:"#fff",height:"40px",boxSizing:"border-box",borderRadius:"65px",marginBottom:"1.5rem",fontSize:"1.8rem",backgroundColor:"#624FF7"}}),B&&(0,i.tZ)(C,{children:"Check in inbox for a password reset link"}),(0,i.tZ)(_,{href:"/",children:"Return to the home page"})]})]})})}},89600:function(e,t,n){"use strict";var i=n(62364),o=n(67294),r=n(15437),a=n(233),c=n(13049);let d=r.ZP.div.withConfig({componentId:"sc-24a7eb8e-0"})(["display:flex;width:100%;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;background:rgb(23,115,235);position:relative;background-color:rgba(70,80,99,0.1);font-size:12px;font-weight:400;padding:1.5rem 3rem;box-sizing:border-box;*{color:rgba(70,80,99,1);padding:0;margin:0;}a{font-weight:700;text-decoration:none;}"]),l=r.ZP.div.withConfig({componentId:"sc-24a7eb8e-1"})(["color:white;"]),s=r.ZP.div.withConfig({componentId:"sc-24a7eb8e-2"})(["position:absolute;right:1.5rem;"]);t.Z=e=>{let{banner:t}=e,[n,r]=o.useState(!0),{closable:m,content:u}=t;return n?(0,i.BX)(d,{children:[(0,i.tZ)(l,{className:"intro",dangerouslySetInnerHTML:{__html:null!=u?u:""}}),m&&(0,i.tZ)(s,{children:(0,i.tZ)(a.Z,{onClick:()=>r(!1),title:"Close Banner",icon:(0,i.tZ)(c.Z,{}),styles:{border:"0px",padding:0}})})]}):null}}},function(e){e.O(0,[4577,9332,9184,7636,4097,1292,2888,9774,179],function(){return e(e.s=21173)}),_N_E=e.O()}]);

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.