{"version":3,"file":"Final_3dbook.D6bTJbls.mjs","names":["React.useRef","React.useState","React.useMemo","React.useCallback"],"sources":["https:/framerusercontent.com/modules/2p61pLBiu6tsSxZZIvTu/dhHK51sMizusdsCcrEr8/Final_3dbook.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,useMotionTemplate,useMotionValue,useReducedMotion,useSpring,useTransform}from\"framer-motion\";// ————————————————————————————————————————————————————————————————\n// Helpers\n// ————————————————————————————————————————————————————————————————\n/** Parse a hex/rgb(a) color and return `rgba()` with the given alpha. */function withAlpha(color,alpha){const a=Math.max(0,Math.min(1,alpha));if(color.startsWith(\"#\")){let hex=color.slice(1);if(hex.length===3)hex=hex.split(\"\").map(c=>c+c).join(\"\");const int=parseInt(hex.slice(0,6),16);const r=int>>16&255;const g=int>>8&255;const b=int&255;return`rgba(${r}, ${g}, ${b}, ${a})`;}const match=color.match(/rgba?\\(([^)]+)\\)/);if(match){const[r,g,b]=match[1].split(\",\").map(v=>parseFloat(v));return`rgba(${r}, ${g}, ${b}, ${a})`;}return color;}/** Shift a hex color toward black (amount > 0) or white (amount < 0). */function shade(color,amount){if(!color.startsWith(\"#\"))return color;let hex=color.slice(1);if(hex.length===3)hex=hex.split(\"\").map(c=>c+c).join(\"\");const int=parseInt(hex.slice(0,6),16);const mix=v=>amount>=0?Math.round(v*(1-amount)):Math.round(v+(255-v)*-amount);const r=mix(int>>16&255);const g=mix(int>>8&255);const b=mix(int&255);return`rgb(${r}, ${g}, ${b})`;}const SPRINGS={soft:{stiffness:90,damping:20,mass:1.15},natural:{stiffness:190,damping:26,mass:1},snappy:{stiffness:380,damping:32,mass:.85}};const INSTANT={stiffness:2e3,damping:120,mass:.2};// Extra headroom on top of the exact device-pixel requirement, so a\n// perspective turn (which magnifies the near edge) still has real pixels\n// behind it rather than an upscale.\nconst DENSITY_HEADROOM=1.25;/** Paper grain, inlined so the component stays a single self-contained file. */const GRAIN_URI=\"url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E\\\")\";// ————————————————————————————————————————————————————————————————\n// Component\n// ————————————————————————————————————————————————————————————————\nexport default function Book3D(props){const{cover,coverColor,backColor,pagesColor,thickness,radius,pageInset,perspective,restAngle,restTilt,hoverAngle,hoverTilt,hoverLift,hoverScale,tracking,spring,shadowColor,shadowIntensity,gloss,grain,deboss,debossInset,previewHover,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const reduced=useReducedMotion();const rootRef=React.useRef(null);const t=Math.max(2,thickness);// ——— density ————————————————————————————————————————————————\n// Measure the rendered box and the screen's pixel ratio, then ask the\n// responsive srcSet for a candidate that covers the real device pixels\n// at the widest point of the hover animation. `sizes` is expressed in\n// CSS px, so the DPR multiplication is folded in explicitly to survive\n// browsers that under-select on a bare `100vw` guess.\nconst[boxWidth,setBoxWidth]=React.useState(0);const[dpr,setDpr]=React.useState(1);React.useEffect(()=>{const el=rootRef.current;if(!el||typeof window===\"undefined\")return;const readDpr=()=>setDpr(window.devicePixelRatio||1);readDpr();const ro=new ResizeObserver(entries=>{const w=entries[0]?.contentRect?.width;if(w)setBoxWidth(w);});ro.observe(el);setBoxWidth(el.getBoundingClientRect().width);// devicePixelRatio changes when the window moves between a Retina\n// and a non-Retina display, or on browser zoom.\nconst mq=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`);mq.addEventListener?.(\"change\",readDpr);return()=>{ro.disconnect();mq.removeEventListener?.(\"change\",readDpr);};},[]);const sizes=boxWidth?`${Math.ceil(boxWidth*dpr*Math.max(1,hoverScale)*DENSITY_HEADROOM)}px`:undefined;// ——— motion ————————————————————————————————————————————————\nconst config=React.useMemo(()=>reduced?INSTANT:SPRINGS[spring]??SPRINGS.natural,[spring,reduced]);const yawTo=useMotionValue(restAngle);const pitchTo=useMotionValue(restTilt);const liftTo=useMotionValue(0);const zoomTo=useMotionValue(1);const raiseTo=useMotionValue(0);const shiftTo=useMotionValue(0);const yawSpring=useSpring(yawTo,config);const pitchSpring=useSpring(pitchTo,config);const liftSpring=useSpring(liftTo,config);const zoomSpring=useSpring(zoomTo,config);const raiseSpring=useSpring(raiseTo,config);const shiftSpring=useSpring(shiftTo,config);// On the Framer canvas, skip the springs entirely so editing stays calm.\nconst yaw=isCanvas?yawTo:yawSpring;const pitch=isCanvas?pitchTo:pitchSpring;const lift=isCanvas?liftTo:liftSpring;const zoom=isCanvas?zoomTo:zoomSpring;const raise=isCanvas?raiseTo:raiseSpring;const shift=isCanvas?shiftTo:shiftSpring;const bookTransform=useMotionTemplate`translateY(${lift}px) rotateX(${pitch}deg) rotateY(${yaw}deg)`;// The wide ambient shadow spreads and softens as the book lifts; the\n// tight contact shadow shrinks away from it. That split is what reads\n// as \"leaving the ground\" rather than \"growing a blur\". Both drift\n// opposite the lean (shift) so the shadow appears to stay put under a\n// book that's tilting away from it — the standard depth-cue trick.\nconst ambientScale=useTransform(raise,[0,1],[1,1.32]);const ambientFade=useTransform(raise,[0,1],[.9,.7]);const ambientBlurPx=useTransform(raise,[0,1],[Math.max(6,t*.45),Math.max(14,t*1.05)]);const ambientBlur=useMotionTemplate`blur(${ambientBlurPx}px)`;const contactScale=useTransform(raise,[0,1],[1,.68]);const contactFade=useTransform(raise,[0,1],[1,.3]);const contactBlurPx=useTransform(raise,[0,1],[Math.max(2,t*.14),Math.max(1,t*.07)]);const contactBlur=useMotionTemplate`blur(${contactBlurPx}px)`;const shadowShift=useTransform(shift,v=>-v);// ——— pose ——————————————————————————————————————————————————\nconst hovered=React.useRef(false);const nx=React.useRef(0);const ny=React.useRef(0);const applyPose=React.useCallback(()=>{const on=isCanvas?previewHover:hovered.current;const amt=reduced||isCanvas?0:Math.max(0,Math.min(1,tracking));const leanY=on?nx.current*11*amt:0;const leanX=on?-ny.current*7*amt:0;yawTo.set((on?hoverAngle:restAngle)+leanY);pitchTo.set((on?hoverTilt:restTilt)+leanX);liftTo.set(on?-hoverLift:0);zoomTo.set(on?hoverScale:1);raiseTo.set(on?1:0);shiftTo.set(on?nx.current*10*amt:0);},[isCanvas,previewHover,reduced,tracking,restAngle,hoverAngle,restTilt,hoverTilt,hoverLift,hoverScale,yawTo,pitchTo,liftTo,zoomTo,raiseTo,shiftTo]);React.useEffect(applyPose,[applyPose]);const track=e=>{const el=rootRef.current;if(!el)return;const r=el.getBoundingClientRect();if(!r.width||!r.height)return;const clamp=v=>Math.max(-1,Math.min(1,v));nx.current=clamp((e.clientX-r.left)/r.width*2-1);ny.current=clamp((e.clientY-r.top)/r.height*2-1);};const onEnter=e=>{if(isCanvas)return;hovered.current=true;track(e);applyPose();};const onMove=e=>{if(isCanvas||!hovered.current)return;track(e);applyPose();};const onLeave=()=>{if(isCanvas)return;hovered.current=false;nx.current=0;ny.current=0;applyPose();};// ——— geometry ——————————————————————————————————————————————\nconst inset=Math.max(0,pageInset);const rSpine=Math.max(1,Math.min(radius,radius*.45+1));const coverRadius=`${rSpine}px ${radius}px ${radius}px ${rSpine}px`;const board=Math.max(1.5,t*.07)// cover board seen edge-on\n;const s=Math.max(0,shadowIntensity);// Light overlays are halved over artwork so they shape the cover\n// without washing out the image.\nconst gm=cover?.src?.5:1;const w=a=>`rgba(255, 255, 255, ${(a*gm).toFixed(3)})`;const k=a=>`rgba(0, 0, 0, ${(a*gm).toFixed(3)})`;const line=withAlpha(shadowColor,.11);const signature=withAlpha(shadowColor,.2);const capA=withAlpha(shadowColor,.3);const capB=withAlpha(shadowColor,.18);/** Page-block texture; `deg` is the axis that runs through the thickness. */const pageFill=deg=>({backgroundColor:pagesColor,backgroundImage:[`repeating-linear-gradient(${deg}deg, rgba(0,0,0,0) 0 1px, ${line} 1px 2px)`,`repeating-linear-gradient(${deg}deg, rgba(0,0,0,0) 0 8px, ${signature} 8px 9px)`,`linear-gradient(${deg}deg, ${capA} 0%, rgba(0,0,0,0) 9%, rgba(0,0,0,0) 91%, ${capB} 100%)`].join(\", \")});const face={position:\"absolute\"};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",...style},onPointerEnter:onEnter,onPointerMove:onMove,onPointerLeave:onLeave,onPointerCancel:onLeave,children:[/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",left:\"7%\",right:\"11%\",bottom:`${-t*.3}px`,height:`${Math.max(10,t*.9)}px`,borderRadius:\"50%\",background:`radial-gradient(50% 50% at 50% 50%, ${withAlpha(shadowColor,.3*s)} 0%, ${withAlpha(shadowColor,.14*s)} 50%, rgba(0,0,0,0) 74%)`,filter:ambientBlur,pointerEvents:\"none\",scale:ambientScale,opacity:ambientFade,x:shadowShift}}),/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",left:\"13%\",right:\"17%\",bottom:`${-t*.06}px`,height:`${Math.max(5,t*.34)}px`,borderRadius:\"50%\",background:`radial-gradient(50% 50% at 50% 50%, ${withAlpha(shadowColor,.46*s)} 0%, rgba(0,0,0,0) 72%)`,filter:contactBlur,pointerEvents:\"none\",scale:contactScale,opacity:contactFade,x:shadowShift}}),/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",inset:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",perspective,scale:zoom},children:/*#__PURE__*/_jsxs(motion.div,{style:{position:\"relative\",width:\"100%\",height:\"100%\",transformStyle:\"preserve-3d\",transform:bookTransform,cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{...face,inset:0,background:`linear-gradient(105deg, ${shade(backColor,-.12)}, ${backColor} 32%, ${shade(backColor,.18)})`,borderRadius:coverRadius,transform:`translateZ(${-t/2}px)`,backfaceVisibility:\"hidden\",WebkitBackfaceVisibility:\"hidden\"}}),/*#__PURE__*/_jsx(\"div\",{style:{...face,top:0,height:\"100%\",width:t,left:-t/2,transform:\"rotateY(-90deg)\",background:`linear-gradient(90deg, ${shade(backColor,.3)}, ${shade(backColor,-.06)} 45%, ${shade(backColor,.26)})`,// Matches the covers' spine-side radius so the\n// spine meets both covers and both page edges\n// without a visible seam.\nborderRadius:rSpine}}),/*#__PURE__*/_jsx(\"div\",{style:{...face,left:inset,width:`calc(100% - ${inset*2}px)`,height:t,top:-t/2,transform:\"rotateX(90deg)\",// Same left/right split as the covers (rSpine at\n// the spine, radius at the fore edge) — any\n// mismatch here shows as a stepped corner where\n// this face meets the cover, worse at larger\n// thickness or steeper viewing angles.\nborderRadius:coverRadius,...pageFill(180)},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,borderRadius:coverRadius,background:`linear-gradient(180deg, ${shade(coverColor,.22)} 0 ${board}px, rgba(0,0,0,0) ${board}px calc(100% - ${board}px), ${shade(backColor,-.05)} calc(100% - ${board}px) 100%)`}})}),/*#__PURE__*/_jsx(\"div\",{style:{...face,left:inset,width:`calc(100% - ${inset*2}px)`,height:t,bottom:-t/2,transform:\"rotateX(-90deg)\",borderRadius:coverRadius,...pageFill(180)},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,borderRadius:coverRadius,background:`linear-gradient(180deg, ${shade(backColor,-.05)} 0 ${board}px, rgba(0,0,0,0) ${board}px calc(100% - ${board}px), ${shade(coverColor,.22)} calc(100% - ${board}px) 100%)`}})}),/*#__PURE__*/_jsx(\"div\",{style:{...face,top:inset,height:`calc(100% - ${inset*2}px)`,width:t,right:`calc(${inset}px - ${t/2}px)`,transform:\"rotateY(90deg)\",// Matches the covers' fore-edge radius, same\n// reasoning as the spine above.\nborderRadius:radius,...pageFill(90)}}),/*#__PURE__*/_jsxs(\"div\",{style:{...face,inset:0,transform:`translateZ(${t/2}px)`,borderRadius:coverRadius,background:`linear-gradient(105deg, ${shade(coverColor,-.06)}, ${coverColor} 40%, ${shade(coverColor,.1)})`,overflow:\"hidden\",backfaceVisibility:\"hidden\",WebkitBackfaceVisibility:\"hidden\"},children:[cover?.src&&/*#__PURE__*/_jsx(\"img\",{src:cover.src,srcSet:cover.srcSet,// Device-pixel-aware selection: see the\n// density block above. Falls back to the\n// browser's own choice until measured.\nsizes:sizes,alt:cover.alt??\"\",draggable:false,decoding:\"async\",style:{position:\"absolute\",top:0,left:0,// 1:1 with the cover box — no counter-\n// scaling, so the raster scale the\n// compositor picks matches the layout\n// size and the decode matches `sizes`.\nwidth:\"100%\",height:\"100%\",objectFit:\"cover\",// Own compositing layer, rastered\n// independently of the rotating parent.\ntransform:\"translateZ(0)\",backfaceVisibility:\"hidden\",WebkitBackfaceVisibility:\"hidden\",imageRendering:\"high-quality\",userSelect:\"none\"}},cover.src),grain>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,pointerEvents:\"none\",backgroundImage:GRAIN_URI,backgroundSize:\"160px 160px\",mixBlendMode:\"soft-light\",opacity:cover?.src?grain*.45:grain}}),deboss&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:debossInset,left:debossInset+rSpine,pointerEvents:\"none\",borderRadius:Math.max(1,radius-debossInset*.5),boxShadow:[\"inset 0 1px 1px rgba(0,0,0,0.16)\",\"0 1px 0 rgba(255,255,255,0.18)\"].join(\", \"),border:\"1px solid rgba(0,0,0,0.07)\"}}),gloss&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,pointerEvents:\"none\",background:[// hinge groove at the spine — kept\n// at full strength, it is structure\n// rather than a light wash\n`linear-gradient(90deg, rgba(0,0,0,0.22) 0%, rgba(255,255,255,0.12) 1.4%, rgba(0,0,0,0.14) 3.2%, rgba(255,255,255,0.07) 5.5%, rgba(0,0,0,0) 9%)`,`linear-gradient(180deg, ${w(.09)} 0%, rgba(0,0,0,0) 16%)`,`linear-gradient(0deg, ${k(.1)} 0%, rgba(0,0,0,0) 18%)`,`linear-gradient(90deg, rgba(0,0,0,0) 88%, ${w(.09)} 100%)`].join(\", \")}})]})]})})]});}Book3D.defaultProps={coverColor:\"#E8E4DC\",backColor:\"#30302E\",pagesColor:\"#FFFDF7\",thickness:36,radius:10,pageInset:4,perspective:900,restAngle:0,restTilt:0,hoverAngle:-32,hoverTilt:-6,hoverLift:14,hoverScale:1.03,tracking:.5,spring:\"natural\",shadowColor:\"#000000\",shadowIntensity:.6,gloss:true,grain:.12,deboss:true,debossInset:14,previewHover:false};// ————————————————————————————————————————————————————————————————\n// Property controls\n// ————————————————————————————————————————————————————————————————\naddPropertyControls(Book3D,{cover:{type:ControlType.ResponsiveImage,title:\"Cover\",description:\"Upload at 2–3\\xd7 the frame size. Judge sharpness in Preview — the canvas shows downscaled previews.\"},coverColor:{type:ControlType.Color,title:\"Cover Fill\",defaultValue:\"#E8E4DC\",description:\"Shows behind or instead of the image\"},thickness:{type:ControlType.Number,title:\"Thickness\",min:4,max:120,step:1,defaultValue:36,unit:\"px\"},pagesColor:{type:ControlType.Color,title:\"Pages\",defaultValue:\"#FFFDF7\"},backColor:{type:ControlType.Color,title:\"Back Cover\",defaultValue:\"#30302E\"},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:40,step:1,defaultValue:10,unit:\"px\"},pageInset:{type:ControlType.Number,title:\"Page Inset\",min:0,max:12,step:1,defaultValue:4,unit:\"px\",description:\"How far the page block sits inside the cover edges\"},grain:{type:ControlType.Number,title:\"Grain\",min:0,max:1,step:.01,defaultValue:.12,description:\"Cloth/paper texture. Eased off when a cover image is set\"},deboss:{type:ControlType.Boolean,title:\"Deboss\",defaultValue:true,description:\"Pressed-in rule inside the cover edge\"},debossInset:{type:ControlType.Number,title:\"Deboss Inset\",min:2,max:60,step:1,defaultValue:14,unit:\"px\",hidden:p=>!p.deboss},gloss:{type:ControlType.Boolean,title:\"Gloss\",defaultValue:true,description:\"Spine groove, top light and fore-edge sheen\"},perspective:{type:ControlType.Number,title:\"Perspective\",min:300,max:2500,step:50,defaultValue:900,description:\"Lower = more dramatic depth\"},restAngle:{type:ControlType.Number,title:\"Rest Angle\",min:-60,max:60,step:1,defaultValue:0,unit:\"\\xb0\",description:\"0 = perfectly flat card at rest\"},restTilt:{type:ControlType.Number,title:\"Rest Tilt\",min:-20,max:20,step:1,defaultValue:0,unit:\"\\xb0\"},hoverAngle:{type:ControlType.Number,title:\"Hover Angle\",min:-60,max:60,step:1,defaultValue:-32,unit:\"\\xb0\",description:\"The 3D turn the card reveals on hover\"},hoverTilt:{type:ControlType.Number,title:\"Hover Tilt\",min:-20,max:20,step:1,defaultValue:-6,unit:\"\\xb0\",description:\"Positive looks slightly down, so the top edge reads\"},hoverLift:{type:ControlType.Number,title:\"Hover Lift\",min:0,max:40,step:1,defaultValue:14,unit:\"px\"},hoverScale:{type:ControlType.Number,title:\"Hover Scale\",min:1,max:1.2,step:.01,defaultValue:1.03},tracking:{type:ControlType.Number,title:\"Cursor Lean\",min:0,max:1,step:.05,defaultValue:.5,description:\"How far the book leans after the pointer\"},spring:{type:ControlType.Enum,title:\"Motion\",options:[\"soft\",\"natural\",\"snappy\"],optionTitles:[\"Soft\",\"Natural\",\"Snappy\"],defaultValue:\"natural\"},shadowColor:{type:ControlType.Color,title:\"Shadow\",defaultValue:\"#000000\"},shadowIntensity:{type:ControlType.Number,title:\"Shadow Amt\",min:0,max:1,step:.05,defaultValue:.6},previewHover:{type:ControlType.Boolean,title:\"Preview Hover\",defaultValue:false,description:\"Shows the hover pose on the canvas while designing\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Book3D\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Final_3dbook.map"],"mappings":"2TAGyE,SAAS,EAAU,EAAM,EAAM,CAAC,IAAM,EAAE,KAAK,IAAI,EAAE,KAAK,IAAI,EAAE,CAAK,CAAC,EAAE,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