PageSourceSearch

https://vintyresell.com/static/js/864.e35bd307.chunk.js

js vintyresell.com collected 2026-10-02 01:48:22 UTC 24,753 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[864],{24493(e,t,r){r.d(t,{eN:()=>i});function i(e){return-1===e?"Illimit\xe9":"".concat(e," / mois")}r.d(t,["B$",0,{"tools.estimator":5,"tools.ad_generator":5,"tools.market_study":5,"tools.niche_action_plan":5,"tools.listing_analyzer":10,"tools.article_analysis":5,"tools.bilan_vinted":15,"tools.photo_ai":15,"audit.premium":100},"Ou",0,{free:{monthlyCents:0,display:"Gratuit"},starter:{monthlyCents:1490,display:"14,90\u20ac",referenceCents:1990,annualCents:18900},pro:{monthlyCents:2990,display:"29,90\u20ac",referenceCents:3990,annualCents:37900},elite:{monthlyCents:4990,display:"49,90\u20ac",referenceCents:7990,annualCents:75900}},"k1",0,{starter:{tagline:"Id\xe9al pour d\xe9marrer la revente IA",pitch:"Pour qui commence \xe0 vendre s\xe9rieusement sur Vinted et veut arr\xeater de deviner. G\xe9n\xe9rateur d'annonces, estimation de prix et suivi des ventes en illimit\xe9.",whyUpgrade:"Quand tes 100 g\xe9n\xe9rations et 40 analyses mensuelles deviennent trop justes pour ton rythme de vente, Pro double tes quotas et d\xe9bloque la biblioth\xe8que compl\xe8te de grossistes."},pro:{tagline:"Le choix de la majorit\xe9 des membres",pitch:"Pour qui vend en volume et veut professionnaliser son activit\xe9 : quotas larges sur tous les outils IA, statistiques avanc\xe9es, formation vid\xe9o compl\xe8te et acc\xe8s aux Niches Priv\xe9es pour sourcer sans concurrence.",whyUpgrade:"Quand tu approches le rythme d'un plein-temps, Elite retire les plafonds sur l'analyse et la g\xe9n\xe9ration d'annonces et ajoute un accompagnement individuel avec l'\xe9quipe."},elite:{tagline:"Production \xe0 grande \xe9chelle, sans limites",pitch:"Pour qui fait de la revente son m\xe9tier : analyse d'annonces et g\xe9n\xe9ration illimit\xe9es, Photo IA \xe0 200 g\xe9n\xe9rations/mois, acc\xe8s complet \xe0 l'acad\xe9mie et accompagnement individuel (1-to-1) avec l'\xe9quipe VINTYRESELL.",whyUpgrade:null}},"p$",0,[{jours:3,credits:50},{jours:7,credits:70},{jours:14,credits:150},{jours:30,credits:250}],"t0",0,[{key:"credits",label:"Cr\xe9dits IA / mois",quotaKey:"credits_monthly",free:150,starter:850,pro:8500,elite:17e3},{key:"sales_tracker",label:"Suivi des ventes",quotaKey:"sales.entries_per_month",free:-1,starter:-1,pro:-1,elite:-1},{key:"photo_ai",label:"Photo IA",quotaKey:"tools.photo_ai_per_month",free:3,starter:-1,pro:-1,elite:-1},{key:"vintytrack",label:"VintyTrack",quotaKey:"tools.reselltrack_per_month",free:2,starter:-1,pro:-1,elite:-1},{key:"bilan_vinted",label:"Bilan Vinted",quotaKey:"tools.bilan_vinted_per_month",free:2,starter:-1,pro:-1,elite:-1}]])},61864(e,t,r){r.r(t),r.d(t,{default:()=>I});var i=r(89379),n=r(5544),o=r(34345),s=r(65043),a=r(63362),l=r(54528),c=r(77579),d=r(24493),p=r(77819),u=r(65469),g=r(36210),m=r(94651),h=r(35087),f=r(65727),x=r(35327),y=r(63944),b=r(14459),v=r(70579);const j=window.location.origin,k=["starter","pro","elite","lp_credits_s","lp_credits_m","lp_credits_l","credits_s","credits_m","credits_l"],_={starter:"Starter",pro:"Pro",elite:"Elite",lp_credits_s:"Recharge Starter (600 cr)",credits_s:"Recharge Starter (600 cr)",lp_credits_m:"Recharge Pro (2 000 cr)",credits_m:"Recharge Pro (2 000 cr)",lp_credits_l:"Recharge Elite (6 000 cr)",credits_l:"Recharge Elite (6 000 cr)"},w={pro:"39,90\u20ac"},A={starter:["Bot Vinted \u2014 alertes temps r\xe9el","CRM ventes & marges","Acc\xe8s formation vid\xe9o","Communaut\xe9 Discord priv\xe9"],pro:["Bot Vinted \u2014 alertes temps r\xe9el","Biblioth\xe8que compl\xe8te de grossistes","Niches priv\xe9es \u2014 300+ niches exclusives","Formation vid\xe9o compl\xe8te (3h+)","Statistiques avanc\xe9es","Support prioritaire"],elite:["Acc\xe8s complet \xe0 tous les modules Sourcing","Acc\xe8s complet \xe0 toute l'acad\xe9mie","Accompagnement individuel (1-to-1)","Discord priv\xe9"],lp_credits_s:["600 cr\xe9dits permanents","Jamais d'expiration","Photo IA, Annonce IA, Estimateur, VintyTrack"],credits_s:["600 cr\xe9dits permanents","Jamais d'expiration","Photo IA, Annonce IA, Estimateur, VintyTrack"],lp_credits_m:["2 000 cr\xe9dits permanents","Jamais d'expiration","Photo IA, Annonce IA, Estimateur, VintyTrack"],credits_m:["2 000 cr\xe9dits permanents","Jamais d'expiration","Photo IA, Annonce IA, Estimateur, VintyTrack"],lp_credits_l:["6 000 cr\xe9dits permanents","Jamais d'expiration","Photo IA, Annonce IA, Estimateur, VintyTrack"],credits_l:["6 000 cr\xe9dits permanents","Jamais d'expiration","Photo IA, Annonce IA, Estimateur, VintyTrack"]},S={lp_credits_s:{key:"lp_credits_s",name:"Recharge Starter (600 cr)",price:"4,90\u20ac",credits:600,pitch:"Recharge de 
1600 cr\xe9dits permanents pour tes outils IA.",directUrl:"https://buy.stripe.com/6oU14pegkaXjdoAfEGgw03L"},credits_s:{key:"lp_credits_s",name:"Recharge Starter (600 cr)",price:"4,90\u20ac",credits:600,pitch:"Recharge de 600 cr\xe9dits permanents pour tes outils IA.",directUrl:"https://buy.stripe.com/6oU14pegkaXjdoAfEGgw03L"},lp_credits_m:{key:"lp_credits_m",name:"Recharge Pro (2 000 cr)",price:"7,90\u20ac",credits:2e3,pitch:"Recharge de 2 000 cr\xe9dits permanents au meilleur rapport qualit\xe9/prix.",directUrl:"https://buy.stripe.com/00waEZ4FK3uRgAMboqgw03M"},credits_m:{key:"lp_credits_m",name:"Recharge Pro (2 000 cr)",price:"7,90\u20ac",credits:2e3,pitch:"Recharge de 2 000 cr\xe9dits permanents au meilleur rapport qualit\xe9/prix.",directUrl:"https://buy.stripe.com/00waEZ4FK3uRgAMboqgw03M"},lp_credits_l:{key:"lp_credits_l",name:"Recharge Elite (6 000 cr)",price:"10,90\u20ac",credits:6e3,pitch:"Pack intensif de 6 000 cr\xe9dits permanents pour les revendeurs actifs.",directUrl:"https://buy.stripe.com/9B6fZj8W09Tf70ceACgw03N"},credits_l:{key:"lp_credits_l",name:"Recharge Elite (6 000 cr)",price:"10,90\u20ac",credits:6e3,pitch:"Pack intensif de 6 000 cr\xe9dits permanents pour les revendeurs actifs.",directUrl:"https://buy.stripe.com/9B6fZj8W09Tf70ceACgw03N"}},C="\n@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');\n*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}\nhtml,body{background:#060e1f;color:#f8fafc;font-family:'Inter',system-ui,sans-serif;min-height:100%}\n.sg{font-family:'Space Grotesk',sans-serif}\n.gt{background:linear-gradient(135deg,#2dd4bf 0%,#38bdf8 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}\n.inp{width:100%;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:14px 14px 14px 42px;color:#f8fafc;font-size:15px;font-family:'Inter',sans-serif;outline:none;transition:border-color .2s ease}\n.inp:focus{border-color:rgba(45,212,191,.5);background:rgba(45,212,191,.03)}\n.inp::placeholder{color:#64748b}\n.btn-pay{background:linear-gradient(135deg,#2dd4bf,#0ea5e9);color:#030d1a;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:17px;border:none;border-radius:100px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:18px 24px;transition:opacity .2s ease,transform .2s ease;box-shadow:0 4px 14px rgba(45,212,191,0.25)}\n.btn-pay:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}\n.btn-pay:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}\n.btn-google{background:#fff;border:none;border-radius:100px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;color:#000;font-family:'Inter',sans-serif;font-weight:600;font-size:14.5px;padding:14px 20px;transition:opacity .2s ease}\n.btn-google:hover:not(:disabled){opacity:.9}\n.btn-google:disabled{opacity:.5;cursor:not-allowed}\n\n.divider{display:flex;align-items:center;gap:12px;color:#64748b;font-size:13px}\n.divider::before,.divider::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.07)}\n@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}\n@keyframes fiu{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}\n.fiu{animation:fiu .4s ease both}\n";function z(e){let t=e.size,r=void 0===t?18:t,i=e.color,n=void 0===i?"#030d1a":i;return(0,v.jsx)("span",{style:{width:r,height:r,border:"2px solid rgba(255,255,255,0.2)",borderTopColor:n,borderRadius:"50%",display:"inline-block",animation:"spin 0.8s linear infinite",flexShrink:0}})}function I(){var e,t;const r=(0,a.ok)(),I=(0,n.A)(r,1)[0],R=(0,l.A)(),B=R.user,P=R.loading,q=R.register,E=(0,c.Q)().openCheckout,V="true"===I.get("cancelled"),N=I.get("plan"),T=k.includes(N)?N:"pro",U=S[T]||null,W=(0,s.useState)({name:"",email:"",password:""}),D=(0,n.A)(W,2),L=D[0],G=D[1],H=(0,s.useState)(!1),J=(0,n.A)(H,2),M=J[0],Y=J[1],F=(0,s.useState)(!1),K=(0,n.A)(F,2),O=K[0],Z=K[1],Q=(0,s.use
1State)(!1),X=(0,n.A)(Q,2),$=X[0],ee=X[1],te=(0,s.useState)(""),re=(0,n.A)(te,2),ie=re[0],ne=re[1],oe=(0,s.useState)(!1),se=(0,n.A)(oe,2),ae=se[0],le=se[1],ce=(0,s.useState)(!1),de=(0,n.A)(ce,2),pe=de[0],ue=de[1],ge=(0,s.useState)("form"),me=(0,n.A)(ge,2),he=me[0],fe=me[1],xe=e=>{G(t=>(0,i.A)((0,i.A)({},t),{},{[e.target.name]:e.target.value})),ne("")},ye=(0,s.useCallback)(async()=>{fe("processing"),le(!0);const e=localStorage.getItem("vr_token")||localStorage.getItem("token")||"",t=e?{Authorization:"Bearer ".concat(e)}:{},r=e=>{if(!e)return"";try{const t=new URL(e),r=(null===B||void 0===B?void 0:B.id)||"",i=((null===B||void 0===B?void 0:B.email)||L.email||"").trim();return r&&t.searchParams.set("client_reference_id",r),i&&t.searchParams.set("prefilled_email",i),t.toString()}catch(t){return e}};if(U){try{const e=(await o.A.post("/api/payments/v2/recharge/embedded",{pack_key:U.key,cgv_accepted:!0,withdrawal_waived:!0,cgv_version:"v1.1"},{headers:t})).data;if(e&&e.client_secret)return void await E({pack_key:U.key,isRecharge:!0,cgv_accepted:O,withdrawal_waived:$,cgv_version:"v1.1"});if(e&&e.url)return void(window.location.href=e.url)}catch(n){return void(window.location.href=r(U.directUrl))}return void(window.location.href=r(U.directUrl))}const i="annual"===I.get("billing")?"annual":"monthly";try{const e="annual"===i?"".concat(T,"_annual"):"pro"===T||"elite"===T?"".concat(T,"_monthly"):T,r=(await o.A.post("".concat(j,"/api/payments/create-checkout-new"),{plan:e,email:L.email||void 0},{headers:t})).data;if(r&&r.url)return void(window.location.href=r.url);throw new Error("Pas de redirection Stripe re\xe7ue")}catch(s){const e={starter:{monthly:"https://buy.stripe.com/6oU3cxdcgd5r3O0646gw046",annual:"https://buy.stripe.com/bJe9AVfko4yV98kakmgw047"},pro:{monthly:"https://buy.stripe.com/3cI5kF8W0ghD3O03VYgw100",annual:"https://buy.stripe.com/aFa3cx5JO9Tf1FS9gigw101"},elite:{monthly:"https://buy.stripe.com/4gM4gB6NS5CZ84g3VYgw102",annual:"https://buy.stripe.com/8x25kFa043uR84gakmgw103"}},t=e[T]||e.starter,n=t[i]||t.monthly;window.location.href=r(n)}},[E,O,$,T,U]),be=(0,s.useCallback)(()=>{const e="46457607668-8ubrau1h6ri87nme8cvfsghd0ajhod0a.apps.googleusercontent.com";ue(!0),ne(""),sessionStorage.setItem("vty_pending_checkout_plan",T);const t=encodeURIComponent("".concat(window.location.origin,"/login"));window.location.href="https://accounts.google.com/o/oauth2/v2/auth?client_id=".concat(e,"&redirect_uri=").concat(t,"&response_type=id_token&scope=email+profile&nonce=random_nonce&prompt=select_account")},[T]);if(P)return(0,v.jsx)("div",{style:{minHeight:"100vh",background:"#060e1f",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,v.jsx)(z,{color:"#2dd4bf"})});const ve="annual"===I.get("billing"),je=A[T]||[],ke=_[T]||(U?U.name:"Pro"),_e=ve&&!U?"".concat(ke," Annuel"):ke,we=U?U.price:ve?{starter:"95\u20ac",pro:"299\u20ac",elite:"479\u20ac"}[T]||"299\u20ac":(null===(e=d.Ou[T])||void 0===e?void 0:e.display)||"39,90\u20ac",Ae=U?null:w[T],Se=U?U.pitch:(null===(t=d.k1[T])||void 0===t?void 0:t.pitch)||"",Ce=U?"":ve?"/an":"/mois";return"processing"===he?(0,v.jsxs)("div",{style:{minHeight:"100vh",background:"#060e1f",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:16},children:[(0,v.jsx)("style",{children:C}),(0,v.jsx)(z,{size:32,color:"#2dd4bf"}),(0,v.jsx)("p",{className:"sg",style:{fontSize:16,fontWeight:600,color:"#f8fafc"},children:"Connexion au paiement s\xe9curis\xe9..."})]}):(0,v.jsxs)("div",{style:{minHeight:"100vh",background:"#060e1f",position:"relative"},children:[(0,v.jsx)("style",{children:C}),(0,v.jsx)("div",{"aria-hidden":!0,style:{position:"fixed",top:0,left:"50%",transform:"translateX(-50%)",width:"100%",height:400,background:"radial-gradient(ellipse at top,rgba(45,212,191,.08) 0%,transparent 70%)",pointerEvents:"none"}}),(0,v.jsxs)("div",{className:"fiu",style:{maxWidth:460,margin:"0 auto",padding:"30px 20px 80px",position:"relative",zIndex:1},children:[(0,v.jsxs)(a.N_,{to:"/#pricing",style:{display:"inline-flex",alignItems:"center",gap:6,color:"#64748b",fontSize:13,textDecoration:"none",marginBottom:24},children:[(0,v.jsx)(u.A,{size:14})," Retour aux offres"]}),V&&(0,v.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,background:"rgba(245,158,11,.07)",border:"1px solid rgba(245,158,11,.2)",borderRadius:12,padding:"12px 16px",marginBottom:24},children:[(0,v.jsx)(p.A,{size:15,color:"#f59e0b"}),(0,v.jsx)("span",{style:{fontSize:13,color:"#f59e0b"},children:"Paiement annul\xe9."})]}),(0,v.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:8,marginBottom:16},children:[(0,v.jsx)("div",{style:{display:"flex",gap:1},children:[1,2,3,4,5].map(e=>(0,v.jsx)("div",{style:{width:18,height:18,background:"#00b67a",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:2},children:(0,v.jsx)(y.A,{size:11,fill:"#fff",color:"#fff"})},e))}),(0,v.jsx)("span",{style:{fontSize:13,color:"#94a3b8",fontWeight:500},children:"4,9/5 \xb7 +300 membres"})]}),(0,v.jsxs)("div",{style:{background:"rgba(255,255,255,.02)",border:"1px solid rgba(45,212,191,.15)",borderRadius:20,padding:24,marginBottom:24,boxShadow:"0 8px 32px rgba(0,0,0,.2)"},children:["pro"===T&&(0,v.jsx)("div",{style:{display:"flex",justifyContent:"center",marginBottom:16},children:(0,v.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:5,background:"linear-gradient(135deg,#2dd4bf,#0ea5e9)",borderRadius:100,padding:"4px 10px",fontSize:10,fontWeight:700,color:"#030d1a",fontFamily:"Space Grotesk,sans-serif",letterSpacing:.5},children:[(0,v.jsx)(y.A,{size:10,fill:"#030d1a",color:"#030d1a"})," LE PLUS POPULAIRE"]})}),(0,v.jsxs)("h1",{className:"sg",style:{fontSize:24,fontWeight:700,color:"#f8fafc",marginBottom:8,letterSpacing:"-0.5px",textAlign:"center"},children:["VINTYRESELL ",_e.toUpperCase()]}),(0,v.jsx)("p",{style:{fontSize:14.5,color:"#94a3b8",lineHeight:1.5,marginBottom:24,textAlign:"center"},children:Se}),(0,v.jsxs)("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"center",gap:8,marginBottom:24,paddingBottom:24,borderBottom:"1px solid rgba(255,255,255,.06)"},children:[Ae&&(0,v.jsx)("span",{style:{fontSize:18,color:"#64748b",textDecoration:"line-through",fontWeight:500},children:Ae}),(0,v.jsx)("span",{className:"sg",style:{fontSize:44,fontWeight:800,color:"#2dd4bf",letterSpacing:"-1px"},children:we}),!U&&(0,v.jsx)("span",{style:{fontSize:14,color:"#94a3b8"},children:Ce})]}),(0,v.jsxs)("div",{children:[(0,v.jsxs)("div",{style:{fontSize:13,fontWeight:600,color:"#f8fafc",textTransform:"uppercase",letterSpacing:1,marginBottom:16},children:["Ce que le ",_e," comprend"]}),(0,v.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:je.map(e=>(0,v.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10},children:[(0,v.jsx)("div",{style:{width:16,height:16,borderRadius:"50%",background:"rgba(45,212,191,.15)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0}
1,children:(0,v.jsx)(g.A,{size:10,color:"#2dd4bf",strokeWidth:3})}),(0,v.jsx)("span",{style:{fontSize:14,color:"#cbd5e1"},children:e})]},e))})]})]}),B?(0,v.jsxs)("div",{style:{background:"rgba(255,255,255,.025)",border:"1px solid rgba(255,255,255,.08)",borderRadius:20,padding:24},children:[(0,v.jsxs)("p",{style:{fontSize:14,color:"#cbd5e1",marginBottom:16},children:["Connect\xe9 en tant que ",(0,v.jsx)("strong",{children:B.email})]}),ie&&(0,v.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",gap:8,background:"rgba(239,68,68,.08)",border:"1px solid rgba(239,68,68,.2)",borderRadius:10,padding:"12px 14px",marginBottom:12},children:[(0,v.jsx)(p.A,{size:15,color:"#ef4444",style:{flexShrink:0,marginTop:2}}),(0,v.jsx)("p",{style:{fontSize:13.5,color:"#ef4444",lineHeight:1.4},children:ie})]}),(0,v.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:12,cursor:"pointer",marginTop:16,marginBottom:16},children:[(0,v.jsx)("input",{type:"checkbox",checked:O,onChange:e=>{Z(e.target.checked),ne("")},style:{display:"none"}}),(0,v.jsx)("div",{style:{width:20,height:20,borderRadius:6,border:"2px solid ".concat(O?"#2dd4bf":"rgba(255,255,255,.2)"),background:O?"#2dd4bf":"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transition:"all .2s ease"},children:O&&(0,v.jsx)(g.A,{size:12,color:"#030d1a",strokeWidth:3})}),(0,v.jsxs)("span",{style:{fontSize:12.5,color:"#94a3b8",lineHeight:1.5},children:["J'ai lu et j'accepte les ",(0,v.jsx)("a",{href:"/cgv",target:"_blank",rel:"noreferrer",onClick:e=>e.stopPropagation(),style:{color:"#cbd5e1",textDecoration:"underline"},children:"CGV"}),"."]})]}),(0,v.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:12,cursor:"pointer",marginBottom:16},children:[(0,v.jsx)("input",{type:"checkbox",checked:$,onChange:e=>{ee(e.target.checked),ne("")},style:{display:"none"}}),(0,v.jsx)("div",{style:{width:20,height:20,borderRadius:6,border:"2px solid ".concat($?"#2dd4bf":"rgba(255,255,255,.2)"),background:$?"#2dd4bf":"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transition:"all .2s ease"},children:$&&(0,v.jsx)(g.A,{size:12,color:"#030d1a",strokeWidth:3})}),(0,v.jsx)("span",{style:{fontSize:14,color:"#e2e8f0",lineHeight:1.5,fontWeight:500},children:"Je demande l'ex\xe9cution imm\xe9diate du service et reconnais les cons\xe9quences \xe9ventuelles sur mon droit de r\xe9tractation, conform\xe9ment aux conditions applicables."})]}),(0,v.jsx)("button",{onClick:()=>{(async()=>{null!==B&&void 0!==B&&B.id&&(O&&$?await ye():ne("Vous devez accepter les CGV et la renonciation au droit de r\xe9tractation pour continuer."))})()},disabled:ae,className:"btn-pay",style:{marginTop:12},children:ae?(0,v.jsx)(z,{color:"#030d1a",size:20}):"Continuer vers le paiement \u2192"}),(0,v.jsx)("div",{style:{textAlign:"center",marginTop:12},children:(0,v.jsx)("button",{onClick:()=>{localStorage.removeItem("vr_token"),window.location.reload()},style:{fontSize:12,color:"#64748b",background:"none",border:"none",textDecoration:"underline",cursor:"pointer"},children:"Se d\xe9connecter"})})]}):(0,v.jsxs)("div",{style:{background:"rgba(255,255,255,.025)",border:"1px solid rgba(255,255,255,.08)",borderRadius:20,padding:24},children:[(0,v.jsx)("h2",{className:"sg",style:{fontSize:20,fontWeight:700,color:"#f8fafc",marginBottom:16},children:"Cr\xe9er ton compte"}),(0,v.jsxs)("button",{type:"button",onClick:be,disabled:pe||ae,className:"btn-google",style:{marginBottom:10},children:[pe?(0,v.jsx)(z,{size:16,color:"#000"}):(0,v.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[(0,v.jsx)("path",{d:"M17.64 9.2045c0-.6381-.0573-1.2518-.1636-1.8409H9v3.4814h4.8436c-.2086 1.125-.8427 2.0782-1.7959 2.7164v2.2581h2.9087c1.7018-1.5668 2.6836-3.874 2.6836-6.615z",fill:"#4285F4"}),(0,v.jsx)("path",{d:"M9 18c2.43 0 4.4673-.8059 5.9564-2.1805l-2.9087-2.2581c-.8059.54-1.8368.859-3.0477.859-2.344 0-4.3282-1.5836-5.036-3.7118H.9574v2.3318C2.4382 15.9832 5.4818 18 9 18z",fill:"#34A853"}),(0,v.jsx)("path",{d:"M3.964 10.71c-.18-.54-.2836-1.1168-.2836-1.71s.1036-1.17.2836-1.71V4.9582H.9574C.3477 6.1732 0 7.5482 0 9s.3477 2.8268.9574 4.0418L3.964 10.71z",fill:"#FBBC05"}),(0,v.jsx)("path",{d:"M9 3.5795c1.3214 0 2.5077.4541 3.4405 1.346l2.5813-2.5814C13.4627.8918 11.4254 0 9 0 5.4818 0 2.4382 2.0168.9574 4.9582L3.964 7.29C4.6718 5.1618 6.656 3.5795 9 3.5795z",fill:"#EA4335"})]}),(0,v.jsx)("span",{children:"Continuer avec Google"})]}),(0,v.jsx)("div",{className:"divider",style:{marginBottom:16},children:"ou via Email"}),(0,v.jsxs)("form",{onSubmit:async e=>{if(e.preventDefault(),ne(""),L.email)if(!L.password||L.password.length<6)ne("Mot de passe : 6 caract\xe8res minimum.");else if(O&&$){le(!0);try{await q(L.email,L.password,L.name||void 0),await ye()}catch(i){var t,r;le(!1),ne((null===i||void 0===i||null===(t=i.response)||void 0===t||null===(r=t.data)||void 0===r?void 0:r.detail)||"Une erreur est survenue lors de la cr\xe9ation du compte.")}}else ne("Vous devez accepter les CGV et la renonciation au droit de r\xe9tractation pour continuer.");else ne("L'email est requis.")},style:{display:"flex",flexDirection:"column",gap:12},children:[(0,v.jsxs)("div",{style:{position:"relative"},children:[(0,v.jsx)(b.A,{size:16,style:{position:"absolute",left:14,top:"50%",transform:"translateY(-50%)",color:"#64748b"}}),(0,v.jsx)("input",{type:"text",name:"name",value:L.name,onChange:xe,placeholder:"Pr\xe9nom (facultatif)",className:"inp"})]}),(0,v.jsxs)("div",{style:{position:"relative"},children:[(0,v.jsx)(x.A,{size:16,style:{position:"absolute",left:14,top:"50%",transform:"translateY(-50%)",color:"#64748b"}}),(0,v.jsx)("input",{type:"email",name:"email",value:L.email,onChange:xe,placeholder:"Adresse email",required:!0,className:"inp"})]}),(0,v.jsxs)("div",{style:{position:"relative"},children:[(0,v.jsx)(f.A,{size:16,style:{position:"absolute",left:14,top:"50%",transform:"translateY(-50%)",color:"#64748b"}}),(0,v.jsx)("input",{type:M?"text":"password",name:"password",value:L.password,onChange:xe,placeholder:"Mot de passe (6 car. min.)",required:!0,className:"inp",style:{paddingRight:40}}),(0,v.jsx)("button",{type:"button",onClick:()=>Y(e=>!e),style:{position:"absolute",right:14,top:"50%",transform:"translateY(-50%)",background:"none",border:"none",cursor:"pointer",color:"#64748b"},children:M?(0,v.jsx)(h.A,{size:16}):(0,v.jsx)(m.A,{size:16})})]}),ie&&(0,v.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",ga
1p:8,background:"rgba(239,68,68,.08)",border:"1px solid rgba(239,68,68,.2)",borderRadius:10,padding:"12px 14px",marginTop:4},children:[(0,v.jsx)(p.A,{size:15,color:"#ef4444",style:{flexShrink:0,marginTop:2}}),(0,v.jsx)("p",{style:{fontSize:13.5,color:"#ef4444",lineHeight:1.4},children:ie})]}),(0,v.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:12,cursor:"pointer",marginTop:12,marginBottom:12},children:[(0,v.jsx)("input",{type:"checkbox",checked:O,onChange:e=>{Z(e.target.checked),ne("")},style:{display:"none"}}),(0,v.jsx)("div",{style:{width:20,height:20,borderRadius:6,border:"2px solid ".concat(O?"#2dd4bf":"rgba(255,255,255,.2)"),background:O?"#2dd4bf":"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transition:"all .2s ease"},children:O&&(0,v.jsx)(g.A,{size:12,color:"#030d1a",strokeWidth:3})}),(0,v.jsxs)("span",{style:{fontSize:12.5,color:"#94a3b8",lineHeight:1.5},children:["J'ai lu et j'accepte les ",(0,v.jsx)("a",{href:"/cgv",target:"_blank",rel:"noreferrer",onClick:e=>e.stopPropagation(),style:{color:"#cbd5e1",textDecoration:"underline"},children:"CGV"}),"."]})]}),(0,v.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:12,cursor:"pointer",marginBottom:16},children:[(0,v.jsx)("input",{type:"checkbox",checked:$,onChange:e=>{ee(e.target.checked),ne("")},style:{display:"none"}}),(0,v.jsx)("div",{style:{width:20,height:20,borderRadius:6,border:"2px solid ".concat($?"#2dd4bf":"rgba(255,255,255,.2)"),background:$?"#2dd4bf":"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transition:"all .2s ease"},children:$&&(0,v.jsx)(g.A,{size:12,color:"#030d1a",strokeWidth:3})}),(0,v.jsx)("span",{style:{fontSize:14,color:"#e2e8f0",lineHeight:1.5,fontWeight:500},children:"Je demande l'ex\xe9cution imm\xe9diate du service et reconnais les cons\xe9quences \xe9ventuelles sur mon droit de r\xe9tractation, conform\xe9ment aux conditions applicables."})]}),(0,v.jsx)("button",{type:"submit",disabled:ae||pe,className:"btn-pay",children:ae?(0,v.jsx)(z,{color:"#030d1a",size:20}):"Continuer vers le paiement \u2192"})]}),(0,v.jsxs)("div",{style:{marginTop:20,textAlign:"center"},children:[(0,v.jsx)("span",{style:{fontSize:13,color:"#64748b"},children:"D\xe9j\xe0 un compte ? "}),(0,v.jsx)(a.N_,{to:"/login?plan=".concat(T),style:{fontSize:13,color:"#2dd4bf",fontWeight:600,textDecoration:"none"},children:"Se connecter"})]})]})]})]})}}}]);
2//# sourceMappingURL=864.e35bd307.chunk.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.