PageSourceSearch

https://www.buckmason.com/component---src-pages-account-reset-jsx-0910fe662bda4a6bed93.js

js buckmason.com collected 2026-09-24 21:10:39 UTC 4,859 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkbuck_mason=self.webpackChunkbuck_mason||[]).push([[1596],{5016:function(e,t,r){r.r(t),r.d(t,{Head:function(){return i}});var a=r(6540),n=r(6778),s=r(1459),o=r(4270),l=r(1027),c=r(7622);t.default=()=>{const{reset:e}=(0,o.A)(),{0:t,1:r}=(0,a.useState)(!1),{0:n,1:i}=(0,a.useState)({}),m=(0,a.useRef)(null),u=(0,a.useRef)(null),d=e=>{i(t=>t[e]?{...t,[e]:void 0}:t)},p=t=>{t.preventDefault(),(()=>{const t=m.current.value,a=u.current.value,n={};if(t||(n.password="Please enter a password."),a?t&&t!==a&&(n.confirm="Passwords do not match."):n.confirm="Please confirm your password.",Object.keys(n).length)return void i(n);i({}),!0!==e(t,"https://staging.buckmason.com/account/reset/6090030710841/5ac8d31e3c1e8eec19d42d41b36bbd18-1699330985?syclid=c2eb5491-69a9-43e4-ac47-b822c8a63a57")&&r(!0)})()};return a.createElement("div",{className:c.T1},a.createElement("div",{className:c.LV},a.createElement("form",{onSubmit:e=>p(e),noValidate:!0},a.createElement("h1",{className:c.DD},"Change your password"),a.createElement("div",{className:l.sO,"aria-hidden":t?"false":"true",role:"alert","aria-atomic":"true"},a.createElement("strong",null,"Unable to reset"),"There was a problem, please try again or if you are still unable to change your password, please ",a.createElement(s.A,{href:"/pages/faq"},"contact us"),"."),a.createElement("div",{className:l.ZZ},a.createElement("input",{id:"CustomerPassword",type:"password",ref:m,name:"customer[password]",className:c.hF,placeholder:"Password *",autoComplete:"new-password",required:"required","aria-required":"true","aria-invalid":n.password?"true":"false","aria-describedby":n.password?"CustomerPassword-error":void 0,onInput:()=>d("password")}),a.createElement("label",{htmlFor:"CustomerPassword",className:[l.zb,c.Pf].join(" ")},"Password"),n.password&&a.createElement("span",{className:l.ah,id:"CustomerPassword-error",role:"alert"},n.password)),a.createElement("div",{className:l.ZZ},a.createElement("input",{id:"ConfirmPassword",type:"password",ref:u,name:"customer[password]",className:c.hF,placeholder:"Confirm Password *",autoComplete:"new-password",required:"required","aria-required":"true","aria-invalid":n.confirm?"true":"false","aria-describedby":n.confirm?"ConfirmPassword-error":void 0,onInput:()=>d("confirm")}),a.createElement("label",{htmlFor:"ConfirmPassword",className:[l.zb,c.Pf].join(" ")},"Confirm Password"),n.confirm&&a.createElement("span",{className:l.ah,id:"ConfirmPassword-error",role:"alert"},n.confirm)),a.createElement("div",{className:l.wh},a.createElement("input",{type:"submit",className:"btn",value:"Change password"})),a.createElement("div",{className:l.U5},a.createElement("div",{className:l.ZZ},a.createElement(s.A,{href:"/account/login"},"Back to Login"))))))};const i=()=>a.createElement(n.G,{title:"Reset",url:"/account/reset",hide:!0})},6778:function(e,t,r){r.d(t,{G:function(){return o}});var a=r(6540),n=r(6462),s=r(2711);const o=e=>{let{title:t,description:r,image:o,url:l=!1,children:c,hide:i=!1}=e;const m=(0,n.useLocation)();let u=`${t}${t.includes("Buck Mason")?"":" | Buck Mason"}`,d=o?(0,s.vt)(o,1024,!0):"https://cdn.shopify.com/s/files/1/0123/5065/2473/files/chicago_1_0d30a8f6-9b69-4702-9afe-2d58adbfcbf7.jpg?v=1696020535",p=r||"Inspired by laid back California ethos of easy living, quality, & simplicity, \n                      Buck Mason is a modern American brand that makes fashion less complicated.";const f=l?`https://www.buckmason.com${l.split("?")[0]}`:m.href.replace(/\/$/,"").split("?")[0];return a.createElement(a.Fragment,null,a.createElement("title",null,u),a.createElement("meta",{property:"og:url",content:f}),a.createElement("meta",{property:"og:title",content:(0,s.RC)(u)}),a.createElement("meta",{property:"og:image",content:d}),a.createElement("link",{rel:"image_src",href:d}),a.createElement("meta",{name:"twitter:image",content:d}),a.createElement("meta",{name:"twitter:title",content:(0,s.RC)(u)}),a.createElement("meta",{name:"twitter:url",content:f}),!i&&a.createElement("link",{rel:"canonical",href:f}),i&&a.createElement("meta",{name:"robots",content:"noindex"}),a.createElement("meta",{name:"description",content:(0,s.RC)(p)}),a.createElement("meta",{property:"og:description",content:(0,s.RC)(p)}),a.createElement("meta",{name:"twitter:description",content:(0,s.RC)(p)}),c)}},7622:function(e,t,r){r.d(t,{DD:function(){return c},GZ:function(){return o},LV:function(){return i},Pf:function(){return n},T1:function(){return s},VA:function(){return l},hF:function(){return a}});var a="logreg-module--input--72c7e",n="logreg-module--label--d2db4",s="logreg-module--logreg--f483d",o="logreg-module--squarecheck--0b983",l="logreg-module--subtitle--c2490",c="logreg-module--title--df3f7",i="logreg-module--wrap--40253"}}]);
2//# sourceMappingURL=component---src-pages-account-reset-jsx-0910fe662bda4a6bed93.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.