{"version":3,"file":"ProjectDeck.DPT-QKIt.mjs","names":["useState","useRef","useCallback","_Fragment","__esmMin","init_npm_react_18_3_1","ne","init_ssg_sandbox_shims","window","l","_e","p","init_jsx_runtime","ce","de","useMotionValue","motion","useTransform","init_framer_motion_DhsWWWsN","useIsStaticRenderer","init_framer_DDfsYcI0","Link","ControlType","ProjectDeck","props","isStatic","items","cards","n","riffles","intro","startOrder","base","i","rot","order","setOrder","orderRef","firstN","away","setAway","busy","hovering","setHovering","canHover","setCanHover","reduced","setReduced","hoverCapable","prefersReducedMotion","noAnim","rootRef","box","setBox","rootEl","setRootEl","setRoot","el","apply","w","h","b","r","ro","c","e","footer","showCounter","hint","counterGap","cw","cardScale","ch","cardAspect","maxH","fan","touchFan","oneSided","fanDirection","sgn","half","kMax","stepX","margin","pivot","room","maxOuter","outer","fanSpread","spreadX","poseFor","d","depth","visibleDepth","hidden","side","k","step","shift","fanLift","baseRotate","stackOffset","stackRotate","handoffMs","transitionSeconds","tuckTransition","sendToBack","len","vec","dir","thrown","a","idx","o","bringToFront","open","link","ready","setReady","done","go","imgs","decoded","im","loaded","resolve","cap","mountedAt","wait","introDelay","t1","t2","introGap","onKeyDown","_pillBG","parseToken","pillBG","_pillText","pillText","_accent","accent","_counter","counterColor","_plate","plateColor","style","monoFont","top","it","pose","tuckDistance","throwBoost","tuckLift","tuckTilt","tuckScale","moveTransition","settleTransition","DeckCard","pillPosition","dragMode","v","pad","dragX","dragY","tilt","moved","img","item","src","srcSet","alt","clickable","isTop","freeDrag","dx","info","dy","vx","vy","swipeDistance","useV","onThrow","onOpen","radius","plate","shadow","width","priority","pillCorner","DEFAULT_SHADOW","init_ProjectDeck","t","m","x","dt","s","addPropertyControls"],"sources":["https:/framerusercontent.com/modules/VmrhvEEPPtJIxtvQubdx/HPumuRR0Dm1XkXXQmYH2/ProjectDeck.js"],"sourcesContent":["// @ts-ignore\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer,Link}from\"framer\";import{motion,useMotionValue,useTransform}from\"framer-motion\";import{useState,useEffect,useRef,useCallback}from\"react\";/**\n * PROJECT DECK\n *\n * A hand of project cards. On load the top cards riffle behind the deck to\n * hint that it moves; hovering fans the hand open; dragging the top card\n * throws it to the back; clicking a card opens its project.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 520\n * @framerIntrinsicHeight 660\n */const EASE=[.23,1,.32,1];const parseToken=v=>v&&typeof v===\"object\"&&\"value\"in v?v.value:v;const prefersReducedMotion=()=>typeof window!==\"undefined\"&&typeof window.matchMedia===\"function\"&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const hoverCapable=()=>typeof window!==\"undefined\"&&typeof window.matchMedia===\"function\"&&window.matchMedia(\"(hover: hover) and (pointer: fine)\").matches;// How long a transition takes, so the hand-off back into the deck lands\n// exactly when the card finishes moving out.\nconst transitionSeconds=t=>{if(!t)return .4;if(typeof t.duration===\"number\")return t.duration;if(t.type===\"spring\"){// Duration-based springs (Framer's \"Time\" mode) say how long they take.\nif(t.durationBasedSpring&&typeof t.duration===\"number\")return t.duration;// Otherwise step the spring forward until the card is ~95% of the way out,\n// so the turn back happens at the end of the move, not halfway through it.\nconst k=t.stiffness??100;const c=t.damping??10;const m=t.mass??1;let x=0;let v=0;const dt=1/240;for(let s=0;s<1.5;s+=dt){v+=(-k*(x-1)-c*v)/m*dt;x+=v*dt;if(x>=.95)return Math.max(.12,s);}return 1.5;}return .4;};const pad=v=>v<9?`0${v+1}`:`${v+1}`;export default function ProjectDeck(props){const{style,cards,cardAspect,cardScale,baseRotate,radius,stackOffset,stackRotate,visibleDepth,fanSpread,fanDirection,fanLift,touchFan,intro,introDelay,introGap,tuckDistance,tuckLift,tuckTilt,tuckScale,throwBoost,tuckTransition,settleTransition,swipeDistance,dragMode,showCounter,counterGap,hint,pillBG,pillText,pillPosition,accent,counterColor,plateColor,monoFont,shadow}=props;const isStatic=typeof useIsStaticRenderer===\"function\"?useIsStaticRenderer():false;const items=Array.isArray(cards)?cards.filter(Boolean):[];const n=items.length;// The intro riffles the top two cards to the back. Start the deck two cards\n// ahead so the riffle lands on card 01 instead of 03.\nconst riffles=!!intro&&!isStatic&&n>=3;const startOrder=rot=>{const base=items.map((_,i)=>i);return rot?[...base.slice(n-2),...base.slice(0,n-2)]:base;};const[order,setOrder]=useState(()=>startOrder(riffles));const orderRef=useRef(order);orderRef.current=order;const firstN=useRef(true);useEffect(()=>{if(firstN.current){firstN.current=false;return;}setOrder(startOrder(false));},[n]);// Transient pose for a card on its way to the back of the deck.\nconst[away,setAway]=useState({});const busy=useRef(false);const[hovering,setHovering]=useState(false);const[canHover,setCanHover]=useState(true);const[reduced,setReduced]=useState(false);useEffect(()=>{setCanHover(hoverCapable());setReduced(prefersReducedMotion());},[]);const noAnim=isStatic||reduced;// Reduced motion skips the riffle, so open straight on card 01.\nuseEffect(()=>{if(reduced&&riffles)setOrder(startOrder(false));},[reduced]);// ---- geometry -------------------------------------------------------\nconst rootRef=useRef(null);const[box,setBox]=useState({w:520,h:660});const[rootEl,setRootEl]=useState(null);const setRoot=useCallback(el=>{rootRef.current=el;setRootEl(el);},[]);useEffect(()=>{if(!rootEl||typeof ResizeObserver===\"undefined\")return;// Ignore sub-pixel noise so the deck doesn't re-render while the page settles.\nconst apply=(w,h)=>{if(!w||!h)return;setBox(b=>Math.abs(b.w-w)<1&&Math.abs(b.h-h)<1?b:{w,h});};const r=rootEl.getBoundingClientRect();apply(r.width,r.height);const ro=new ResizeObserver(e=>{const c=e[0]?.contentRect;if(c)apply(c.width,c.height);});ro.observe(rootEl);return()=>ro.disconnect();},[rootEl]);// The counter row sits this far below the card's box, clear of the tilted corners.\nconst footer=showCounter||hint?36+(counterGap??20):0;let cw=box.w*cardScale;let ch=cw/cardAspect;const maxH=(box.h-footer)*cardScale;if(ch>maxH){ch=maxH;cw=ch*cardAspect;}const fan=hovering?1:!canHover&&touchFan?.35:0;// Keep the fanned hand inside the component's own box, so it never swings\n// over neighbouring content. Cards pivot around a point 115% down the card.\nconst oneSided=fanDirection!==\"both\";const sgn=fanDirection===\"left\"?-1:1;const half=Math.max(1,Math.ceil((n-1)/2));const kMax=oneSided?Math.max(1,n-1):half;const stepX=cw*(oneSided?.12:.1);const margin=Math.max(0,(box.w-cw)/2);const pivot=ch*1.15;// A one-sided hand shifts back by half its spread, so it can use both margins.\nconst room=((oneSided?2*margin:margin)-kMax*stepX)/pivot;const maxOuter=Math.asin(Math.max(0,Math.min(.6,room)))*180/Math.PI;const outer=Math.min(oneSided?fanSpread:fanSpread/2,maxOuter);const spreadX=kMax*stepX+Math.sin(outer*Math.PI/180)*pivot*.65;const poseFor=depth=>{const d=Math.min(depth,visibleDepth);const hidden=depth>visibleDepth;if(fan>0){// Alternate left/right from the top card so the hand opens evenly.\nconst side=depth===0?0:oneSided?sgn:depth%2===1?-1:1;const k=oneSided?depth:Math.ceil(depth/2);const step=outer/kMax;const shift=oneSided?-sgn*spreadX*fan/2:0;return{x:side*k*stepX*fan+shift,y:-fanLift*fan*(depth===0?1:.35),rotate:baseRotate*(1-fan)+side*k*step*fan,scale:1-Math.min(depth,6)*.012,opacity:1};}return{x:d*stackOffset,y:-d*stackOffset*.35,rotate:baseRotate+d*stackRotate,scale:1-d*.03,opacity:hidden?0:1};};// ---- moving cards ---------------------------------------------------\nconst handoffMs=transitionSeconds(tuckTransition)*1e3;const sendToBack=useCallback((idx,vec,thrown=false)=>{if(busy.current||n<2)return;busy.current=true;const len=Math.hypot(vec.x,vec.y)||1;const dir={x:vec.x/len,y:vec.y/len,throw:thrown};setAway(a=>({...a,[idx]:dir}));window.setTimeout(()=>{setOrder(o=>[...o.filter(i=>i!==idx),idx]);setAway(a=>{const b={...a};delete b[idx];return b;});busy.current=false;},noAnim?0:handoffMs*(thrown?.85:1));},[n,noAnim,handoffMs]);const bringToFront=useCallback(()=>{if(busy.current||n<2)return;setOrder(o=>[o[o.length-1],...o.slice(0,-1)]);},[n]);// Opening goes through a hidden Framer Link, so it routes inside the site (and in preview)\n// instead of forcing a full page load.\nconst open=useCallback(idx=>{const link=items[idx]?.link;if(!link||typeof window===\"undefined\")return;const a=rootRef.current?.querySelector(`a[data-pd-link=\"${idx}\"]`);if(a)a.click();else window.location.assign(link);},[items]);// Hold the intro until the card photos are decoded, the page has finished\n// loading and the browser is idle. Card motion runs on the main thread, so\n// starting while the page is still loading is what made the intro stutter.\nconst[ready,setReady]=useState(false);useEffect(()=>{if(!rootEl||ready)return;let done=false;const go=()=>{if(done)return;done=true;requestAnimationFrame(()=>requestAnimationFrame(()=>setReady(true)));};const imgs=Array.from(rootEl.querySelectorAll(\"img\"));const decoded=Promise.all(imgs.map(im=>im.decode?im.decode().catch(()=>{}):Promise.resolve()));const loaded=new Promise(resolve=>{if(document.readyState===\"complete\")resolve();else window.addEventListener(\"load\",()=>resolve(),{once:true});});const w=window;Promise.all([decoded,loaded]).then(()=>{if(typeof w.requestIdleCallback===\"function\")w.requestIdleCallback(go,{timeout:1200});else window.setTimeout(go,200);});const cap=window.setTimeout(go,4e3);return()=>window.clearTimeout(cap);},[rootEl,ready]);// Riffle the top cards behind the deck once, so it reads as interactive.\n// Intro Delay counts from when the deck first appears, so the riffle can be\n// timed against the page's fade-in; if loading runs late it starts once ready.\nconst mountedAt=useRef(0);useEffect(()=>{mountedAt.current=performance.now();},[]);useEffect(()=>{if(!intro||noAnim||n<3||!ready)return;const wait=Math.max(0,mountedAt.current+introDelay*1e3-performance.now());const t1=window.setTimeout(()=>sendToBack(orderRef.current[0],{x:1,y:-.25}),wait);const t2=window.setTimeout(()=>sendToBack(orderRef.current[0],{x:-1,y:-.25}),wait+handoffMs+introGap*1e3);return()=>{window.clearTimeout(t1);window.clearTimeout(t2);};},[intro,noAnim,n,ready]);const onKeyDown=e=>{if(e.key===\"ArrowRight\"){e.preventDefault();sendToBack(order[0],{x:1,y:0});}else if(e.key===\"ArrowLeft\"){e.preventDefault();bringToFront();}else if(e.key===\"Enter\"){open(order[0]);}};const _pillBG=parseToken(pillBG);const _pillText=parseToken(pillText);const _accent=parseToken(accent);const _counter=parseToken(counterColor);const _plate=parseToken(plateColor);if(n===0){return /*#__PURE__*/_jsx(\"div\",{style:{...style,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",border:\"1px dashed rgba(90,90,90,0.3)\",...monoFont,color:_counter},children:\"Add cards in the Cards control\"});}const top=order[0];return /*#__PURE__*/_jsxs(\"div\",{ref:setRoot,tabIndex:0,role:\"group\",\"aria-roledescription\":\"card deck\",\"aria-label\":\"Projects\",onKeyDown:onKeyDown,onMouseEnter:()=>canHover&&setHovering(true),onMouseLeave:()=>setHovering(false),style:{...style,position:\"relative\",outline:\"none\",userSelect:\"none\",// Card size comes from CSS, so the first paint is already the right\n// size; JS measurements are only used for motion distances.\ncontainerType:\"size\",\"--cw\":`min(${cardScale*100}cqw, calc((100cqh - ${footer}px) * ${cardScale*cardAspect}))`,\"--ch\":`calc(var(--cw) / ${cardAspect})`,// The card and its counter row are centred together.\n\"--gt\":`max(0px, calc((100cqh - var(--ch) - ${footer}px) / 2))`},children:[items.map((it,i)=>it?.link?/*#__PURE__*/_jsx(Link,{href:it.link,children:/*#__PURE__*/_jsx(\"a\",{\"data-pd-link\":i,tabIndex:-1,\"aria-hidden\":\"true\",style:{display:\"none\"}})},`pd-link-${i}`):null),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,right:0,top:\"var(--gt)\",height:\"var(--ch)\"},children:order.map((idx,depth)=>{const dir=away[idx];const base=poseFor(depth);const pose=dir!==undefined?{x:dir.x*cw*tuckDistance*(dir.throw?throwBoost:1),y:dir.y*ch*.3*(dir.throw?throwBoost:1)-tuckLift,rotate:baseRotate+(dir.x>=0?1:-1)*tuckTilt*(dir.throw?1.5:1),// Shrinking slightly on the way out reads as moving back in\n// space, so slipping behind the deck doesn't look like a pop.\nscale:tuckScale,opacity:1}:base;const moveTransition=noAnim?{duration:0}:dir!==undefined?tuckTransition:settleTransition;return /*#__PURE__*/_jsx(DeckCard,{item:items[idx],isTop:idx===top,priority:depth<2,zIndex:dir!==undefined?n+1:n-depth,pose:pose,transition:moveTransition,width:cw,height:ch,radius:radius,shadow:shadow,plate:_plate,pillBG:_pillBG,pillText:_pillText,pillCorner:pillPosition===\"auto\"?fanDirection===\"right\"?\"top-right\":\"top-left\":pillPosition,accent:_accent,monoFont:monoFont,noAnim:noAnim,swipeDistance:swipeDistance,freeDrag:dragMode!==\"sideways\",onThrow:v=>sendToBack(idx,v,true),onOpen:()=>open(idx)},idx);})}),footer?/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:\"calc(50% - var(--cw) / 2)\",top:\"calc(var(--gt) + var(--ch))\",width:\"var(--cw)\",height:footer,display:\"flex\",alignItems:\"flex-end\",justifyContent:\"space-between\",...monoFont,letterSpacing:0,color:_counter,pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"span\",{children:showCounter?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{style:{color:_pillText},children:pad(top)}),` / ${pad(n-1)}`]}):null}),/*#__PURE__*/_jsx(\"span\",{children:hint})]}):null]});}function DeckCard(props){const{item,isTop,priority,zIndex,pose,transition,width,height,radius,shadow,plate,pillBG,pillText,pillCorner,accent,monoFont,noAnim,swipeDistance,freeDrag,onThrow,onOpen}=props;const dragX=useMotionValue(0);const dragY=useMotionValue(0);const tilt=useTransform(dragX,[-240,0,240],[-10,0,10]);const moved=useRef(false);const img=item?.image;const src=typeof img===\"string\"?img:img?.src;const srcSet=typeof img===\"object\"?img?.srcSet:undefined;const alt=typeof img===\"object\"&&img?.alt||item?.title||\"\";const clickable=!!item?.link;return /*#__PURE__*/_jsx(motion.div,{initial:false,// One transform string (not separate x/y/rotate/scale) lets the browser run\n// the move on the GPU, off the main thread; Safari needs this to stay smooth.\nanimate:{transform:`translate3d(${pose.x}px, ${pose.y}px, 0) rotate(${pose.rotate}deg) scale(${pose.scale})`,opacity:pose.opacity},transition:transition,style:{position:\"absolute\",left:\"calc(50% - var(--cw) / 2)\",top:0,width:\"var(--cw)\",height:\"var(--ch)\",zIndex,transformOrigin:\"50% 115%\",// Own GPU layer: the card and its shadow are painted once, then just moved.\nwillChange:noAnim?undefined:\"transform\",backfaceVisibility:\"hidden\"},children:/*#__PURE__*/_jsxs(motion.div,{drag:isTop?freeDrag?true:\"x\":false,dragSnapToOrigin:true,dragElastic:.6,onDragStart:()=>{moved.current=true;},onDragEnd:(_,info)=>{const dx=info.offset.x;const dy=freeDrag?info.offset.y:0;const vx=info.velocity.x;const vy=freeDrag?info.velocity.y:0;if(Math.hypot(dx,dy)>swipeDistance||Math.hypot(vx,vy)>700){const useV=Math.hypot(dx,dy)<20;onThrow({x:useV?vx:dx,y:useV?vy:dy});}window.setTimeout(()=>{moved.current=false;},60);},onClick:()=>{if(!moved.current&&clickable)onOpen();},whileHover:noAnim||!clickable?undefined:{y:isTop?-4:-8},role:clickable?\"link\":undefined,\"aria-label\":clickable?`Open ${item?.title||\"project\"}`:item?.title,style:{x:dragX,y:dragY,rotate:tilt,width:\"100%\",height:\"100%\",borderRadius:radius,background:plate,boxShadow:shadow,cursor:isTop?\"grab\":clickable?\"pointer\":\"default\",touchAction:isTop&&freeDrag?\"none\":\"pan-y\",willChange:isTop&&!noAnim?\"transform\":undefined},whileTap:isTop?{cursor:\"grabbing\"}:undefined,children:[src?/*#__PURE__*/_jsx(\"img\",{src:src,srcSet:srcSet,sizes:`${Math.round(width)}px`,alt:alt,draggable:false,decoding:\"async\",loading:\"eager\",// @ts-ignore\nfetchpriority:priority?\"high\":\"auto\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",// Round the photo itself instead of clipping a moving parent,\n// which Safari redraws every frame.\nborderRadius:radius,display:\"block\",pointerEvents:\"none\"}}):null,item?.label?/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",...String(pillCorner).startsWith(\"bottom\")?{bottom:14}:{top:14},...String(pillCorner).endsWith(\"right\")?{right:14}:{left:14},display:\"flex\",alignItems:\"center\",gap:8,padding:\"6px 11px\",borderRadius:999,background:pillBG,color:pillText,...monoFont,letterSpacing:0,whiteSpace:\"nowrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:7,height:7,background:accent,display:\"inline-block\",flexShrink:0}}),item.label]}):null]})});}const DEFAULT_SHADOW=\"0.59px 0.59px 0.5px -0.75px rgba(94,94,94,0.18), 1.61px 1.61px 1.37px -1.5px rgba(94,94,94,0.18), 3.54px 3.54px 3px -2.25px rgba(94,94,94,0.17), 7.87px 7.87px 6.68px -3px rgba(94,94,94,0.14), 20px 20px 17px -3.75px rgba(94,94,94,0.06)\";ProjectDeck.defaultProps={cards:[],cardAspect:.78,cardScale:.8,baseRotate:4,radius:20,stackOffset:16,stackRotate:2.5,visibleDepth:3,fanSpread:36,fanDirection:\"right\",pillPosition:\"auto\",fanLift:14,touchFan:true,intro:true,introDelay:.8,introGap:.15,tuckDistance:.5,tuckLift:20,tuckTilt:6,tuckScale:.94,throwBoost:1.6,tuckTransition:{type:\"tween\",ease:[.33,0,.2,1],duration:.4},settleTransition:{type:\"spring\",stiffness:170,damping:24,mass:1},swipeDistance:110,showCounter:true,counterGap:20,hint:\"Drag to shuffle\",dragMode:\"free\",pillBG:\"rgba(252, 249, 243, 0.92)\",pillText:\"#313131\",accent:\"#A6321C\",counterColor:\"#595959\",plateColor:\"#EDEBE6\",shadow:DEFAULT_SHADOW};addPropertyControls(ProjectDeck,{cards:{type:ControlType.Array,title:\"Cards\",control:{type:ControlType.Object,controls:{image:{type:ControlType.ResponsiveImage,title:\"Image\"},title:{type:ControlType.String,title:\"Title\"},label:{type:ControlType.String,title:\"Label\"},link:{type:ControlType.Link,title:\"Link\"}}}},cardAspect:{type:ControlType.Number,title:\"Aspect\",min:.4,max:1.5,step:.01,defaultValue:.78},cardScale:{type:ControlType.Number,title:\"Card Size\",min:.4,max:1,step:.01,defaultValue:.8},baseRotate:{type:ControlType.Number,title:\"Tilt\",min:-15,max:15,step:.5,unit:\"\\xb0\",defaultValue:4},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:48,defaultValue:20,unit:\"px\"},stackOffset:{type:ControlType.Number,title:\"Stack Offset\",min:0,max:60,defaultValue:16,unit:\"px\"},stackRotate:{type:ControlType.Number,title:\"Stack Rotate\",min:0,max:10,step:.5,defaultValue:2.5,unit:\"\\xb0\"},visibleDepth:{type:ControlType.Number,title:\"Visible Cards\",min:1,max:8,step:1,defaultValue:3},fanSpread:{type:ControlType.Number,title:\"Fan Spread\",min:0,max:90,defaultValue:36,unit:\"\\xb0\"},fanDirection:{type:ControlType.Enum,title:\"Fan Direction\",options:[\"right\",\"both\",\"left\"],optionTitles:[\"Right\",\"Both\",\"Left\"],displaySegmentedControl:true,defaultValue:\"right\"},fanLift:{type:ControlType.Number,title:\"Fan Lift\",min:0,max:60,defaultValue:14,unit:\"px\"},touchFan:{type:ControlType.Boolean,title:\"Touch Fan\",defaultValue:true,enabledTitle:\"Slight\",disabledTitle:\"Off\",description:\"On touch screens (no hover), keep the hand slightly open.\"},intro:{type:ControlType.Boolean,title:\"Intro Riffle\",defaultValue:true},introDelay:{type:ControlType.Number,title:\"Intro Delay\",min:0,max:6,step:.05,unit:\"s\",defaultValue:.8,hidden:p=>!p.intro,description:\"Counted from when the page appears. Waits for the photos and page load if those take longer.\"},introGap:{type:ControlType.Number,title:\"Intro Gap\",min:0,max:2,step:.05,unit:\"s\",defaultValue:.15,hidden:p=>!p.intro,description:\"Pause between the two intro tucks.\"},tuckDistance:{type:ControlType.Number,title:\"Tuck Distance\",min:.1,max:1.5,step:.05,defaultValue:.5,description:\"How far a card slides out, as a share of its width.\"},tuckLift:{type:ControlType.Number,title:\"Tuck Lift\",min:0,max:120,defaultValue:20,unit:\"px\"},tuckTilt:{type:ControlType.Number,title:\"Tuck Tilt\",min:0,max:30,step:.5,defaultValue:6,unit:\"\\xb0\"},tuckScale:{type:ControlType.Number,title:\"Tuck Scale\",min:.8,max:1,step:.01,defaultValue:.94,description:\"How much a card shrinks as it slides out, so it reads as going behind the deck.\"},throwBoost:{type:ControlType.Number,title:\"Throw Boost\",min:1,max:3,step:.1,defaultValue:1.6,description:\"Thrown cards travel this much further than a tuck.\"},tuckTransition:{type:ControlType.Transition,title:\"Tuck Motion\",defaultValue:{type:\"tween\",ease:[.33,0,.2,1],duration:.4},description:\"The slide out. The card turns back the moment this finishes.\"},settleTransition:{type:ControlType.Transition,title:\"Settle Motion\",defaultValue:{type:\"spring\",stiffness:170,damping:24,mass:1},description:\"The return behind the deck, and the fan opening and closing.\"},swipeDistance:{type:ControlType.Number,title:\"Swipe Distance\",min:40,max:400,defaultValue:110,unit:\"px\"},dragMode:{type:ControlType.Enum,title:\"Drag\",options:[\"free\",\"sideways\"],optionTitles:[\"Any Direction\",\"Sideways\"],displaySegmentedControl:true,defaultValue:\"free\",description:\"Any Direction stops the page scrolling while a finger is on the top card.\"},showCounter:{type:ControlType.Boolean,title:\"Counter\",defaultValue:true},counterGap:{type:ControlType.Number,title:\"Counter Gap\",min:0,max:80,defaultValue:20,unit:\"px\",description:\"Space between the cards and the counter / hint row.\"},hint:{type:ControlType.String,title:\"Hint\",defaultValue:\"Drag to shuffle\"},monoFont:{type:ControlType.Font,title:\"Mono Font\",controls:\"extended\",defaultFontType:\"monospace\",defaultValue:{fontSize:11}},pillPosition:{type:ControlType.Enum,title:\"Label\",options:[\"auto\",\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"],optionTitles:[\"Follow Fan\",\"Top Left\",\"Top Right\",\"Bottom Left\",\"Bottom Right\"],defaultValue:\"auto\",description:\"Follow Fan puts the label on the corner that peeks out when the deck fans.\"},pillBG:{type:ControlType.Color,title:\"Pill BG\",defaultValue:\"rgba(252, 249, 243, 0.92)\"},pillText:{type:ControlType.Color,title:\"Pill Text\",defaultValue:\"#313131\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#A6321C\"},counterColor:{type:ControlType.Color,title:\"Muted\",defaultValue:\"#595959\"},plateColor:{type:ControlType.Color,title:\"Plate\",defaultValue:\"#EDEBE6\"},shadow:{type:ControlType.BoxShadow,title:\"Shadow\",defaultValue:DEFAULT_SHADOW}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectDeck\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectDeck.map"],"mappings":"A,qSAiBsP,SAAwBuB,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,QAAM,aAAW,YAAU,aAAW,UAAO,cAAY,cAAY,eAAa,YAAU,eAAa,UAAQ,WAAS,QAAM,cAAW,WAAS,eAAa,WAAS,YAAS,aAAU,aAAW,kBAAe,oBAAiB,iBAAc,YAAS,eAAY,cAAW,QAAK,UAAO,YAAS,gBAAa,UAAO,gBAAa,cAAW,WAAS,WAAQC,EAAYC,GAAS,OAAON,GAAsB,YAAWA,EAAoB,EAAcO,EAAM,MAAM,QAAQC,CAAK,EAAEA,EAAM,OAAO,OAAO,EAAE,CAAC,EAAQC,EAAEF,EAAM,OAEhzBG,GAAQ,CAAC,CAACC,GAAO,CAACL,IAAUG,GAAG,EAAQG,EAAW,GAAK,CAAC,IAAMC,EAAKN,EAAM,KAAK,EAAE,IAAIO,CAAC,EAAE,OAAOC,EAAI,CAAC,GAAGF,EAAK,MAAMJ,EAAE,CAAC,EAAE,GAAGI,EAAK,MAAM,EAAEJ,EAAE,CAAC,CAAC,EAAEI,CAAK,EAAO,CAACG,EAAMC,GAAUpC,MAAa+B,EAAWF,EAAO,CAAC,EAAQQ,EAASpC,EAAOkC,CAAK,EAAE,EAAS,QAAQA,EAAM,IAAMG,GAAOrC,EAAO,EAAI,EAAEY,MAAc,CAAIyB,GAAO,QAAS,GAAO,QAAQ,GAAcF,EAASL,EAAW,EAAK,CAAC,CAAE,EAAE,CAACH,CAAC,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