PageSourceSearch

https://computeandmore.com/_next/static/chunks/pages/reset-password-d9fa23a9c9b6e88f.js

js computeandmore.com collected 2026-10-04 05:30:48 UTC 4,742 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8006],{9146:function(r,e,n){"use strict";var t=n(70643),o=n(65073);e.Z=t.ZP.div.withConfig({displayName:"Box",componentId:"sc-1va2rw6-0"})(["max-width:500px;margin:"," auto;background:white;padding:",";h1{text-align:center;margin-bottom:",";}"],o.RZ.large2,o.RZ.large2,o.RZ.large1)},95762:function(r,e,n){"use strict";var t=n(35005),o=n(70643),s=n(65073);e.Z=(0,o.ZP)(t.Z).withConfig({displayName:"SubmitButton",componentId:"sc-1grec38-0"})(["width:100%;padding:",";border:none;"],s.RZ.normal)},342:function(r,e,n){"use strict";n.r(e);var t=n(50029),o=n(59499),s=n(92777),a=n(82262),i=n(45959),c=n(72179),u=n(37247),l=n(87794),d=n.n(l),p=n(82175),f=n(11163),h=n.n(f),w=n(67294),m=n(88661),Z=n(21608),v=n(31555),y=n(70643),b=n(74231),g=n(9146),j=n(95762),P=n(19916),x=n(30717),O=n(65073),_=n(85893);function k(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.push.apply(n,t)}return n}function C(r){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k(Object(n),!0).forEach((function(e){(0,o.Z)(r,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}))}return r}function S(r){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(r){return!1}}();return function(){var n,t=(0,u.Z)(r);if(e){var o=(0,u.Z)(this).constructor;n=Reflect.construct(t,arguments,o)}else n=t.apply(this,arguments);return(0,c.Z)(this,n)}}var R=y.ZP.div.withConfig({displayName:"reset-password__Page",componentId:"sc-ermc76-0"})(["background:",";overflow:auto;"],O.$_.gray1),I=b.Ry({password:b.Z_().required("Password is required"),password_confirmation:b.Z_().oneOf([b.iH("password"),null],"Passwords must match")}),N=function(r){(0,i.Z)(n,r);var e=S(n);function n(){var r;(0,s.Z)(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(r=e.call.apply(e,[this].concat(a))).onSubmit=function(e){var n=r.props,o=n.store,s=n.token,a=n.email;o.showSpinner(),P.Z.resetPassword(C(C({},e),{},{token:s,email:a})).then((0,t.Z)(d().mark((function r(){var e;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o.showAlert("\u0e04\u0e38\u0e13\u0e44\u0e14\u0e49\u0e17\u0e33\u0e01\u0e32\u0e23\u0e23\u0e35\u0e40\u0e0b\u0e47\u0e15\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08","success"),r.next=3,P.Z.getMe();case 3:e=r.sent,o.setCurrentUser(e),h().push("/");case 6:case"end":return r.stop()}}),r)})))).catch((function(r){return o.showAlert(r.message)})).finally((function(){return o.hideSpinner()}))},r}return(0,a.Z)(n,[{key:"render",value:function(){return(0,_.jsx)(R,{children:(0,_.jsx)(p.J9,{validationSchema:I,onSubmit:this.onSubmit,initialValues:{},children:function(r){var e=r.handleSubmit,n=r.handleChange,t=r.values,o=r.errors;return(0,_.jsx)(g.Z,{children:(0,_.jsxs)(m.Z,{noValidate:!0,onSubmit:e,children:[(0,_.jsx)("h1",{children:"\u0e23\u0e35\u0e40\u0e0b\u0e47\u0e15\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19"}),(0,_.jsx)(m.Z.Group,{as:Z.Z,controlId:"formBasicPassword",children:(0,_.jsxs)(v.Z,{sm:12,children:[(0,_.jsx)(m.Z.Control,C({name:"password",type:"password",placeholder:"Password",onChange:n,isInvalid:!!o.password},t)),(0,_.jsx)(m.Z.Control.Feedback,{type:"invalid",children:o.password})]})}),(0,_.jsx)(m.Z.Group,{as:Z.Z,controlId:"formBasicPassword",children:(0,_.jsxs)(v.Z,{sm:12,children:[(0,_.jsx)(m.Z.Control,C({name:"password_confirmation",type:"password",placeholder:"Confirmation Password",onChange:n,isInvalid:!!o.password_confirmation},t)),(0,_.jsx)(m.Z.Control.Feedback,{type:"invalid",children:o.password_confirmation})]})}),(0,_.jsx)(j.Z,{type:"submit",children:"\u0e22\u0e37\u0e19\u0e22\u0e31\u0e19"})]})})}})})}}],[{key:"getInitialProps",value:function(){var r=(0,t.Z)(d().mark((function r(e){var n;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.query,r.abrupt("return",{token:n.token,email:n.email});case 2:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}()}]),n}(w.Component);e.default=(0,x.Z)(N)},44688:function(r,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reset-password",function(){return n(342)}])}},function(r){r.O(0,[9774,2888,179],(function(){return e=44688,r(r.s=e);var e}));var e=r.O();_N_E=e}]);

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.