1import{r as T,q as E,s as R,j as e,d as F,m as i,h as x,t as M,v as $,e as K,p as m,w as B,U,M as _,k as q,x as O,i as p}from"./index-WAlFyaX2.js";const z=[{id:"DLOCKIN",title:"14 Days",subtitle:"Lock-In Session",microcopy:"The flagship protocol. 14 days of controlled contrast. Founders only.",recommended:!0,chipLabel:"LOCK-IN"},{id:"D8",title:"8 Days",subtitle:"Deep Reset",microcopy:"The signature reset. 8 days of deep recalibration.",chipLabel:"8D"}],J=[{id:"certification",title:"Certification Track",microcopy:"Skydiving & freediving certifications",category:"proof",details:["Official skydiving license (AFF)","AIDA freediving certification","Includes all training hours & gear"]},{id:"solo_recovery",title:"Private Suite + Recovery Protocol",microcopy:"Private suite & recovery protocol",category:"luxury",details:["Private room throughout the trip","Daily recovery protocol sessions","Premium recovery setup"]},{id:"cinematic",title:"Cinematic Pack",microcopy:"Mini-film + portraits + reels ready-to-post",category:"social",details:["Professional videographer on-site","Edited 2-min cinematic film","15+ curated photos & 5 reels"]},{id:"alumni",title:"Alumni Pass",microcopy:"D+7, D+30 check-ins + priority drops",category:"status",details:["Post-trip coaching calls (D+7, D+30)","Priority access to future drops","Alumni community & events"]}],u={certification:1200,solo_recovery:600,cinematic:800,alumni:400};function G({isOpen:h,onClose:d,durationOption:a,tripTier:Q,tripDestination:g,intensityModes:f,creatorStatus:W,selectedPacks:n,onChangeDuration:b,onSetIntensity:y,onTogglePack:j,onOpenPersonalizer:N,onBookCall:v}){const[w,k]=T.useState(null),P=a==="DLOCKIN",c=E(a,f),C=P,A=R({duration:a,intensity:[c],tier:"starter",destination:g}),D=n.reduce((r,t)=>r+(u[t]||0),0),l=A+D,I=Math.ceil(l/6);return e.jsx(F,{isOpen:h,onClose:d,title:"Blueprint",subtitle:"Your configuration",children:e.jsxs("div",{className:"pb-6 space-y-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx("h3",{className:"text-sm font-light tracking-wide text-foreground/90",children:"Choose your format"}),e.jsx("div",{className:"space-y-2",children:z.map(r=>{const t=a===r.id,s=r.requiresApplication;return e.jsxs(i.button,{whileTap:{scale:.98},onClick:()=>b(r.id),className:`w-full p-3.5 rounded-2xl border text-left transition-all backdrop-blur-sm ${t?"border-primary/[0.30] bg-primary/[0.08]":"border-border bg-card/60 dark:bg-card/60 dark:bg-white/[0.03] hover:bg-card dark:bg-white/[0.06] hover:border-border"}`,children:[e.jsxs("div",{className:"flex items-start justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:`text-sm font-semibold block ${t?"text-foreground":"text-foreground/70"}`,children:r.title}),e.jsx("span",{className:`text-xs block ${t?"text-primary":"text-muted-foreground/50"}`,children:r.subtitle})]}),e.jsxs("div",{className:"flex items-center gap-1.5 shrink-0",children:[r.recommended&&e.jsx("span",{className:"text-[9px] px-1.5 py-0.5 rounded-full bg-primary/15 text-primary border border-primary/20 font-medium",children:"Recommended"}),s&&e.jsx("span",{className:"text-[9px] px-1.5 py-0.5 rounded-full bg-purple-500/15 text-purple-400 border border-purple-500/20 font-medium",children:"Application · Limited"}),t&&e.jsx("div",{className:"w-5 h-5 rounded-full bg-primary flex items-center justify-center",children:e.jsx(x,{className:"w-3 h-3 text-primary-foreground"})})]})]}),e.jsx("p",{className:"text-[10px] text-muted-foreground/50 mt-1",children:r.microcopy})]},r.id)})})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("h3",{className:"text-sm font-light tracking-wide text-foreground/90",children:"Intensity"}),e.jsx("div",{className:"flex gap-2",children:["moderate","extreme"].map(r=>{const t=c===r,s=C;return e.jsxs("button",{onClick:()=>{s||y([r])},disabled:s,className:` 2 flex-1 py-2.5 rounded-xl text-xs font-medium transition-all border 3 ${t?r==="extreme"?"border-amber-500/30 bg-amber-500/[0.08] text-amber-400":"border-primary/[0.30] bg-primary/[0.08] text-primary":"border-border bg-card/60 dark:bg-card/60 dark:bg-white/[0.03] text-muted-foreground
3/40"} 4 ${s?"opacity-60 cursor-not-allowed":"cursor-pointer hover:border-border/40"} 5 `,children:[r==="moderate"?"ð¿ Moderate":"ðª Extreme",s&&t&&e.jsx("span",{className:"block text-[9px] mt-0.5 opacity-60",children:"Fixed for Lock-In"})]},r)})})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("h3",{className:"text-sm font-light tracking-wide text-foreground/90",children:"Add-ons"}),e.jsx("div",{className:"space-y-2",children:J.map(r=>{const t=n.includes(r.id),s=w===r.id,L=u[r.id]||0;return e.jsxs("div",{className:`rounded-2xl shadow-sm dark:shadow-none border border-border bg-card/60 dark:bg-card/60 dark:bg-white/[0.03] backdrop-blur-sm overflow-hidden transition-all border-l-2 ${r.category==="proof"?"border-l-primary/40":r.category==="luxury"?"border-l-purple-500/40":r.category==="social"?"border-l-blue-500/40":"border-l-amber-500/40"}`,children:[e.jsxs("button",{onClick:()=>j(r.id),className:"w-full p-3 flex items-center gap-3 text-left",children:[e.jsx("div",{className:` 6 w-5 h-5 rounded-md border-2 flex items-center justify-center shrink-0 transition-all 7 ${t?"bg-primary border-primary":"border-border/30 bg-transparent"} 8 `,children:t&&e.jsx(x,{className:"w-3 h-3 text-primary-foreground"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("span",{className:"text-xs font-medium text-foreground/80",children:r.title}),e.jsx("p",{className:"text-[10px] text-muted-foreground/40",children:r.microcopy})]}),e.jsxs("span",{className:"text-[10px] text-muted-foreground/40 shrink-0",children:["+â¬",L.toLocaleString()]}),e.jsx("button",{onClick:o=>{o.stopPropagation(),k(s?null:r.id)},className:"p-1 text-muted-foreground/40 hover:text-muted-foreground/60 transition-colors shrink-0",children:s?e.jsx(M,{className:"w-3 h-3"}):e.jsx($,{className:"w-3 h-3"})})]}),e.jsx(K,{children:s&&e.jsx(i.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:e.jsx("div",{className:"px-3 pb-3 pt-0 ml-8 space-y-1",children:r.details.map((o,S)=>e.jsxs("p",{className:"text-[10px] text-foreground/40",children:["â ",o]},S))})})})]},r.id)})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h3",{className:"text-sm font-light tracking-wide text-foreground/90",children:"Quick facts"}),e.jsxs("div",{className:"rounded-xl border border-border bg-card/60 dark:bg-card/60 dark:bg-white/[0.03] backdrop-blur-sm p-3",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-foreground/70",children:[e.jsx(m,{className:"w-3 h-3 text-muted-foreground/50 shrink-0"}),e.jsx("span",{children:B[a]||"8 Days"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-foreground/70",children:[e.jsx(U,{className:"w-3 h-3 text-muted-foreground/50 shrink-0"}),e.jsx("span",{children:"8 explorers max"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-foreground/70",children:[e.jsx(_,{className:"w-3 h-3 text-muted-foreground/50 shrink-0"}),e.jsx("span",{children:"Philippines · Palawan"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-foreground/70",children:[e.jsx(q,{className:"w-3 h-3 text-muted-foreground/50 shrink-0"}),e.jsxs("span",{children:["â¬",l.toLocaleString(),"+"]})]})]}),e.jsxs("p",{className:"text-[9px] text-muted-foreground/40 mt-2 text-center",children:["or from â¬",I,"/mo in 4â6 installments"]})]}),e.jsxs("div",{className:"rounded-xl border border-border bg-card/60 dark:bg-card/60 dark:bg-white/[0.03] backdrop-blur-sm p-3 space-y-1",children:[e.jsx("p",{className:"text-[10px] text-muted-foreground/50 font-medium uppercase tracking-wider",children:"Included"}),e.jsx("p",{className:"text-[10px] text-foreground/50",children:"â All-inclusive meals & lodging"}),e.jsx("p",{className:"text-[10px] text-foreground/50",children:"â Premium accommodation"}),e.jsx("p",{className:"text-[10px] text-foreground/50",children:"â Skydiving experience"}
8),e.jsx("p",{className:"text-[10px] text-foreground/50",children:"â All activities & transfers"}),e.jsx("p",{className:"text-[10px] text-foreground/50",children:"â Local guides & safety crew"}),e.jsx("p",{className:"text-[10px] text-foreground/50",children:"â Private transfers"}),e.jsx("p",{className:"text-[10px] text-muted-foreground/40 mt-1.5 font-medium uppercase tracking-wider",children:"Not included"}),e.jsx("p",{className:"text-[10px] text-muted-foreground/40",children:"â International flights"}),e.jsx("p",{className:"text-[10px] text-muted-foreground/40",children:"â Internal flights"}),e.jsx("p",{className:"text-[10px] text-muted-foreground/40",children:"â Personal insurance"})]})]}),e.jsx(i.button,{whileTap:{scale:.97},onClick:()=>N(0),className:"w-full p-3.5 rounded-2xl shadow-sm dark:shadow-none border border-border bg-card/50 dark:bg-card/50 dark:bg-white/[0.02] text-left hover:bg-card/70 dark:hover:bg-card/60 dark:bg-white/[0.03] transition-all",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(O,{className:"w-4 h-4 text-primary"}),e.jsx("span",{className:"text-sm font-medium text-foreground/80",children:"Customize your expedition"}),e.jsx(p,{className:"w-4 h-4 ml-auto text-muted-foreground/40"})]})}),e.jsx(i.button,{whileTap:{scale:.97},onClick:()=>{d(),v()},className:"w-full p-4 rounded-2xl bg-primary text-primary-foreground text-left",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"w-4 h-4"}),e.jsx("span",{className:"text-sm font-medium",children:"Join the Waitlist"}),e.jsx(p,{className:"w-4 h-4 ml-auto"})]})}),e.jsx("p",{className:"text-[9px] text-muted-foreground/40 text-center",children:"Final quote confirmed after call."})]})})}export{G as BlueprintModal};
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.