PageSourceSearch

https://www.strawberrynet.com/_next/static/chunks/pages/forget-password-4fd1ad77937f6ff3.js

js strawberrynet.com collected 2026-10-01 12:30:30 UTC 15,478 bytes, 297 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7655],{2336:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/forget-password",function(){return t(70272)}])},16966:(e,r,t)=>{"use strict";t.d(r,{A:()=>l});var i=t(37876);t(14232);var o=t(76252),n=t(18042),a=t(73894);let s=(0,o.A)(n.A)(({theme:e=""})=>({fontSize:16,borderRadius:"6px",textTransform:"uppercase",cursor:"pointer",...(e=>{switch(e){case"pink":return{color:"white","&, &:hover":{backgroundColor:a.y.pink},"&:hover":{opacity:".8"}};case"black":return{backgroundColor:"black",color:"white","&, &:hover":{backgroundColor:"black"},"&:hover":{opacity:".8"}};case"purple":return{backgroundColor:a.y.button_purple,color:"white","&, &:hover":{backgroundColor:a.y.button_purple},"&:hover":{opacity:".8"}};default:return{fontWeight:"bold",borderRadius:"6px",color:"black","&, &:hover":{border:"2px solid black",opacity:1},"&:disabled":{borderColor:a.y.disabled}}}})(e),"&:disabled":{backgroundColor:a.y.disabled,borderColor:a.y.disabled,color:a.y.disabledText,cursor:"not-allowed"}})),l=e=>{let{fullWidth:r=!0,disableRipple:t=!0,...o}=e;return(0,i.jsx)(s,{disableRipple:t,fullWidth:r,...o,children:e.children})}},31031:(e,r,t)=>{"use strict";t.d(r,{A:()=>s,l:()=>u});var i,o=t(37876),n=t(14232),a=t(73157);let s=({hooks:e,sx:r,persist:t=!1,dismissSeconds:i=4e3})=>{let s;return(0,n.useEffect)(()=>(t||(e.state.isShow?s=setTimeout(()=>{e.hide()},i):clearTimeout(s)),()=>{t||clearTimeout(s)}),[e.state.isShow]),e.state.isShow?(0,o.jsx)(a.A,{severity:e.state.severity,sx:r,children:e.state.message}):null},l={severity:"error",message:"",isShow:!1};var d=((i={}).Success="alertBar:success",i.Error="alertBar:error",i.Hide="alertBar:hide",i);let c=(e,r)=>{let{type:t,payload:i}=r;switch(t){case"alertBar:success":return{severity:"success",message:i.message,isShow:!0};case"alertBar:error":return{severity:"error",message:i.message,isShow:!0};default:return l}},u=()=>{let[e,r]=(0,n.useReducer)(c,l);return{state:e,success:e=>r({type:d.Success,payload:{message:e}}),error:e=>r({type:d.Error,payload:{message:e}}),hide:()=>r({type:d.Hide})}}},36853:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});var i=t(37876),o=t(48222),n=t(63676);let a=({pageTitle:e,headerTitle:r,children:t})=>(0,i.jsx)(n.A,{title:e,noLiveChat:!0,children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Y9,{children:(0,i.jsx)("div",{children:(0,i.jsx)("h1",{children:r})})}),(0,i.jsx)(o.mc,{children:t})]})})},36970:(e,r,t)=>{"use strict";t.d(r,{A:()=>l});var i=t(37876),o=t(99496),n=t(24379),a=t(8119),s=t(48222);let l=({children:e})=>(0,i.jsx)(o.A,{children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.A,{noNavMenu:!0}),(0,i.jsx)(s.mO,{children:Array.isArray(e)?e.map((e,r)=>(0,i.jsx)("div",{children:e},r)):(0,i.jsx)(i.Fragment,{children:e})}),(0,i.jsx)(n.A,{})]})})},48222:(e,r,t)=>{"use strict";t.d(r,{Y0:()=>u,Y9:()=>c,fn:()=>p,mO:()=>l,mc:()=>d});var i=t(82598),o=t(13224),n=t(76252),a=t(10163),s=t(80362);let l=n.A.div`
2	background-color: #f4f4f4;
3	padding-bottom: 4rem;
4`,d=n.A.div`
5	margin: 0 auto;
6	margin-bottom: 2rem;
7	display: flex;
8	justify-content: center;
9
10	${(0,o.B)("mobile")} {
11		flex-direction: column;
12		align-items: center;
13	}
14
15	& > div {
16		width: 100%;
17	}
18
19	& > .split {
20		width: auto;
21		margin: 10px 10px;
22	}
23
24	& > h2 {
25		margin: 1.2rem 0;
26		font-size: 20px;
27		font-weight: 900;
28	}
29
30	& > h2:first-of-type {
31		margin-top: 0;
32	}
33`,c=n.A.div`
34	background-color: #fff;
35	margin-bottom: 2rem;
36	padding: 1rem;
37
38	${(0,o.B)("mobile")} {
39		text-align: center;
40		padding: 1rem;
41		margin-bottom: 1rem;
42	}
43
44	div {
45		max-width: ${i.vX.default}px;
46		margin: 0 auto;
47		width: 100%;
48		padding: 0rem 15px;
49
50		& > h1 {
51			font-size: 35px;
52			margin: 0;
53		}
54
55		${(0,o.B)("mobile")} {
56			padding: 0;
57
58			& > h1 {
59				font-size: 20px;
60				letter-spacing: 0;
61			}
62		}
63	}
64`;(0,n.A)(a.A)`
65	margin-bottom: 1rem;
66
67	& > .MuiInputLabel-root {
68		color: black;
69		margin-bottom: 10px;
70		font-weight: bold;
71		font-size: 1.2rem;
72		font-family: OutFit;
73	}
74
75	& > .MuiInputLabel-root.Mui-focused {
76		color: black;
77
78		& > fieldset {
79			border: solid 1px #040404;
80		}
81	}
82
83	& > div > .MuiInputBase-input {
84		font-size: 1.1rem;
85	}
86
87	& .MuiInput-underline:after {
88		border-bottom: 1px solid rgba(0, 0, 0, 0.42);
89	}
90`;let u=n.A.button`
91	margin-top: 2rem;
92	padding: 1rem;
93	font-size: 16px;
94	text-align: center;
95	font-weight: bold;
96	border-radius: 2px;
97	border: solid 2px #121212;
98	color: black;
99	width: 100%;
100	background-color: #fff;
101	cursor: pointer;
102
103	:disabled {
104		border-color: #ddd;
105	}
106`,p=(0,n.A)(s.A)`
107	${(0,o.B)("desktop")} {
108		display: none;
109	}
110`},62871:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});var i=t(14232),o=t(27715),n=t(33810),a=(0,n.Ht)(o.Ay,()=>(e,r,t={})=>{let{mutate:a}=(0,o.iX)(),s=(0,i.useRef)(e),l=(0,i.useRef)(r),d=(0,i.useRef)(0),[c,u,p]=(0,n.vO)({data:n.ZH,error:n.ZH,isMutating:!1}),m=c.current,g=(0,i.useCallback)(async(e,r)=>{let[i,o]=(0,n.lK)(s.current);if(!l.current)throw Error("Can’t trigger the mutation: missing fetcher.");if(!i)throw Error("Can’t trigger the mutation: missing key.");let c=(0,n.rL)((0,n.rL)({populateCache:!1,throwOnError:!0},t),r),u=(0,n.lg)();d.current=u,p({isMutating:!0});try{let r=await a(i,l.current(o,{arg:e}
110),(0,n.rL)(c,{throwOnError:!0}));return d.current<=u&&(p({data:r,isMutating:!1,error:void 0}),null==c.onSuccess||c.onSuccess(r,i,c)),r}catch(e){if(d.current<=u&&(p({error:e,isMutating:!1}),null==c.onError||c.onError(e,i,c),c.throwOnError))throw e}},[]),h=(0,i.useCallback)(()=>{d.current=(0,n.lg)(),p({data:n.ZH,error:n.ZH,isMutating:!1})},[]);return(0,n.Es)(()=>{s.current=e,l.current=r}),{trigger:g,reset:h,get data(){return u.data=!0,m.data},get error(){return u.error=!0,m.error},get isMutating(){return u.isMutating=!0,m.isMutating}}})},63676:(e,r,t)=>{"use strict";t.d(r,{A:()=>B});var i=t(37876),o=t(14232),n=t(77328),a=t.n(n),s=t(32937),l=t(8349),d=t(84528),c=t(48230),u=t.n(c),p=t(95795),m=t(69877),g=t(68917),h=t(76252);let x=h.A.nav`
111	padding: 0;
112	padding-top: 10px;
113	margin-bottom: 2rem;
114
115	a:hover {
116		color: black;
117		text-decoration: underline;
118		transition: all 0.3s ease-in-out;
119	}
120`,f=({index:e,label:r,isLast:t=!1,darkBackground:o=!1})=>{let n=t?{itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem"}:null;return(0,i.jsxs)(s.A,{sx:{fontSize:12,fontWeight:"bold",display:"inline",color:o?"#fff":"#797979",...t&&{fontWeight:"bold"}},...n,children:[(0,i.jsx)("span",{itemProp:"name",children:r}),t&&(0,i.jsx)("meta",{itemProp:"position",content:e.toString()})]})},b=({index:e,asUrl:r,url:t,label:o,darkBackground:n=!1})=>{let{href:a,as:s}=(0,g.Go)(t,r);return(0,i.jsxs)("span",{itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem",children:[(0,i.jsx)(u(),{href:a,as:s,title:o,itemProp:"item",itemScope:!0,itemType:"https://schema.org/WebPage",itemID:r||t,children:(0,i.jsx)(f,{label:o,index:e,darkBackground:n})}),(0,i.jsx)("meta",{itemProp:"position",content:e.toString()})]})},w=({crumbList:e,darkBackground:r})=>(0,i.jsx)(x,{children:(0,i.jsx)(({darkBackground:r})=>(0,i.jsxs)(p.A,{separator:"/",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",sx:{"& .MuiBreadcrumbs-separator":{color:r?"#fff":"#797979"}},children:[(0,i.jsx)(b,{index:1,url:m.J.home,label:"Home",asUrl:m.J.home,darkBackground:r}),e?.map((e,t)=>e.url?(0,i.jsx)(b,{index:t+2,asUrl:e.asUrl,url:e.url,label:e.text,darkBackground:r},t):(0,i.jsx)(f,{index:t+2,label:e.text,isLast:!0,darkBackground:r},t))]}),{darkBackground:r})}),j=({metaInfos:e})=>{let{productImage:r}=e;return(0,i.jsxs)(a(),{children:[(0,i.jsx)("meta",{property:"og:image",content:r},"ogImage"),(0,i.jsx)("meta",{property:"og:type",content:"product"},"ogType"),(0,i.jsx)("meta",{name:"twitter:image",content:r},"twitterImage")]})};var k=t(35831),y=t(96988);function v({baseMetaInfo:e}){let{t:r}=(0,k.Bd)(),t=y.A.getState().region,o=e?.description?e?.description:r("arr789").replace("+region+",t),n=e?.keywords?e?.keywords:r("arr694");return(0,i.jsxs)(a(),{children:[(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{name:"twitter:description",content:o},"twitterDescription"),(0,i.jsx)("meta",{name:"description",content:o},"productDescription"),(0,i.jsx)("meta",{property:"og:description",content:o},"ogDescription")]}),(0,i.jsx)("meta",{name:"keywords",content:n})]})}var A=t(15339),S=t(82598);let B=({title:e="",baseMetaInfo:r,productMetas:t,breadcrumbs:n=[],noBreadcrumbBar:c=!1,noBreadcrumbBarPadding:u=!1,noLiveChat:p=!1,children:m,backgroundImage:g="",backgroundImageMobile:h="",darkBackground:x=!1})=>{let f=(0,l.A)(e=>e.setHasLiveChat),b=(0,A.U)(parseInt(S.hF.mobile));return(0,o.useEffect)(()=>{f(!p)},[p]),(0,i.jsxs)(s.A,{sx:{...b&&!!h&&{backgroundImage:`url(${h??g??""})`,backgroundRepeat:"no-repeat",backgroundPosition:"center top",backgroundAttachment:"fixed",backgroundSize:"cover"},...!b&&!!g&&{backgroundImage:`url(${g??h??""})`,backgroundRepeat:"no-repeat",backgroundPosition:"center top",backgroundAttachment:"fixed",backgroundSize:"cover"}},children:[(0,i.jsxs)(a(),{children:[(0,i.jsx)("title",{children:e}),(0,i.jsx)("meta",{property:"og:title",content:e},"ogTitle"),(0,i.jsx)("meta",{name:"twitter:title",content:e},"twitterTitle")]}),(0,i.jsx)(v,{baseMetaInfo:r}),!!t&&(0,i.jsx)(j,{metaInfos:t}),!c&&n.length>0&&(0,i.jsx)(d.A,{sx:{...u&&{p:0}}
120,children:(0,i.jsx)(w,{crumbList:n,darkBackground:x})}),m]})}},70272:(e,r,t)=>{"use strict";t.r(r),t.d(r,{__N_SSP:()=>z,default:()=>T});var i=t(37876),o=t(35831),n=t(36970),a=t(36853),s=t(62871),l=t(39091),d=t(88992),c=t(71090),u=t(48230),p=t.n(u),m=t(32937),g=t(65648),h=t(72636),x=t(69877),f=t(76252);f.A.div`
121	display: flex;
122	justify-content: center;
123`;let b=f.A.p`
124	font-weight: 900;
125	font-size: 1.25rem;
126	margin: 0.5rem 0;
127	color: #0c0c0c;
128`,w=f.A.p`
129	font-size: 0.875rem;
130`,j=f.A.div`
131	width: 100%;
132	text-align: center;
133
134	& > a {
135		color: #c66ee2;
136		font-weight: 500;
137		text-decoration: underline;
138		font-size: 14px;
139		display: inline-block;
140		margin: 1rem 0;
141		cursor: pointer;
142	}
143`;var k=t(16966),y=t(77377),v=t(31031),A=t(14232),S=t(84806);let B=e=>{let{t:r}=(0,o.Bd)(),{region:t,onClickReturnButton:n}=e,a=(0,v.l)(),[u,f]=(0,A.useState)(!1),B=l.Ik({email:l.Yj().required(r("forget_password_email_fail")).email(r("forget_password_email_fail"))}),M=(0,d.mN)({defaultValues:{email:""},resolver:(0,c.t)(B)}),z=M.watch("email",""),T=(0,s.A)("forgotfassword",async()=>(f(!0),a.hide(),await h.Di.forgotPassword({region:t,email:z})),{onSuccess:e=>{e.success?a.success(`${r("arr425")} ${z}`):a.error(e?.errors?.[0]||"forget password failed"),f(!1)},onError:()=>{f(!1),a.error("forget password failed")}}),I=async()=>await T.trigger();return(0,i.jsx)(S.oV,{children:(0,i.jsxs)("form",{noValidate:!0,autoComplete:"on",onSubmit:M.handleSubmit(I),children:[(0,i.jsx)(b,{children:r("arr426")}),(0,i.jsx)(w,{children:r("arr58")}),(0,i.jsx)(y.A,{form:M,label:r("arr383"),name:"email"}),(0,i.jsx)(v.A,{hooks:a,persist:!0}),(0,i.jsx)(k.A,{type:"submit",variant:"outlined",sx:{mt:2},disabled:T.isMutating||u,children:T.isMutating||u?(0,i.jsx)(g.A,{size:30,sx:{color:"#aaa"}}):r("arr52")}),n?(0,i.jsx)(m.A,{sx:{my:2,textAlign:"center",color:"#e0aaaa",textDecoration:"underline"},children:(0,i.jsx)("span",{style:{cursor:"pointer"},onClick:n,children:r("arr725")})}):(0,i.jsx)(j,{children:(0,i.jsx)(p(),{href:x.J.auth.login,title:r("arr725"),children:r("arr725")})}),(0,i.jsxs)(m.A,{sx:{mt:4,fontSize:12,lineHeight:1.2},children:[r("arr726"),(0,i.jsx)(p(),{href:x.J.contactDetails,title:r("arr9"),style:{margin:"0 3px"},children:(0,i.jsx)("u",{children:r("arr727")})}),r("arr728")]})]})})},M=e=>{let{t:r}=(0,o.Bd)();return(0,i.jsx)(a.A,{pageTitle:r("arr59"),headerTitle:r("arr59"),children:(0,i.jsx)(B,{region:e.region})})};M.layout=n.A;var z=!0;let T=M},77377:(e,r,t)=>{"use strict";t.d(r,{A:()=>p});var i=t(37876),o=t(14232),n=t(35831),a=t(76252),s=t(10163);let l=(0,a.A)(s.A)`
144	> .MuiInputLabel-root {
145		margin-bottom: 10px;
146		font-weight: bold;
147		font-size: 1.2rem;
148		font-family: OutFit;
149		transform-origin: ${e=>e.isRTL?"right":"left"} top;
150		${e=>e.isRTL?"right: 0;":"left: 0:"}
151	}
152
153	> .MuiFormHelperText-root {
154		text-align: ${e=>e.isRTL?"right":"left"};
155	}
156
157	> .MuiInputLabel-root.Mui-focused {
158		color: black;
159
160		> fieldset {
161			border: inset 1px black;
162		}
163	}
164
165	> div > .MuiInputBase-input {
166		font-size: 1.1rem;
167		color: black;
168	}
169
170	.MuiInput-underline:after {
171		border-bottom: 1px solid #f77070;
172	}
173`,d=(0,a.A)(s.A)``;var c=t(62597),u=t(1199);let p=e=>{let{form:r,formProps:t,name:a="",required:s=!1,margin:p="normal",variant:m="standard",helperText:g="",fullWidth:h=!0,validation:x,isExitIntent:f=!1,...b}=e,{t:w}=(0,n.Bd)(),{appData:j}=(0,u.T8)(),k=(0,c.N)(j),y=r?.watch(a)??e.value,v=r?.formState?.errors?.[a],[A,S]=(0,o.useState)(!k);if((0,o.useEffect)(()=>{S(!0)},[]),"hidden"===e.type)return(0,i.jsx)(d,{variant:m,hidden:!0,...b});let B=g||v?.message,M=f?B||" ":g||v?.message;return(0,i.jsx)(l,{name:a,defaultValue:y,margin:p,variant:m,isRTL:k,InputLabelProps:{shrink:A},...r&&r.register(a,{...x,required:!!s&&w("arr521"),...t}),required:s,error:!!v,helperText:M,fullWidth:h,...f&&{style:{marginTop:0,marginBottom:0},FormHelperTextProps:{style:{visibility:B?"visible":"hidden",minHeight:"1.2rem",display:"block",marginTop:0,marginBottom:0}}},...b})}},84806:(e,r,t)=>{"use strict";t.d(r,{HH:()=>c,ZQ:()=>p,mo:()=>u,oV:()=>d});var i=t(48230),o=t.n(i),n=t(76252),a=t(32937),s=t(10163),l=t(13224);let d=(0,n.A)(a.A)`
174	background-color: white;
175	padding: 2rem;
176	border-radius: 10px;
177	border: solid 1px #ebebeb;
178	max-width: 550px;
179	height: fit-content;
180
181	> span {
182		color: #080808;
183		font-size: 14px;
184		position: relative;
185		top: -12px;
186	}
187`,c=(0,n.A)(o())`
188	color: #080808;
189	font-weight: 600;
190	text-decoration: underline;
191	font-size: 12px;
192	margin: 0.25rem 0 1rem;
193	cursor: pointer;
194`,u=n.A.div`
195	position: fixed;
196	display: ${e=>e.show?"block":"none"};
197	width: 100%;
198	height: 100%;
199	top: 0;
200	left: 0;
201	right: 0;
202	bottom: 0;
203	background: rgba(0, 0, 0, 0.6);
204	z-index: 999;
205	overflow: hidden;
206
207	& > div {
208		position: absolute;
209
210		top: 50%;
211		left: 50%;
212		font-size: 50px;
213		color: white;
214		transform: translate(-50%, -50%);
215		-ms-transform: translate(-50%, -50%);
216		width: 600px;
217		height: auto;
218		border-radius: 24px;
219		border: solid 1px #f4f4f4;
220		background-color: #fff;
221		display: flex;
222		flex-direction: column;
223		align-items: center;
224		padding: 50px 80px;
225		max-width: 95%;
226		color: black;
227
228		${(0,l.B)("mobile")} {
229			padding: 60px 30px;
230		}
231
232		.close-button {
233			position: absolute;
234			top: 24px;
235			right: 24px;
236			cursor: pointer;
237		}
238
239		.reminder {
240			color: #c66ee2;
241			font-size: 30px;
242			font-weight: 600;
243			letter-spacing: 0.45px;
244
245			${(0,l.B)("mobile")} {
246				font-size: 24px;
247			}
248		}
249
250		.description {
251			font-size: 16px;
252			text-align: center;
253			letter-spacing: 0.3px;
254			color: #000;
255
256			${(0,l.B)("mobile")} {
257				font-size: 16px;
258			}
259		}
260
261		.form {
262			font-size: 14px;
263			width: 341px;
264			max-width: 100%;
265			font-weight: 600;
266
267			.button {
268				display: flex;
269				justify-content: center;
270			}
271		}
272	}
273`,p=(0,n.A)(s.A)`
274	width: 100%;
275	margin: 0;
276	height: 48px;
277	padding: 0;
278	font-size: 15px;
279	.MuiInputBase-root {
280		border-radius: 15px;
281
282		.MuiOutlinedInput-notchedOutline {
283			border-color: #a1a1a1;
284		}
285
286		.MuiFilledInput-input {
287			height: 46px;
288			font-size: 18px;
289			padding: 0 0 0 10px;
290			font-weight: bold;
291		}
292
293		&.Mui-focused .MuiOutlinedInput-notchedOutline {
294			border-color: inherit;
295		}
296	}
297`}},e=>{e.O(0,[6822,413,8992,7715,7972,3157,1653,8119,636,6593,8792],()=>e(e.s=2336)),_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.