PageSourceSearch

https://www.tickets.atelier-lumieres.com/web/_next/static/chunks/p…/account/password-reset-e5ced975e9125d97.js

js atelier-lumieres.com collected 2026-09-24 18:40:14 UTC 3,635 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5393],{43315:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/password-reset",function(){return s(61600)}])},47349:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(62900),l=s(38234);class i extends l.Ay{static async fetchOrganizationInfo(e){let t=a.J.BASE_URL()+"/api/organizations/"+e+"/info";return await this.fetchApi(l.U0.get,t)}}},47908:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>C,default:()=>k,getAccountPasswordResetProps:()=>P});var a=s(50979),l=s(70365),i=s(25963),r=s(82014),n=s(24875),o=s(81408),d=s(35781),c=s(56267),u=s(72202),h=s(60148),m=s(17686),g=s(55450),w=s(48474),f=s(49232),x=s(62900),p=s(67808),_=s(35531),R=s(42386),j=s(4142),v=s(81521),N=s(79902);let y=()=>{var e;let{t,i18n:s}=(0,l.Bd)("auth"),y=(0,n.C)();(0,g.useRouter)();let{seller:b}=(0,w.hn)(),A=(0,f.br)(),[S,C]=(0,i.useState)(!1),[P,k]=(0,i.useState)(""),I=(0,i.useRef)({sellerId:b._id,email:""}).current,q=(0,h.e)(I,new c.A({},m.Q.passwordReset));(0,i.useEffect)(()=>{j.v.applyCheckoutStyling({theme:"white",accentColor:(null==b?void 0:b.accentColor)||"#000000",sellerInfo:b})},[]);let E=async()=>{if(q.check(),q.hasErrors())return y();r.Ay.start();try{await p.A.requestPasswordReset(I,s.language,P)&&C(!0)}catch(e){_.X.info({title:t("auth:passwordResetRequest.failedPasswordResetPrompt.title"),message:t("auth:passwordResetRequest.failedPasswordResetPrompt.message")})}finally{r.Ay.stop()}},z=(0,f.oU)({_id:b._id},A);return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"account-grid",children:[(0,a.jsx)("div",{className:"account-left",children:(null==(e=b.brandingSettings)?void 0:e.customLogo)?(0,a.jsx)("a",{href:x.J.getValidUrl(b.brandingSettings.shopLogoUrl||z),children:(0,a.jsx)("img",{src:x.J.CDN_URL()+"/image?width=80&url="+b.brandingSettings.customLogo,alt:b.name})}):(0,a.jsx)(R.A,{className:"vi-w-36"})}),(0,a.jsxs)("div",{className:"account-right",children:[(0,a.jsxs)("div",{className:"mini-container",children:[(0,a.jsx)("h1",{className:"h2",children:t("auth:passwordResetRequest.title")}),S?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"text-muted mb-24",children:t("auth:passwordResetRequest.mailSent")})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"text-muted mb-24",children:t("auth:passwordResetRequest.message")}),(0,a.jsx)(o.Ay,{validator:q,children:(0,a.jsx)(d.A,{link:new u.a(I,"email"),title:t("auth:passwordResetRequest.mailFormInput.title"),type:"email"})}),(0,a.jsx)("div",{className:"vi-mb-1",children:(0,a.jsx)(v.C,{theme:"light",onVerify:e=>{k(e)}})}),(0,a.jsx)("button",{type:"button",disabled:!P||r.Ay.loading,className:"btn default block",onClick:e=>E(),children:t("auth:passwordResetRequest.buttons.passwordResetButton")})]})]}),(0,a.jsx)("div",{className:"footer-container",children:(0,a.jsx)(N.S,{hideCookieSettings:!0,sellerId:b._id})})]})]})})};var b=s(78077),A=s(47349),S=s(1017),C=!0;let P=async(e,t,s)=>{try{let a=await S.A.fetchSellerInfo(s,e.detectedLocale),l=(0,f.Wq)(t.domainCtx,a._id,a.orgId),i=null;return(null==a?void 0:a.orgId)&&(i=await A.A.fetchOrganizationInfo(a.orgId)),t.domainCtx=await l,{seller:a,organization:i}}catch(e){}return{seller:null,organization:null}},k=e=>{let{seller:t,organization:s}=e,{t:i}=(0,l.Bd)("seller");return t?(0,a.jsx)(w.O3,{seller:t,organization:s,children:(0,a.jsx)(y,{})}):(0,a.jsx)(b.M,{code:404,message:i("seller:sellerCouldNotBeFound")})}},61600:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>l,default:()=>i});var a=s(47908),l=!0;let i=a.default}},e=>{e.O(0,[7310,95,6762,5358,3148,2864,7621,639,636,6593,8792],()=>e(e.s=43315)),_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.