1import{j as e,u as H}from"./vendor-query-CnVJgDtS.js";import{u as F,r as u,d as Y}from"./vendor-react-B9UTwVUJ.js";import{L as J}from"./Layout-BZTG21Wl.js";import{S as $}from"./SEO-DcvjisX6.js";import{e as G,u as V,s as k,B as j}from"./index-Cx49XYBu.js";import{u as W}from"./useProfileManager-Iiiak9U-.js";import{u as K,C as Q}from"./ContinueReading-BuWRTMDK.js";import{u as X}from"./useStoryStats-cDJVnmvL.js";import{O as _}from"./OptimizedStoryCard-DJf6odxI.js";import{S as C}from"./skeleton-ac9sFZUt.js";import{a as Z,r as N}from"./utils-CS3tZPw8.js";import{u as ee}from"./useEmojiBurst-CDiVJpTO.js";import{a as se}from"./rewards-Bq94og4B.js";import{toast as I}from"./index-CqtmjIGR.js";import{S as E}from"./sparkles-Cy9dIcCr.js";import{W as te}from"./wand-sparkles-BveVGYBQ.js";import{R as ae}from"./rocket-NFJKrjfA.js";import"./use-toast-tfTEdvO_.js";import"./sheet-DhRWtD2W.js";import"./vendor-ui-KzfIh-gD.js";import"./dialog-BzZESAe8.js";import"./createLucideIcon-DcuJWPyU.js";import"./separator-BhN3qP2C.js";import"./engagementMilestones-Ox9hKC8e.js";import"./crown-Ulhw-YL6.js";import"./settings-k-fEU8RX.js";import"./vendor-supabase-C6GHtIgE.js";import"./stories-BJ3DXeeA.js";import"./storyFamilies-D90GFzgS.js";import"./card-CU6MTvUa.js";import"./map-BRlKdpu7.js";import"./clock-CU29ZvT8.js";import"./badge-CGmXKLhB.js";import"./StoryRatingBadge-C83DHpSO.js";import"./storyRatings-B5hbuQAP.js";import"./useStoryRatings-BAslRd3k.js";import"./purify.es-BKfhsMPj.js";import"./user-Dhpo8ZFM.js";import"./themes-wHKdMhXe.js";import"./FavoriteButton-DiPfbifw.js";import"./heart-C8AYHbD8.js";import"./award-CAZMR6Q9.js";import"./triangle-alert-DFWs3IRB.js";import"./rotate-ccw-CXB76rZi.js";const D=({count:i=2})=>e.jsx(e.Fragment,{children:Array.from({length:i}).map((x,r)=>e.jsx("div",{className:"story-card block shadow-lg rounded-xl overflow-hidden",children:e.jsxs("div",{className:"relative aspect-[3/4]",children:[e.jsx(C,{className:"w-full h-full absolute inset-0"}),e.jsxs("div",{className:"absolute top-0 left-0 right-0 flex justify-between items-start p-2 z-10",children:[e.jsx("div",{className:"flex gap-1",children:e.jsx(C,{className:"h-5 w-16 rounded-full"})}),e.jsx(C,{className:"h-7 w-7 rounded-full"})]}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/90 via-black/70 to-transparent p-4 pt-10",children:[e.jsx(C,{className:"h-5 w-3/4 mb-2 bg-white/20"}),e.jsx(C,{className:"h-4 w-1/2 bg-white/10"})]})]})},r))});function re({show:i,onClose:x}){const r=F(),[c,h]=u.useState(!1),[o,g]=u.useState(!1),b=p=>{p.stopPropagation(),x(),r("/sacados")};if(u.useEffect(()=>{if(!i){g(!1);return}(async()=>{if(c)return;const f=Z();if(!f)return;const m=await se(f,"ð¦");m.success&&m.isNew&&(I.success("ð¦ Licorne magique ajoutée au sac à dos !"),h(!0))})();const v=setTimeout(()=>g(!0),2e3);return()=>clearTimeout(v)},[i,c]),!i)return null;const d=Array.from({length:28}).map((p,v)=>{const f=Math.floor(Math.random()*100),m=(Math.random()*1.2).toFixed(2),y=(3+Math.random()*2).toFixed(2),w=(18+Math.random()*14).toFixed(0),q=Math.random()<.5?"â¨":Math.random()<.5?"â":"ð";return{x:f,d:m,t:y,s:w,r:q,key:v}});return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"emoji-rain","aria-hidden":!0,children:d.map(({x:p,d:v,t:f,s:m,r:y,key:w})=>e.jsx("span",{className:"drop",style:{"--x":`${p}vw`,"--delay":`${v}s`,"--time":`${f}s`,"--size":`${m}px`},children:y},w))}),e.jsx("div",{className:"secret-popup",role:"dialog","aria-live":"polite",children:e.jsxs("div",{className:"popup-card",children:[e.jsx("div",{className:"unicorn",children:"ð¦"}),e.jsx("p",{className:"title",children:"Bravo Jeune Moussaillon !"}),e.jsxs("p",{className:"msg",children:["Tu as débloqué le secret du Capitaine !",e.jsx("br",{}),e.jsx("strong",{children:"La licorne magique rejoint ton sac à dos ! ðâ¨"}),e.jsx("br",{}),e.jsx("em",{children:"Le vrai trésor, c'est ton imagination !"})]}),e.jsx("button",{onClick:b,className:"backpack-btn",children:"ð Voir mon sac à dos"}),o&&e.jsx("button",{onClick:p=>{p.stopPropagation(),x()},className:"close-btn",children:"â Fermer"})]})}),e.jsx("style",{children:` 2 .secret-popup { 3 position: fixed; inset: 0; 4 display: grid; place-items: center; 5 pointer-events: none; z-index: 9998; 6 padding: 24px; 7 } 8 .popup-card { 9 pointer-events: auto; 10 max-width: 600px; 11 background: linear-gradient(135deg,#7c3aed,#ec4899); 12 color: #fff; 13 border-radius: 20px; 14 box-shadow: 0 12px 40px rgba(0,0,0,.3); 15 padding: 28px 32px; 16 text-align: center; 17 animation: pop-in .6s cubic-bezier(.2,.8,.2,1); 18 } 19 .unicorn { font-size: 72px; margin-bottom: 12px; } 20 .title { font-weight: 800; font-size: 28px; margin: 0 0 8px; } 21 .msg { margin: 0; line-height: 1.5; font-size: 18px; } 22 23 .backpack-btn { 24 display: block; 25 width: 100%; 26 margin-top: 20px; 27 padding: 16px 24px; 28 font-size: 20px; 29 font-weight: 700; 30 background: linear-gradient(135deg, #fbbf24, #f59e0b); 31 color: #1f2937; 32 border: none; 33 border-radius: 16px; 34 cursor: pointer; 35 transition: transform 0.2s, box-shadow 0.2s; 36 box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4); 37 } 38 .backpack-btn:hover { 39 transform: scale(1.05); 40 box-shadow: 0 6px 24px rgba(251, 191, 36, 0.6); 41 } 42 43 .close-btn { 44 margin-top: 12px; 45 padding: 8px 16px; 46 font-size: 14px; 47 background: rgba(255,255,255,0.2); 48 color: #fff; 49 border: 1px solid rgba(255,255,255,0.3); 50 border-radius: 8px; 51 cursor: pointer; 52 transition: background 0.2s; 53 } 54 .close-btn:hover { 55 background: rgba(255,255,255,0.3); 56 } 57 58 @keyframes pop-in { 59 from { transform: translateY(18px) scale(.96); opacity: 0; } 60 to { transform: translateY(0) scale(1); opacity: 1; } 61 } 62 63 /* Pluie d'émojis (100% CSS) */ 64 .emoji-rain { 65 position: fixed; inset: -10vh 0 0 0; 66 overflow: hidden; z-index: 9997; pointer-events: none; 67 } 68 .emoji-rain .drop { 69 position: absolute; top: -10vh; left: var(--x); 70 font-size: var(--size); 71 animation: fall var(--time) linear var(--delay) forwards; 72 filter: drop-shadow(0 6px 8px rgba(0,0,0,.15)); 73 will-change: transform, opacity; 74 } 75 @keyframes fall { 76 0% { transform: translateY(0) rotate(0deg); opacity: .95; } 77 80% { opacity: .95; } 78 100% { transform: translateY(120vh) rotate(360deg); opacity: 0; } 79 } 80 81 /* Accessibilité : réduit l'animation si préférence système */ 82 @media (prefers-reduced-motion: reduce) { 83 .emoji-rain .drop { animation-duration: 1.2s; } 84 .popup-card { animation: none; } 85 } 86 `})]})}function ie({children:i}){const x=u.useRef(null),{burst:r}=ee(),[c,h]=u.useState(0),[o,g]=u.useState(!1),b=()=>{r(x.current);const d=c+1;h(d),d===5&&(g(!0),h(0))};return e.jsxs(e.Fragment,{children:[e.jsx("button",{ref:x,onClick:b,"aria-label":"Animation magique",className:"bg-transparent border-none cursor-pointer p-0 inline-block",children:i}),e.jsx(re,{show:o,onClose:()=>g(!1)})]})}const Qe=()=>{const i=F(),x=Y(),{user:r}=G(),{readerName:c,activeProfileId:h,activeProfileAgeRange:o,avatar:g,updateProfile:b}=W(),{stories:d,isLoading:p}=K(o),{readCounts:v,getReadCount:f}=X(),{subscribed:m,refreshOwnedStories:y,ownedStoryIds:w,availableCredits:q}=V(),[P,M]=u.useState(()=>{try{const s=localStorage.getItem("catalogStats");if(s)return JSON.parse(s)}catch{}return null}),{data:T=new Set}=H({queryKey:["homepage-audioStoryIds"],queryFn:async()=>{const{data:s}=await k.from("sequences").select("story_id, audio_url").not("audio_url","is",null),a=new Set;if(s)for(const t of s)t.audio_url?.trim()&&a.add(t.story_id);return a},staleTime:10*60*1e3});u.useEffect(()=>{const s=new URLSearchParams(x.search);if(s.get("purchase_success")==="true"&&r){const a=s.get("type"),t=s.get("id");a&&t&&(k.functions.invoke("confirm-purchase",{body:{item_type:a,item_id:t}}
86).then(({data:n,error:l})=>{!l&&n?.success&&(I.success(n.already_owned?"Contenu déjà dans votre bibliothèque !":"Achat confirmé ! Le contenu est maintenant dans votre bibliothèque ð"),y())}),i("/",{replace:!0}))}},[x.search,r]),u.useEffect(()=>{(async()=>{const[a,t,n]=await Promise.all([k.from("stories").select("id",{count:"exact",head:!0}).eq("is_draft",!1),k.from("sequences").select("id",{count:"exact",head:!0}),k.from("dictionary_words").select("id",{count:"exact",head:!0})]),l={stories:a.count??90,chapters:t.count??1100,words:n.count??750};M(l);try{localStorage.setItem("catalogStats",JSON.stringify(l))}catch{}})()},[]),u.useEffect(()=>{const s=()=>{const a=localStorage.getItem("userProfile");if(a)try{const t=JSON.parse(a);b(t)}catch{}};return window.addEventListener("storage",s),window.addEventListener("profileChanged",s),()=>{window.removeEventListener("storage",s),window.removeEventListener("profileChanged",s)}},[b]);const B=(s,a)=>{const t=["4-6","7-9","10-12","13-15","16+","16-18","18-99"],n=t.indexOf(a),l=t.indexOf(s);return n===-1||l===-1?!0:l<=n&&l>=Math.max(0,n-1)},z=(()=>{if(r)if(m){let s=d;o&&(s=d.filter(t=>B(t.ageRange,o)));const a=s.sort((t,n)=>new Date(n.createdAt).getTime()-new Date(t.createdAt).getTime());return{premiumStories:[],freeStories:[],guest:a.slice(0,2)}}else{const s=d.filter(t=>t.storyType==="premium").sort((t,n)=>{const l=o&&t.ageRange===o?1:0,S=o&&n.ageRange===o?1:0;return l!==S?S-l:new Date(n.createdAt).getTime()-new Date(t.createdAt).getTime()}).slice(0,2),a=d.filter(t=>t.storyType==="gratuit").sort((t,n)=>{const l=o&&t.ageRange===o?1:0,S=o&&n.ageRange===o?1:0;return l!==S?S-l:new Date(n.createdAt).getTime()-new Date(t.createdAt).getTime()}).slice(0,2);return{premiumStories:s,freeStories:a,guest:[]}}else{const a=d.filter(t=>t.storyType==="gratuit").map(t=>({story:t,readCount:f(t.id)})).sort((t,n)=>n.readCount-t.readCount).map(t=>t.story);return{premiumStories:[],freeStories:[],guest:a.slice(0,2)}}})(),O=z.guest.map(s=>({...s,title:N(s.title,c),description:N(s.description,c)})),R=z.premiumStories.map(s=>({...s,title:N(s.title,c),description:N(s.description,c)}));z.freeStories.map(s=>({...s,title:N(s.title,c),description:N(s.description,c)}));const L=r&&!m,A=m?d:r?d.filter(s=>s.storyType==="gratuit"||s.storyType==="verrouille"):d.filter(s=>s.storyType==="gratuit"),U=()=>
86{if(A.length>0){const s=A[Math.floor(Math.random()*A.length)];s.slug?i(`/histoires/${s.slug}`):i(`/histoires/${s.id}`)}else i("/bibliotheque")};return e.jsxs(J,{children:[e.jsx($,{title:"Capitaine Aventure - Histoires interactives où votre enfant est le héros",description:"Découvrez des histoires dont TU es le héros ! Plus de 50 aventures interactives pour enfants de 4 à 14 ans. Chaque choix change le cours de l'histoire. Ãducatif, ludique, personnalisé avec le prénom de votre enfant. Essai gratuit disponible.",keywords:"histoires interactives enfants, histoires dont tu es le héros, contes personnalisés prénom, lecture enfants, histoires éducatives, aventures interactives, livres numériques enfants",structuredData:{"@context":"https://schema.org","@type":"WebSite",name:"Capitaine Aventure",url:"https://capitaineaventure.fr",description:"Plateforme d'histoires interactives pour enfants où chaque lecteur devient le héros de son aventure",potentialAction:{"@type":"SearchAction",target:"https://capitaineaventure.fr/bibliotheque?search={search_term_string}","query-input":"required name=search_term_string"}}}),e.jsxs("div",{className:"page-container pb-20",children:[e.jsxs("div",{className:"text-center mb-4 sm:mb-6 overflow-visible",children:[e.jsxs("div",{className:"flex justify-center mb-2 relative overflow-visible",style:{minHeight:"280px"},children:[e.jsx(ie,{children:e.jsxs("picture",{children:[e.jsx("source",{srcSet:"https://iwgcbgtzfpzeqvgjjlyw.supabase.co/storage/v1/object/public/images-generales/logo.avif",type:"image/avif"}),e.jsx("source",{srcSet:"https://iwgcbgtzfpzeqvgjjlyw.supabase.co/storage/v1/object/public/images-generales/logo.png",type:"image/webp"}),e.jsx("img",{src:"https://iwgcbgtzfpzeqvgjjlyw.supabase.co/storage/v1/object/public/images-generales/logo.png",alt:"Capitaine Aventure",width:320,height:124,decoding:"async",fetchPriority:"high",loading:"eager",className:"object-contain w-full max-w-sm sm:max-w-lg md:max-w-xl lg:max-w-2xl px-4 relative z-10",style:{height:"auto",maxHeight:"260px"}})]})}),e.jsxs("div",{className:"absolute inset-0 overflow-visible pointer-events-none",style:{top:"-40px",bottom:"-40px"},children:[e.jsx("img",{src:"https://iwgcbgtzfpzeqvgjjlyw.supabase.co/storage/v1/object/public/images-generales/avion.webp",alt:"avion",width:120,height:80,loading:"lazy",decoding:"async",fetchPriority:"low",className:"absolute",style:{animation:"plane-fly 12s linear infinite",top:"50%",transform:"translateY(-50%)",width:"120px",height:"auto"}}),e.jsx("img",{src:"https://iwgcbgtzfpzeqvgjjlyw.supabase.co/storage/v1/object/public/images-generales/montgolfieremagique.webp",alt:"montgolfière",width:160,height:200,loading:"lazy",decoding:"async",fetchPriority:"low",className:"absolute top-2 left-2 w-16 sm:w-20 md:w-32 lg:w-40 animate-balloon-small z-[30]"})]})]}),e.jsxs("div",{children:[e.jsxs("h1",{className:"text-2xl sm:text-3xl md:text-4xl font-bold mb-2",children:["Ton aventure commence ici"," ",e.jsx("button",{onClick:()=>i("/profile"),className:"text-primary cursor-pointer transition-all hover:scale-105 inline-block",children:c||"Capitaine Aventure"})," ",r&&g?g:""," !"]}),e.jsx("h2",{className:"text-base sm:text-lg md:text-xl font-semibold text-primary mt-1 tracking-wide min-h-[1.75rem]",children:P?e.jsxs(e.Fragment,{children:[P.stories," histoires interactives",e.jsx("br",{}),r?"t'attendent":"personnalisées pour enfants"]}):null})]})]}),e.jsx("div",{className:"max-w-lg mx-auto space-y-3 mb-8",children:r?e.jsxs(e.Fragment,{children:[e.jsxs(j,{onClick:()=>i("/bibliotheque"),className:"w-full h-14 text-base sm:text-lg font-bold bg-gradient-to-r from-purple-600 via-pink-600 to-purple-600 hover:from-purple-700 hover:via-pink-700 hover:to-purple-700 text-white rounded-2xl shadow-lg transform transition-all hover:scale-105 relative overflow-hidden group",children:[e.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent animate-[shimmer_2s_ease-in-out_infinite]"}),e.jsx(E,{className:"mr-2 h-5 w-5 relative z-10 animate-spin",style:{animationDuration:"3s"}}),e.jsx("span",{className:"relative z-10",children:"Choisir une aventure"})]}),e.jsxs(j,{onClick:U,variant:"outline",className:"w-full h-14 text-base sm:text-lg font-bold rounded-2xl shadow-lg transform transition-all hover:scale-105",children:[e.jsx(te,{className:"mr-2 h-5 w-5"}),"Laisser la magie choisir"]})]}):e.jsxs(e.Fragment,{children:[e.jsxs(j,{onClick:()=>i("/histoires-gratuites"),className:"w-full h-14 text-base sm:text-lg font-bold bg-gradient-to-r from-purple-600 via-pink-600 to-purple-600 hover:from-purple-700 hover:via-pink-
86700 hover:to-purple-700 text-white rounded-2xl shadow-lg transform transition-all hover:scale-105 relative overflow-hidden group",children:[e.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent animate-[shimmer_2s_ease-in-out_infinite]"}),e.jsx(E,{className:"mr-2 h-5 w-5 relative z-10 animate-spin",style:{animationDuration:"3s"}}),e.jsx("span",{className:"relative z-10",children:"Tester Capitaine Aventure"})]}),e.jsxs(j,{onClick:()=>i("/auth?tab=signup"),variant:"outline",className:"w-full h-14 text-base sm:text-lg font-bold rounded-2xl shadow-lg transform transition-all hover:scale-105",children:[e.jsx(ae,{className:"mr-2 h-5 w-5"}),"Débloquer toute la magie"]})]})}),e.jsx(Q,{activeProfileId:h,readerName:c}),e.jsxs("div",{className:"mt-12",children:[L&&e.jsx(e.Fragment,{children:R.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsx("div",{className:"text-center mb-4",children:e.jsx("h2",{className:"text-xl sm:text-2xl font-bold",children:"⨠Nouvelles histoires Premium"})}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 max-w-4xl mx-auto",children:p?e.jsx(D,{count:2}):R.map((s,a)=>e.jsx(_,{story:s,index:a,activeProfileId:h,profileAgeRange:o,isRead:!1,isUserLoggedIn:!0,isSubscribed:!1,hideNewBadge:!1,ownedStoryIds:w,availableCredits:q,hasAudio:T.has(s.id),priority:a<2},s.id))})]})}),!L&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"text-center mb-8",children:e.jsx("h2",{className:"text-2xl sm:text-3xl font-bold",children:r?"⨠Nouvelles histoires":"ð Histoires offertes à découvrir"})}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 max-w-4xl mx-auto mb-8",children:p?e.jsx(D,{count:2}):O.map((s,a)=>e.jsx("div",{className:"relative isolate cursor-pointer",onClick:r?void 0:()=>i("/histoires-gratuites"),children:e.jsx(_,{story:s,index:a,activeProfileId:h,profileAgeRange:o,isRead:!1,isUserLoggedIn:!!r,isSubscribed:m,hideNewBadge:!r,redirectToFreeStories:!r,ownedStoryIds:w,availableCredits:q,hasAudio:T.has(s.id),priority:a<2})},s.id))})]}),e.jsx("div",{className:"text-center mb-8",children:e.jsx(j,{onClick:()=>i("/bibliotheque"),size:"lg",className:"text-lg font-bold px-8 py-6 rounded-xl shadow-lg",children:r?"Voir toutes les aventures":"Explorer le catalogue Premium"})}),!m&&!r&&e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsxs("div",{className:"bg-gradient-to-b from-[#b4ddeb]/80 to-white/80 backdrop-blur-sm border border-sky-200 px-8 py-6 rounded-2xl shadow-lg max-w-lg text-center",children:[e.jsx("h3",{className:"text-xl font-bold text-gray-800 mb-4",children:"ð Pourquoi Capitaine Aventure ?"}),e.jsxs("ul",{className:"text-left text-gray-700 space-y-3 text-sm mb-5",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Histoires interactives"})," : votre enfant fait des choix qui influencent réellement l'aventure"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð§"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Un mode audio"})," : de nombreuses histoires peuvent être écoutées"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð§ "}),e.jsx("span",{children:e.jsx("strong",{children:"Options d'aide à la lecture DYS & TDAH"})})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð¨âð©âð§"}),e.jsx("span",{children:e.jsx("strong",{children:"Lecture en autonomie ou partagée"})})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"âï¸"}),e.jsxs("span",{children:[e.jsx("strong",{children:"L'atelier de création"})," : votre enfant imagine et écrit ses propres histoires"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"â¨"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Personnalisation"})," : le prénom de l'enfant apparaît dans l'histoire"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð»"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Yuki"}),", le chat magique accompagne chaque aventure"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Sans publicité"})," & respectueux de la vie privée"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"â¨"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Nouvelles aventures"})," ajoutées chaque semaine"]})]})]}),e.jsx(j,{onClick:()=>i("/histoires-gratuites"),className:"w-full",size:"lg",children:"Découvrir gratuitement l'univers"})]})}),r&&!m&&e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsxs("div",{className:"bg-gradient-to-b from-[#b4ddeb]/80 to-white/80 backdrop-blur-sm border border-sky-200 px-8 py-6 rounded-2xl shadow-lg max-w-lg text-center",children:[e.jsx("h3",{className:"text-xl font-bold text-gray-800 mb
86-1",children:"ð Pourquoi s'abonner ?"}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"3,99â¬/mois · Sans engagement · Tout inclus"}),e.jsxs("ul",{className:"text-left text-gray-700 space-y-3 text-sm mb-5",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Accès illimité"})," à tout le catalogue d'histoires interactives"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ðºï¸"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Le Grand Voyage"})," â un monde de lecture à explorer chapitre par chapitre sur une carte ð§"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"âï¸"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Atelier d'écriture"})," â création de tes propres dessins et histoires"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð§"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Histoires audio racontées"}),", Mode Dyslexie & TDAH, lecture en mode duo"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð¸"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Yuki évolue"})," avec tes lectures â nourris-le au fil des aventures"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð±"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Jardin secret"}
86)," â des graines cachées dans chaque histoire"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"â¨"}),e.jsx("span",{children:e.jsx("strong",{children:"Jusqu'à 8 profils enfants"})})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Sans publicité"})," & respectueux de la vie privée"]})]})]}),e.jsx(j,{onClick:()=>i("/abonnement"),className:"w-full",size:"lg",children:"En savoir plus â"})]})})]})]})]})};export{Qe as default};
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.