{"version":3,"file":"RuleStack.CP7J_rHG.mjs","names":["useState","useRef","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","ce","p","c","init_jsx_runtime","_e","de","window","useTransform","motion","useMotionValue","animate","init_framer_motion_DhsWWWsN","addPropertyControls","init_framer_BptO5W0R","RenderTarget","ControlType","RollDigits","digits","value","d","n","i","Sheet","x","rotate","top","nudgeKey","reduce","a","b","flying","dir","W","tx","ty","opts","LIFT","onThrow","far","info","fast","len","SPRING","depth","step","rule","noteFont","font","RuleStack","props","list","rules","DEFAULT_RULES","order","setOrder","setFlying","touched","setTouched","setNudgeKey","setReduce","box","canvas","m","nudge","t","seen","io","k","throwTop","landed","o","depthOf","current","style","stackLabel","groupLabel","hintColor","hint","focus","button","count","part","init_RuleStack"],"sources":["https:/framerusercontent.com/modules/ix91UrWEIMtLabmvA0Ah/WcBVroHgU0AlLLEv6ro7/RuleStack.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,useMotionValue,useTransform,animate}from\"framer-motion\";const DEFAULT_RULES=[{text:\"Every layer earns its place.\",note:\"If part of a brand can’t say what it’s for, it goes.\",sheet:\"#F2EDE2\",ink:\"#0E0E0F\"},{text:\"Pencil before pixels.\",note:\"Paper is quicker to throw away, so we throw away more of it.\",sheet:\"#0E0E0F\",ink:\"#F2EDE2\"},{text:\"The person you meet does the work.\",note:\"No account managers. Whoever pitches it draws it.\",sheet:\"#254CC0\",ink:\"#F2EDE2\"},{text:\"Print it before you ship it.\",note:\"If it fails from across the room, it fails.\",sheet:\"#E8E3D7\",ink:\"#0E0E0F\"},{text:\"Say no to good projects.\",note:\"We take four a quarter, so each one gets all five of us.\",sheet:\"#E33B21\",ink:\"#0E0E0F\"}];const SPRING={type:\"spring\",stiffness:260,damping:30,mass:.9};// the count's digits roll to the new number (the house roll curve), like the figures elsewhere on the site\nfunction RollDigits({value}){const digits=String(value).split(\"\");return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"inline-flex\",verticalAlign:\"top\"},children:digits.map((d,i)=>/*#__PURE__*/_jsxs(\"span\",{style:{position:\"relative\",display:\"inline-block\",height:\"1.25em\",lineHeight:\"1.25em\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{visibility:\"hidden\"},children:d}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:0,right:0,top:0,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",transform:`translateY(${-Number(d)*1.25}em)`,transition:\"transform 600ms cubic-bezier(.65,0,.35,1)\"},children:\"0123456789\".split(\"\").map(n=>/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",height:\"1.25em\"},children:n},n))})]},digits.length+\"-\"+i))});}const LIFT=[.16,1,.3,1];function Sheet({rule,depth,top,step,font,noteFont,onThrow,flying,nudgeKey,reduce}){const x=useMotionValue(0);const y=useMotionValue(0);const rotate=useTransform(x,[-400,0,400],[-9,0,9]);useEffect(()=>{if(!top||!nudgeKey||reduce)return;const a=animate(x,[0,-14,6,0],{duration:1.1,ease:\"easeInOut\"});const b=animate(y,[0,-8,2,0],{duration:1.1,ease:\"easeInOut\"});return()=>{a.stop();b.stop();};},[nudgeKey]);useEffect(()=>{if(!flying)return;const dir=flying;const W=1.25*(typeof window!==\"undefined\"?window.innerWidth:1400);const tx=dir.x*W,ty=dir.y*W*.6;const opts={duration:reduce?0:.55,ease:LIFT};const a=animate(x,tx,opts);const b=animate(y,ty,{...opts,onComplete:()=>{onThrow();requestAnimationFrame(()=>{x.set(0);y.set(0);});}});return()=>{a.stop();b.stop();};},[flying]);return /*#__PURE__*/_jsxs(motion.div,{\"aria-hidden\":top?undefined:true,drag:top&&!flying&&!reduce,dragElastic:.9,dragMomentum:false,onDragEnd:(_,info)=>{const far=Math.hypot(info.offset.x,info.offset.y)>140;const fast=Math.hypot(info.velocity.x,info.velocity.y)>650;if(far||fast){const len=Math.hypot(info.offset.x+info.velocity.x*.2,info.offset.y+info.velocity.y*.2)||1;onThrow({x:(info.offset.x+info.velocity.x*.2)/len,y:(info.offset.y+info.velocity.y*.2)/len});}else{animate(x,0,SPRING);animate(y,0,SPRING);}},initial:false,animate:{left:depth*step,top:depth*step},transition:reduce?{duration:0}:SPRING,style:{position:\"absolute\",width:`calc(100% - ${4*step}px)`,height:`calc(100% - ${4*step}px)`,x,y,rotate,zIndex:50-depth,background:rule.sheet,color:rule.ink,cursor:top?\"grab\":\"default\",// vertical swipes keep scrolling the page on touch screens; sideways drags still throw the sheet\ntouchAction:top?\"pan-y\":\"auto\",boxSizing:\"border-box\",padding:\"clamp(24px, 4%, 44px)\",display:\"flex\",flexDirection:\"column\",justifyContent:\"space-between\",userSelect:\"none\"},whileDrag:{cursor:\"grabbing\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...noteFont,margin:0,opacity:.9,maxWidth:\"34ch\"},children:rule.note}),/*#__PURE__*/_jsx(\"span\",{style:{...font,margin:0,maxWidth:\"14ch\",textWrap:\"balance\"},children:rule.text})]});}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 640\n * @framerIntrinsicHeight 520\n */export default function RuleStack(props){const{rules=[],font,noteFont,step=14,hint=\"Throw the top sheet, or\",button=\"Next rule\",hintColor=\"#4A4843\",nudge=true,count=\"{n} of {total}\",style}=props;const list=rules&&rules.length?rules:DEFAULT_RULES;const[order,setOrder]=useState(()=>list.map((_,i)=>i));const[flying,setFlying]=useState(null);const[touched,setTouched]=useState(false);const[nudgeKey,setNudgeKey]=useState(0);const[reduce,setReduce]=useState(false);const box=useRef(null);const canvas=RenderTarget.current()===RenderTarget.canvas;useEffect(()=>{setOrder(list.map((_,i)=>i));},[list.length]);useEffect(()=>{const m=window.matchMedia(\"(prefers-reduced-motion: reduce)\");setReduce(m.matches);},[]);// the idle nudge, only while on screen and until the first touch\nuseEffect(()=>{if(!nudge||touched||canvas||reduce||!box.current)return;let t=0,seen=false;const io=new IntersectionObserver(([e])=>{seen=e.isIntersecting;});io.observe(box.current);t=window.setInterval(()=>{if(seen&&document.visibilityState===\"visible\")setNudgeKey(k=>k+1);},4200);return()=>{io.disconnect();window.clearInterval(t);};},[nudge,touched,canvas,reduce]);const throwTop=dir=>{if(flying)return;setTouched(true);setFlying(dir||{x:-.8,y:-.6});};const landed=()=>{setFlying(null);setOrder(o=>[...o.slice(1),o[0]]);};const depthOf=i=>order.indexOf(i);const current=list[order[0]]||list[0];const{groupLabel=\"The rules we keep\",stackLabel=\"stack of sheets\",focus=\"#254CC0\"}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",gap:20},children:[/*#__PURE__*/_jsx(\"div\",{ref:box,role:\"group\",\"aria-roledescription\":stackLabel,\"aria-label\":groupLabel,onPointerDown:()=>setTouched(true),style:{position:\"relative\",flex:1,minHeight:0},children:list.map((rule,i)=>{const d=depthOf(i);const shown=Math.min(d,4);return /*#__PURE__*/_jsx(Sheet,{rule:rule,depth:shown,top:d===0,step:step,font:font,noteFont:noteFont,reduce:reduce||canvas,flying:d===0?flying:null,nudgeKey:d===0?nudgeKey:0,onThrow:d===0?dir=>dir&&!flying?throwTop(dir):landed():()=>{}},i);})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,...noteFont,color:hintColor,paddingRight:4*step},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10},children:[/*#__PURE__*/_jsx(\"span\",{children:hint}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>throwTop(),style:{all:\"unset\",cursor:\"pointer\",color:\"inherit\",textDecoration:\"none\",display:\"inline-flex\",alignItems:\"center\",gap:6,fontWeight:600},onFocus:e=>e.currentTarget.style.outline=`2px solid ${focus}`,onBlur:e=>e.currentTarget.style.outline=\"none\",children:[button,/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 16 16\",\"aria-hidden\":\"true\",focusable:\"false\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 4l4 4-4 4M8.5 4l4 4-4 4\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.6\"})})]})]}),count?/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-flex\",alignItems:\"flex-start\",whiteSpace:\"pre\",fontVariantNumeric:\"tabular-nums\"},children:count.split(/(\\{n\\}|\\{total\\})/).map((part,i)=>part===\"{n}\"?/*#__PURE__*/_jsx(RollDigits,{value:(order[0]??0)+1},i):part===\"{total}\"?/*#__PURE__*/_jsx(\"span\",{children:list.length},i):/*#__PURE__*/_jsx(\"span\",{children:part},i))}):null]}),/*#__PURE__*/_jsx(\"span\",{\"aria-live\":\"polite\",style:{position:\"absolute\",width:1,height:1,overflow:\"hidden\",clip:\"rect(0 0 0 0)\",whiteSpace:\"nowrap\"},children:current.text})]});}RuleStack.displayName=\"Rule Stack\";addPropertyControls(RuleStack,{rules:{type:ControlType.Array,title:\"Rules\",maxCount:8,control:{type:ControlType.Object,controls:{text:{type:ControlType.String,title:\"Rule\",defaultValue:\"Every layer earns its place.\",displayTextArea:true},note:{type:ControlType.String,title:\"Note\",defaultValue:\"\",displayTextArea:true},sheet:{type:ControlType.Color,title:\"Sheet\",defaultValue:\"#F2EDE2\"},ink:{type:ControlType.Color,title:\"Ink\",defaultValue:\"#0E0E0F\"}}},defaultValue:DEFAULT_RULES},font:{type:ControlType.Font,title:\"Rule font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:48,lineHeight:\"1em\",letterSpacing:\"-0.02em\"}},noteFont:{type:ControlType.Font,title:\"Note font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:\"1.4em\"}},step:{type:ControlType.Number,title:\"Step\",defaultValue:14,min:0,max:40,unit:\"px\"},hint:{type:ControlType.String,title:\"Hint\",defaultValue:\"Throw the top sheet, or\"},button:{type:ControlType.String,title:\"Button\",defaultValue:\"Next rule\"},hintColor:{type:ControlType.Color,title:\"Hint colour\",defaultValue:\"#4A4843\"},nudge:{type:ControlType.Boolean,title:\"Idle nudge\",defaultValue:true},groupLabel:{type:ControlType.String,title:\"Label\",defaultValue:\"The rules we keep\",description:\"Read out by screen readers.\"},stackLabel:{type:ControlType.String,title:\"Role\",defaultValue:\"stack of sheets\",description:\"How screen readers describe the pile.\"},focus:{type:ControlType.Color,title:\"Focus ring\",defaultValue:\"#254CC0\"},count:{type:ControlType.String,title:\"Count\",defaultValue:\"{n} of {total}\",description:\"{n} is the sheet on top, {total} the pile. Leave empty to hide.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RuleStack\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"640\",\"framerIntrinsicHeight\":\"520\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RuleStack.map"],"mappings":"A,2RACA,SAASqB,EAAW,CAAC,SAAO,CAAC,IAAMC,EAAO,OAAOC,CAAK,CAAC,CAAC,MAAM,EAAE,EAAE,MAAoB,gBAAK,OAAO,CAAC,cAAc,OAAO,MAAM,CAAC,QAAQ,cAAc,cAAc,KAAK,EAAE,SAASD,EAAO,KAAK,EAAE,IAAiB,gBAAM,OAAO,CAAC,MAAM,CAAC,SAAS,WAAW,QAAQ,eAAe,OAAO,SAAS,WAAW,SAAS,SAAS,QAAQ,EAAE,SAAS,CAAc,gBAAK,OAAO,CAAC,MAAM,CAAC,WAAW,QAAQ,EAAE,SAASE,CAAC,CAAC,EAAe,gBAAK,OAAO,CAAC,MAAM,CAAC,SAAS,WAAW,KAAK,EAAE,MAAM,EAAE,I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