{"version":3,"file":"VisualKit.BWkDVgqB.mjs","names":["useState","_Fragment","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","l","_e","p","c","init_jsx_runtime","ce","init_framer_motion_DhsWWWsN","init_framer_Bf4_tcb2","useIsStaticRenderer","Mark","wide","WIDE","name","size","PATHS","useStill","isStatic","reduce","setReduce","mq","on","MONO","SANS","DISPLAY","INK","NAVY","ACCENT","GROUND","LINE","RAIL","MUTED","init_VisualKit"],"sources":["https:/framerusercontent.com/modules/qVTDxzAiSpcmANL03LDV/PJ1qIylWZG2NXOkBEXFM/VisualKit.js"],"sourcesContent":["// VISUAL KIT (23 Sept 2026)\n//\n// Frank, 23 Sept: the photo-led hero \"deviates too much from what we had... it should be tech\n// first, human second\", with Framer's own site and juicebox.ai/outreach as the reference, and\n// \"we want to make scalable reusable components\".\n//\n// The reference pattern, which the site already half speaks: a tinted STAGE panel carrying a\n// faint geometric field, a white PRODUCT CARD sitting on it, and small FLOATING CHIPS\n// overlapping that card. The person appears only as a 28px avatar inside a row. Every visual\n// on the site currently re-invents its own brand marks and its own timer; this module is the\n// shared vocabulary so they stop doing that.\n//\n// What lives here:\n//   Mark        every channel mark as inline SVG, one source for the whole site\n//   GridBand    the ruled cell: dashed outer rails, gutter texture, section rules, crosshair\n//               nodes, optional divider. The band IS the structure, so nothing needs a fill\n//   Fragment    a card cropped by an edge, so a surface reads as bigger than the page\n//   Stage       the tinted panel: tone, field pattern, rail safe, never paints past its box\n//   RecordCard  the product surface: header, skeleton rows, one live row with avatar + status\n//   FloatChip   the floating micro card that pops over the stage\n//   useSequence the beat engine: per beat durations, starts in view, loops, respects reduced\n//               motion and the static renderer, so no visual writes its own timer again\n//\n// Nothing here is a page component. Framer lists files that export JSX in the insert panel, so\n// treat these as code level primitives and compose them inside a page component instead of\n// dropping them on a canvas. Split into separate files if any of them ever needs to be placed\n// directly.\n//\n// Tones are per band by design (Frank's call): navy for the hero, purple for the channels\n// band, ink for the registry, the way juicebox gives each tab its own colour.\n//\n// House style: no dash punctuation in visitor facing copy.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{motion}from\"framer-motion\";import{useIsStaticRenderer}from\"framer\";export const MONO='\"Space Mono\", ui-monospace, monospace';export const SANS='\"IBM Plex Sans\", -apple-system, sans-serif';export const DISPLAY='Outfit, \"IBM Plex Sans\", sans-serif';export const INK=\"#010E24\";export const NAVY=\"#042251\";export const ACCENT=\"#7B63FF\";export const GROUND=\"#F8FAFF\";export const LINE=\"#E4E7EE\";export const RAIL=\"#CFD6E6\";export const MUTED=\"#6B7280\";export const GOOD=\"#2BB673\";// One spring for the whole site, so nothing moves at a different rate to anything else.\nexport const SPRING={type:\"spring\",stiffness:170,damping:26};const PATHS={facebook:/*#__PURE__*/_jsx(\"path\",{d:\"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z\",fill:\"#1877F2\"}),instagram:/*#__PURE__*/_jsx(\"path\",{d:\"M7.03.084C5.753.144 4.881.348 4.119.647c-.789.308-1.457.72-2.123 1.388C1.331 2.703.921 3.372.616 4.162.32 4.926.12 5.799.064 7.076.008 8.354-.005 8.764.001 12.023c.006 3.259.021 3.667.083 4.947.061 1.277.264 2.148.563 2.911.308.789.72 1.457 1.388 2.123.668.666 1.337 1.074 2.129 1.38.763.295 1.636.496 2.913.552 1.277.056 1.688.069 4.946.063 3.258-.006 3.668-.021 4.948-.081 1.28-.061 2.147-.266 2.91-.564.789-.308 1.458-.72 2.123-1.388.665-.668 1.074-1.338 1.379-2.128.296-.763.497-1.636.552-2.913.056-1.281.069-1.69.063-4.948-.006-3.258-.021-3.667-.082-4.947-.06-1.28-.264-2.148-.563-2.911-.308-.789-.72-1.457-1.388-2.123C21.298 1.33 20.628.921 19.838.617 19.074.321 18.202.12 16.924.064 15.647.009 15.236-.005 11.977.001 8.718.008 8.31.022 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.229-.408-.56-.216-.96-.477-1.382-.895-.422-.418-.681-.818-.9-1.378-.164-.423-.362-1.058-.417-2.228-.06-1.264-.072-1.644-.079-4.848-.007-3.204.005-3.583.061-4.848.05-1.169.245-1.805.408-2.228.216-.561.476-.96.895-1.382.419-.421.818-.681 1.378-.9.423-.165 1.058-.361 2.227-.417 1.265-.06 1.645-.072 4.848-.079 3.203-.007 3.584.005 4.85.061 1.169.051 1.805.244 2.228.408.561.216.96.475 1.382.895.421.419.681.818.9 1.379.165.421.362 1.056.417 2.226.06 1.266.074 1.645.08 4.848.006 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.806-.408 2.23-.216.56-.476.96-.895 1.381-.419.422-.818.681-1.378.9-.423.165-1.058.362-2.227.417-1.265.06-1.645.072-4.849.079-3.205.007-3.583-.006-4.848-.061M16.953 5.586A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.442M5.839 12.012c.006 3.403 2.77 6.156 6.173 6.149 3.402-.006 6.157-2.77 6.15-6.173-.006-3.403-2.771-6.156-6.174-6.15-3.403.007-6.156 2.771-6.15 6.174M8 12.008a4 4 0 1 1 4.008 3.992A4 4 0 0 1 8 12.008\",fill:\"#E4405F\"}),messenger:/*#__PURE__*/_jsx(\"path\",{d:\"M12 0C5.24 0 0 4.952 0 11.64c0 3.499 1.434 6.521 3.769 8.61a.96.96 0 0 1 .323.683l.065 2.135a.96.96 0 0 0 1.347.85l2.381-1.053a.96.96 0 0 1 .641-.046A13 13 0 0 0 12 23.28c6.76 0 12-4.952 12-11.64S18.76 0 12 0m6.806 7.44c.522-.03.971.567.63 1.094l-4.178 6.457a.707.707 0 0 1-.977.208l-3.87-2.504a.44.44 0 0 0-.49.007l-4.363 3.01c-.637.438-1.415-.317-.995-.966l4.179-6.457a.706.706 0 0 1 .977-.21l3.87 2.505c.15.097.344.094.491-.007l4.362-3.008a.7.7 0 0 1 .364-.13\",fill:\"#00B2FF\"}),tiktok:/*#__PURE__*/_jsx(\"path\",{d:\"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5.8 20.1a6.34 6.34 0 0 0 10.86-4.43V8.74a8.16 8.16 0 0 0 4.77 1.52V6.82a4.85 4.85 0 0 1-1.84-.13z\",fill:INK}),google:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{fill:\"#4285F4\",d:\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"#34A853\",d:\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.99.66-2.25 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84A10.99 10.99 0 0 0 12 23z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"#FBBC05\",d:\"M5.84 14.1c-.22-.66-.35-1.36-.35-2.1s.13-1.44.35-2.1V7.07H2.18a11 11 0 0 0 0 9.87l3.66-2.84z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"#EA4335\",d:\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84C6.71 7.31 9.14 5.38 12 5.38z\"})]}),googleAds:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M11.95 3.3 5.6 16.1\",stroke:\"#FBBC04\",strokeWidth:\"6.4\",strokeLinecap:\"round\",fill:\"none\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M11.95 3.3 18.6 16.6\",stroke:\"#4285F4\",strokeWidth:\"6.6\",strokeLinecap:\"round\",fill:\"none\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"5.3\",cy:\"18.1\",r:\"3.3\",fill:\"#34A853\"})]}),// Indeed as its own wordmark rather than a traced logo: legible at chip size, and it is the\n// board's name rather than a copy of its artwork.\nindeed:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"5.6\",cy:\"5.4\",r:\"2.1\",fill:\"#2164F3\"}),/*#__PURE__*/_jsx(\"text\",{x:\"0\",y:\"19.5\",fontFamily:DISPLAY,fontWeight:\"700\",fontSize:\"17\",letterSpacing:\"-0.6\",fill:\"#2164F3\",children:\"indeed\"})]}),board:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"6\",width:\"18\",height:\"2.8\",rx:\"1.4\",fill:NAVY}),/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"11\",width:\"18\",height:\"2.8\",rx:\"1.4\",fill:NAVY}),/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"16\",width:\"11\",height:\"2.8\",rx:\"1.4\",fill:RAIL})]}),search:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"11\",cy:\"11\",r:\"7\",fill:\"none\",stroke:MUTED,strokeWidth:\"2.2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M21 21l-4.3-4.3\",stroke:MUTED,strokeWidth:\"2.2\",strokeLinecap:\"round\"})]})};// Indeed is a wordmark so it needs a wider box than the square marks.\nconst WIDE=[\"indeed\"];export function Mark({name,size=19}){const wide=WIDE.indexOf(name)!==-1;return /*#__PURE__*/_jsx(\"svg\",{viewBox:wide?\"0 0 62 24\":\"0 0 24 24\",width:wide?size*2.7:size,height:size,style:{display:\"block\",flex:\"0 0 auto\"},\"aria-hidden\":\"true\",children:PATHS[name]});}const TONES={navy:{bg:NAVY,fg:\"rgba(255,255,255,0.72)\",ink:true},purple:{bg:ACCENT,fg:\"rgba(255,255,255,0.78)\",ink:true},ink:{bg:INK,fg:\"rgba(255,255,255,0.7)\",ink:true},ground:{bg:GROUND,fg:MUTED,ink:false}};function fieldCss(field,dark){const c=dark?\"rgba(255,255,255,0.12)\":\"rgba(1,14,36,0.07)\";if(field===\"hatch\")return{backgroundImage:`repeating-linear-gradient(45deg, ${c} 0 1px, transparent 1px 8px)`};if(field===\"dots\")return{backgroundImage:`radial-gradient(${c} 1.1px, transparent 1.6px)`,backgroundSize:\"22px 22px\"};if(field===\"lines\")return{backgroundImage:`repeating-linear-gradient(60deg, ${c} 0 1px, transparent 1px 88px), repeating-linear-gradient(-60deg, ${c} 0 1px, transparent 1px 88px)`};return{};}export function Stage({tone=\"navy\",field=\"lines\",minHeight=470,pad=20,children,style}){const t=TONES[tone];return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",minHeight,borderRadius:14,// Clipped at its own box, so a stage can never paint across the 1200 rails.\noverflow:\"hidden\",isolation:\"isolate\",background:t.bg,padding:pad,display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",...style},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",inset:0,zIndex:0,pointerEvents:\"none\",...fieldCss(field,t.ink)},\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:pad,zIndex:1,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:children})]});}/* ------------------------------------------------------------- grid band */// Frank, 23 Sept, after reviewing attio.com/platform: box the visual \"both horizontal and\n// vertically\", and make the rails do the dividing rather than a coloured panel.\n//\n// GridBand draws the page's own measuring grid and lets content sit ON it: dashed rails at the\n// gutter, solid section rules top and bottom running the full width past the cell, a divider\n// rail between copy and visual, and a crosshair node wherever two lines meet. Texture lives\n// ONLY in the outer gutters; inside the rails is clean. That is the rule, not the look, and it\n// is what keeps a box from reading as a widget.\n//\n// Content is expected to break an edge. A fragment cropped by the right rail or a chip crossing\n// the divider is what makes the grid read as something the content sits on rather than a\n// container it is trapped in.\nexport function GridBand({tone=\"ground\",gutter=60,divider,minHeight=470,children}){const dark=tone===\"ink\";const rail=dark?\"rgba(255,255,255,0.22)\":RAIL;const node=dark?\"rgba(255,255,255,0.55)\":MUTED;const dot=dark?\"rgba(255,255,255,0.18)\":\"rgba(1,14,36,0.16)\";const dashed={position:\"absolute\",top:0,bottom:0,width:1,backgroundImage:`linear-gradient(180deg, ${rail} 0 5px, transparent 5px 11px)`,backgroundSize:\"1px 11px\",zIndex:1};const gut={position:\"absolute\",top:0,bottom:0,width:gutter,backgroundImage:`radial-gradient(${dot} 1px, transparent 1.5px)`,backgroundSize:\"14px 14px\",zIndex:0};const Node=({x,y})=>/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:x,top:y,width:5,height:5,background:node,transform:\"translate(-2px,-2px)\",zIndex:3},\"aria-hidden\":\"true\"});return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",background:dark?INK:GROUND,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...gut,left:0},\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{style:{...gut,right:0},\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:0,right:0,top:0,height:1,background:rail,zIndex:2},\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:0,right:0,bottom:0,height:1,background:rail,zIndex:2},\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{style:{...dashed,left:gutter},\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{style:{...dashed,right:gutter},\"aria-hidden\":\"true\"}),divider?/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:divider,top:0,bottom:0,width:1,background:rail,zIndex:2},\"aria-hidden\":\"true\"}):null,/*#__PURE__*/_jsx(Node,{x:gutter,y:\"0%\"}),/*#__PURE__*/_jsx(Node,{x:gutter,y:\"100%\"}),divider?/*#__PURE__*/_jsx(Node,{x:divider,y:\"0%\"}):null,divider?/*#__PURE__*/_jsx(Node,{x:divider,y:\"100%\"}):null,/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",zIndex:4,width:\"100%\",minHeight},children:children})]});}// A surface cropped by an edge. `edge` says which side the crop is on, so the border and radius\n// drop there and the card can run past the rail.\nexport function Fragment({edge=\"right\",className,children,style}){const r=edge===\"right\";return /*#__PURE__*/_jsx(\"div\",{className:className,style:{position:\"relative\",background:\"#FFFFFF\",border:`1px solid ${LINE}`,borderRadius:r?\"10px 0 0 10px\":\"0 10px 10px 0\",borderRight:r?0:undefined,borderLeft:r?undefined:0,overflow:\"hidden\",boxShadow:\"0 22px 54px -30px rgba(1,14,36,0.35)\",...style},children:children});}const STATUS={neutral:{bg:\"#F1F3F8\",fg:MUTED},good:{bg:\"#F1FBF5\",fg:GOOD},accent:{bg:\"#F5F3FF\",fg:ACCENT}};export function RecordCard({title,badge,rows,style}){return /*#__PURE__*/_jsxs(\"div\",{style:{background:\"#FFFFFF\",border:`1px solid ${LINE}`,borderRadius:12,overflow:\"hidden\",boxShadow:\"0 24px 60px -26px rgba(1,14,36,0.55)\",...style},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:10,padding:\"11px 14px\",borderBottom:`1px solid ${LINE}`,background:\"#FBFCFF\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:SANS,fontWeight:500,fontSize:13,color:INK},children:title}),badge?/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:MONO,fontWeight:700,fontSize:9,letterSpacing:\"0.8px\",textTransform:\"uppercase\",color:MUTED},children:badge}):null]}),/*#__PURE__*/_jsx(\"div\",{children:rows.map(r=>/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,padding:\"10px 14px\",borderBottom:`1px solid ${LINE}`,background:r.live?\"rgba(123,99,255,0.05)\":\"#FFFFFF\",minHeight:44},children:r.live?/*#__PURE__*/_jsxs(_Fragment,{children:[r.avatar?/*#__PURE__*/_jsx(\"img\",{src:r.avatar,alt:\"\",width:28,height:28,style:{width:28,height:28,borderRadius:7,objectFit:\"cover\",objectPosition:\"50% 22%\",flex:\"0 0 auto\"}}):/*#__PURE__*/_jsx(\"span\",{style:{width:28,height:28,borderRadius:7,background:\"#EDEAFF\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flex:\"0 0 auto\"},children:/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:MONO,fontWeight:700,fontSize:9.5,color:ACCENT},children:r.initials})}),/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",flexDirection:\"column\",gap:2,minWidth:0,flex:1},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:SANS,fontWeight:500,fontSize:12.5,color:INK,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:r.name}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:SANS,fontSize:11,color:MUTED,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:r.meta})]}),r.status?/*#__PURE__*/_jsx(\"span\",{style:{flex:\"0 0 auto\",padding:\"5px 9px\",borderRadius:9,background:STATUS[r.statusTone||\"neutral\"].bg,color:STATUS[r.statusTone||\"neutral\"].fg,fontFamily:MONO,fontWeight:700,fontSize:8.5,letterSpacing:\"0.7px\",textTransform:\"uppercase\",whiteSpace:\"nowrap\"},children:r.status}):null]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{style:{width:28,height:28,borderRadius:7,background:\"#F1F3F8\",flex:\"0 0 auto\"}}),(r.widths||[96,64,40]).map((w,i)=>/*#__PURE__*/_jsx(\"span\",{style:{height:7,width:w,borderRadius:4,background:\"#EDEFF4\",flex:i===0?1:\"0 0 auto\",maxWidth:w}},i))]})},r.id))})]});}/* -------------------------------------------------------------- the chips */export function FloatChip({mark,label,sub,tone=\"light\",style}){const dark=tone===\"accent\";return /*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:11,padding:\"9px 13px\",borderRadius:10,background:dark?ACCENT:\"rgba(255,255,255,0.96)\",boxShadow:\"0 16px 34px -16px rgba(1,14,36,0.6)\",maxWidth:300,...style},children:[mark?/*#__PURE__*/_jsx(Mark,{name:mark,size:18}):null,/*#__PURE__*/_jsxs(\"span\",{style:{minWidth:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontFamily:SANS,fontWeight:500,fontSize:12.5,lineHeight:1.25,color:dark?\"#FFFFFF\":INK},children:label}),sub?/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",marginTop:3,fontFamily:MONO,fontWeight:700,fontSize:8.5,letterSpacing:\"0.8px\",textTransform:\"uppercase\",color:dark?\"rgba(255,255,255,0.82)\":MUTED},children:sub}):null]})]});}// A chip that pops in and out where the consumer puts it. Kept separate from FloatChip so a\n// static composition can use the chip without pulling in motion.\nexport function PopChip({k,children,style}){return /*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:12,scale:.96},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-8,scale:.96},transition:{type:\"spring\",stiffness:280,damping:24},style:{position:\"absolute\",zIndex:3,...style},children:children},k);}/**\n * The beat engine every timed visual should use instead of writing its own timer.\n * Returns -1 first, so a visual can hold an opening state before the sequence starts.\n * Stops dead on the static renderer and under reduced motion: the consumer renders the\n * finished composition in that case.\n */export function useSequence(beats,{active,still,hold=1400}){const[i,setI]=useState(-1);useEffect(()=>{if(still||!active)return;const wait=i<0?hold:beats[i].ms;const t=window.setTimeout(()=>setI(v=>v+1>beats.length-1?-1:v+1),wait);return()=>window.clearTimeout(t);},[i,active,still,hold,beats]);return i;}export function useStill(){const isStatic=useIsStaticRenderer();const[reduce,setReduce]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const on=()=>setReduce(mq.matches);on();mq.addEventListener(\"change\",on);return()=>mq.removeEventListener(\"change\",on);},[]);return reduce||isStatic;}\nexport const __FramerMetadata__ = {\"exports\":{\"PopChip\":{\"type\":\"reactComponent\",\"name\":\"PopChip\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"RecordRow\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MUTED\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MONO\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RecordCard\":{\"type\":\"reactComponent\",\"name\":\"RecordCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useStill\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DISPLAY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StageTone\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Mark\":{\"type\":\"reactComponent\",\"name\":\"Mark\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"StageField\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GOOD\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RAIL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SequenceBeat\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SPRING\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ACCENT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GROUND\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSequence\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Stage\":{\"type\":\"reactComponent\",\"name\":\"Stage\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"FloatChip\":{\"type\":\"reactComponent\",\"name\":\"FloatChip\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SANS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MarkName\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"INK\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GridBand\":{\"type\":\"reactComponent\",\"name\":\"GridBand\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"NAVY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LINE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Fragment\":{\"type\":\"reactComponent\",\"name\":\"Fragment\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VisualKit.map"],"mappings":"A,iPAoCsB,SAAgBe,EAAK,CAAC,OAAK,OAAK,IAAI,CAAC,IAAMC,EAAKC,EAAK,QAAQC,CAAI,IAAI,GAAG,MAAoB,gBAAK,MAAM,CAAC,QAAQF,EAAK,YAAY,YAAY,MAAMA,EAAKG,EAAK,IAAIA,EAAK,OAAOA,EAAK,MAAM,CAAC,QAAQ,QAAQ,KAAK,UAAU,EAAE,cAAc,OAAO,SAASC,EAAMF,EAAK,CAAC,CAAE,CAsBuB,SA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