PageSourceSearch

https://www.missioncantina.com/_next/static/chunks/pages/reset-password-1655aecccfd94895.js

js missioncantina.com collected 2026-09-29 05:34:59 UTC 11,112 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6],{63651:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reset-password",function(){return t(66767)}])},66767:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return k},default:function(){return N}});var o=t(52322),r=t(39097),i=t.n(r),a=t(5632),c=t(2784),l=t(87749),d=t(63974),s=t(16162),p=t(63602),u=t(56580),f=t(43580),h=t(65413),m=t(96337),x=t(5288),g=t(92122),_=t(97421),b=t(2111),w=t(48994),v=t(23841);let I=(0,h.Ry)({password:(0,h.Z_)().min(8,b.xz.PASSWORD_LENGTH).required(b.xz.REQUIRED),passwordConfirmation:(0,h.Z_)().oneOf([(0,h.iH)("password"),null],b.xz.PASSWORD_MISMATCH).required(b.xz.REQUIRED)});function C(n){let{resetToken:e}=n,t=(0,u.useDispatch)(),{loading:r}=(0,u.useSelector)(v.$K);return(0,o.jsx)(p.J9,{validateOnBlur:!0,validateOnChange:!1,onSubmit:(n,o)=>{let{resetForm:r}=o;!function(n){let{password:o,passwordConfirmation:r}=n;t(w.Z.resetPassword({password:o,password_confirmation:r,reset_token:e}))}(n),r()},initialValues:{password:"",passwordConfirmation:""},validationSchema:I,children:n=>{let{dirty:e,isValid:t}=n;return(0,o.jsxs)(g.l,{children:[(0,o.jsxs)(m.fb,{children:[(0,o.jsx)(m.Ll,{children:(0,o.jsx)(g.I,{autoFocus:!0,id:"password",name:"password",type:"password",label:"New Password",autoComplete:"new-password"})}),(0,o.jsx)(m.Ll,{children:(0,o.jsx)(g.I,{id:"passwordConfirmation",name:"passwordConfirmation",type:"password",label:"Confirm Password",autoComplete:"new-password"})})]}),(0,o.jsx)(y,{disabled:!e||!t,$submitting:r,type:"submit",$buttonTheme:"secondary",children:(0,o.jsx)(x.Z,{accessor:"account.reset_password_submit_cta"})})]})}})}let y=(0,f.ZP)(_.Db).withConfig({componentId:"sc-48b56422-0"})(["width:100%;"]);var T=t(55354),E=t(63125),j=t(90736),P=t(73695),Z=t(20051),R=t(59706),k=!0;function N(){let n=(0,a.useRouter)(),[e,t]=(0,c.useState)(""),r=(0,P.JR)();return((0,c.useEffect)(()=>{let n=new URLSearchParams(window.location.search).get("token");t(null!=n?n:"")},[]),(0,Z.nD)())?(n.push(j.Z6.ACCOUNT),null):(0,o.jsx)(T.Z,{$backgroundOverride:!0,disabled:!!(0,R.K6)(r,"accounts.disable_accounts"),children:(0,o.jsx)(s.e,{children:(0,o.jsxs)(s.x,{children:[(0,o.jsx)(x.Z,{tag:"h1",accessor:"account.reset_password_header",html:!0}),(0,o.jsx)(x.Z,{tag:"h3",accessor:"account.reset_password_subheader",html:!0}),(0,o.jsx)(E.n,{$background:"transparent"}),(0,o.jsx)(C,{resetToken:e}),(0,o.jsx)(E.n,{}),(0,o.jsxs)("p",{children:[(0,o.jsx)(x.Z,{accessor:"signup.prompt",html:!0}),"\xa0",(0,o.jsx)(i(),{href:j.Z6.SIGN_UP,passHref:!0,onClick:()=>(0,l.O)(d.x.AUTH__CLICK_SIGN_UP),children:(0,o.jsx)(x.Z,{accessor:"signup.cta"})})]})]})})})}},96337:function(n,e,t){"use strict";t.d(e,{$3:function(){return x},Dk:function(){return m},Gq:function(){return s},JP:function(){return d},Ji:function(){return g},Ll:function(){return u},Mo:function(){return _},Pw:function(){return l},Qu:function(){return a},UN:function(){return b},VX:function(){return h},aN:function(){return i},fb:function(){return p},t9:function(){return c},yt:function(){return f}});var o=t(43580),r=t(36525);let i=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-0"})({display:"flex",flexDirection:"column",gap:"var(--size-3)",paddingTop:"var(--size-3)","@media (min-width: 768px)":{gap:"var(--size-6)",paddingTop:"var(--size-6)"}}),a=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-1"})({margin:"0 auto",maxWidth:"".concat(r._.MAX_LOYALTY_CONTAINER_WIDTH,"px"),padding:"".concat(2*r._.GUTTER,"px 0"),width:"100%"}),c=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-2"})({maxWidth:"".concat(r._.MAX_LOYALTY_CONTAINER_WIDTH,"px"),margin:"".concat(r._.LOYALTY_MENU_HEIGHT_DESKTOP,"px auto 0"),"@media (max-width: 767px)":{marginTop:"".concat(r._.LOYALTY_MENU_HEIGHT_MOBILE,"px")}}),l=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-3"})({display:"flex",alignItems:"center",width:"100%",justifyContent:"space-between"}),d=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-4"})({marginTop:"".concat(r._.LOYALTY_MENU_HEIGHT_DESKTOP,"px"),"@media (max-width: 767px)":{marginTop:"".concat(r._.LOYALTY_MENU_HEIGHT_MOBILE,"px")}
1}),s=o.ZP.form.withConfig({componentId:"sc-3b6e5b93-5"})({alignItems:"center",display:"flex",flexDirection:"column",margin:"0 auto",justifyContent:"center",width:"100%"}),p=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-6"})({alignItems:"center",display:"flex",flexWrap:"wrap",justifyContent:"center",width:"100%"}),u=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-7"})(n=>{let{autoHeight:e,theme:t}=n;return{flex:"1 1 33.333%",height:e?"auto":"".concat(t.forms.field_height+r._.GUTTER,"px"),overflow:"hidden",position:"relative","&:not(:first-child)":{paddingLeft:"".concat(r._.GUTTER,"px"),"@media (max-width: 767px)":{paddingLeft:0}},"@media (max-width: 767px)":{flexBasis:"100%"}}}),f=o.ZP.input.withConfig({componentId:"sc-3b6e5b93-8"})({backgroundColor:"#ffffff",borderRadius:"8px",border:"1px solid #e0ded9",height:"48px",marginBottom:"20px",padding:"0 12px",width:"100%",color:"#231f20",fontSize:"16px",fontFamily:"Jost, Arial, Helvetica"}),h=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-9"})({display:"flex",justifyContent:"right",alignSelf:"flex-end","@media (max-width: 767px)":{display:"flex",flexDirection:"column-reverse",width:"100%",margin:0,button:{width:"100%"},"> div:first-child":{margin:"".concat(r._.GUTTER,"px 0 0 0")}}}),m=(0,o.ZP)(h).withConfig({componentId:"sc-3b6e5b93-10"})({position:"relative",top:"-20px","@media (max-width: 767px)":{top:0}}),x=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-11"})({padding:"".concat(r._.GUTTER,"px"),p:{margin:"".concat(r._.GUTTER/4,"px 0"),fontSize:"16px"}}),g=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-12"})({display:"flex",justifyContent:"space-between",alignItems:"center","@media (max-width: 767px)":{display:"block"}}),_=o.ZP.div.withConfig({componentId:"sc-3b6e5b93-13"})({display:"flex",marginRight:"".concat(r._.GUTTER,"px"),alignItems:"center"}),b=o.ZP.button.withConfig({componentId:"sc-3b6e5b93-14"})(n=>{let{$bold:e,theme:t}=n;return{fontFamily:e?t.primary_font.bold.font_family:t.primary_font.regular.font_family,fontSize:"16px",color:t.global.primary_active_color,background:"none",border:"none",cursor:"pointer",padding:0,"&:hover":{opacity:.8}}})},16162:function(n,e,t){"use strict";t.d(e,{e:function(){return a},x:function(){return c}});var o=t(43580),r=t(36525),i=t(46956);let a=o.ZP.div.withConfig({componentId:"sc-ea7b8e07-0"})(["align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - ","px);@media (max-width:767px){background-color:",";min-height:calc(100vh - ","px);}"],2*r._.HEADERHEIGHT,n=>{let{theme:e}=n;return e.auth_page.background_color},2*r._.MOBILE_HEADERHEIGHT),c=o.ZP.div.withConfig({componentId:"sc-ea7b8e07-1"})(n=>{var e,t,o,a;let{theme:c}=n;return{backgroundColor:null!==(e=c.auth_page.background_color)&&void 0!==e?e:"transparent",border:"1px solid ".concat(null!==(t=c.auth_page.border_color)&&void 0!==t?t:"transparent"),borderRadius:"".concat(null!==(o=c.auth_page.border_radius)&&void 0!==o?o:0,"px"),margin:"0 auto",maxWidth:"".concat(r._.MEDIUM_CONTENT,"px"),padding:"40px 20px",textAlign:"center",width:"100%",...(0,i.l)(c.auth_page.font),h1:{margin:0,...(0,i.l)(c.auth_page.secondary_font)},h3:{...(0,i.l)(c.auth_page.font,["color","font_family","font_size","font_style","line_height"]),fontWeight:"normal",margin:0},p:{margin:"20px 0 0"},a:{textDecoration:"underline",transition:"opacity 0.2s linear",...(0,i.l)(c.auth_page.tertiary_font),"&:hover":{opacity:.7}},"@media (max-width: 767px)":{borderColor:null!==(a=c.auth_page.background_color)&&void 0!==a?a:"transparent"}}})},92122:function(n,e,t){"use strict";t.d(e,{l:function(){return s},I:function(){return d}});var o=t(52322),r=t(63602),i=t(2784),a=t(43580);let c=a.ZP.div.attrs({role:"alert",className:"error-message"}).withConfig({componentId:"sc-cda1c741-0"})(["color:",";top:","px;font-size:12px;",""],n=>{let{theme:e}=n;return e.global.error_color},n=>{let{theme:e}=n;return e.forms.field_height},n=>{let{hidden:e}=n;return e&&"\n    display: none;\n  "});var l=t(2569);let d=(0,i.forwardRef)((n,e)=>{let{normalize:t,validate:i,showErrorOnChange:a,...d}=n,[s,{error:p,touched:u},{setValue:f}]=(0,r.U$)({...d,validate:i}),h="checkbox"===d.type;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(l.I,{ref:e,...s,...d,onChange:e=>{if(h){s.onChange(e);return}let o=e.target.value,r=t?t(o):o;if(f(r),n.onChange){let t={...e,target:{...e.target,value:r}};n.onChange(t)}
1}}),(u||a)&&p&&(0,o.jsx)(c,{children:p})]})});d.displayName="FormikInput";let s=(0,a.ZP)(r.l0).withConfig({componentId:"sc-f378cad4-0"})(["align-items:start;display:flex;flex-wrap:wrap;justify-content:center;width:100%;"])},2569:function(n,e,t){"use strict";t.d(e,{I:function(){return l}});var o=t(52322),r=t(41969),i=t(2784),a=t(90916),c=t(74115);let l=(0,i.forwardRef)((n,e)=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c.H,{condition:!!(null==n?void 0:n.label),children:(0,o.jsx)("label",{htmlFor:n.id,children:n.label})}),(0,o.jsx)(c.H,{condition:!!(!(null==n?void 0:n.label)&&(null==n?void 0:n.label)!==null),children:(0,o.jsx)(r.f,{children:(0,o.jsx)("label",{htmlFor:n.id,children:n.label})})}),(0,o.jsx)(a.F,{ref:e,...n})]}));l.displayName="Input"},90916:function(n,e,t){"use strict";t.d(e,{F:function(){return a}});var o=t(43580),r=t(36525),i=t(46956);let a=o.ZP.input.withConfig({componentId:"sc-44488659-0"})(n=>{var e,t,o;let{theme:a,width:c}=n;return{backgroundColor:null!==(e=a.forms.background_color)&&void 0!==e?e:"transparent",borderRadius:"".concat(null!==(t=a.forms.border_radius)&&void 0!==t?t:0,"px"),border:"1px solid ".concat(null!==(o=a.forms.border_color)&&void 0!==o?o:"transparent"),height:"".concat(a.forms.field_height,"px"),padding:"0 var(--size-3)",width:null!=c?c:"100%",...(0,i.l)(a.forms.font,["color","font_family","font_size"]),"@media (max-width: 767px)":{fontSize:"16px",width:"100%"},"::-webkit-input-placeholder":{color:a.forms.placeholder_color},"::-moz-placeholder":{color:a.forms.placeholder_color},":-ms-input-placeholder":{color:a.forms.placeholder_color},":-moz-placeholder":{color:a.forms.placeholder_color},"&:focus-within":{borderColor:a.global.primary_active_color},"&:disabled":{background:r.DM.LIGHTGRAY,cursor:"not-allowed"}}})},63125:function(n,e,t){"use strict";t.d(e,{n:function(){return i}});var o=t(43580),r=t(36525);let i=o.ZP.hr.withConfig({componentId:"sc-b1115afe-0"})(["background-color:",";display:block;height:1px;border:0;margin:","px 0;padding:0;"],n=>{let{$background:e,theme:t}=n;return e||t.global.primary_border_color},r.jl.MEDIUM)},41969:function(n,e,t){"use strict";t.d(e,{f:function(){return a}});var o=t(7896),r=t(2784),i=t(72714);let a=(0,r.forwardRef)((n,e)=>(0,r.createElement)(i.WV.span,(0,o.Z)({},n,{ref:e,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...n.style}})))}},function(n){n.O(0,[688,462,553,270,593,807,354,888,774,179],function(){return n(n.s=63651)}),_N_E=n.O()}]);
2//# sourceMappingURL=reset-password-1655aecccfd94895.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.