{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "figure-reels",
  "title": "Figure Reels",
  "description": "A $400M figure announces itself between two scrolling image reels.",
  "dependencies": ["remotion", "@remotion/google-fonts"],
  "registryDependencies": ["@remocn/gsh"],
  "files": [
    {
      "path": "registry/remocn/figure-reels/index.tsx",
      "content": "\"use client\";\n\nimport { loadFont } from \"@remotion/google-fonts/Figtree\";\nimport { loadFont as loadManrope } from \"@remotion/google-fonts/Manrope\";\nimport { useEffect, useId, useMemo, useRef, useState } from \"react\";\nimport {\n  AbsoluteFill,\n  continueRender,\n  delayRender,\n  Easing,\n  Img,\n  interpolate,\n  spring,\n  staticFile,\n  useCurrentFrame,\n  useVideoConfig,\n} from \"remotion\";\nimport type { GradientParams } from \"@/lib/remocn/gsh/gradient-engine\";\nimport { GshGround, gshParams } from \"@/lib/remocn/gsh/gsh-ground\";\nimport type { GshPresetId } from \"@/lib/remocn/gsh/presets\";\n\nconst figtree = loadFont(\"normal\", {\n  weights: [\"300\", \"400\"],\n  subsets: [\"latin\"],\n});\nconst manrope = loadManrope(\"normal\", {\n  weights: [\"600\"],\n  subsets: [\"latin\"],\n});\n\nconst REMOCN_R_PATH =\n  \"M 0.01 0.81 C 0.01 1.73, 0.36 2.79, 1.09 4.13 C 4.91 11.04, 13.45 17.16, 21.7 18.9 C 22.94 19.16, 23.18 19.16, 51.39 19.27 C 76.07 19.36, 80.02 19.4, 81.32 19.57 C 89.89 20.69, 96.2 24.68, 99.38 31.01 C 103.19 38.56, 102.53 50.1, 97.91 57.07 C 94.66 61.96, 89.68 64.99, 83.26 66 C 82.81 66.07, 70.18 66.83, 55.2 67.69 C 24.82 69.43, 27.03 69.23, 24.18 70.4 C 19.9 72.15, 14.84 75.7, 10.65 79.89 C 4.86 85.68, 1.3 91.91, 0.25 98.13 C 0.12 98.85, 0.08 103.13, 0.04 116.66 L 0 134.26 9.5 134.26 L 19 134.26 19.05 119.41 C 19.1 103.27, 19.08 103.82, 19.82 101.04 C 21.79 93.65, 27.86 88.75, 36.45 87.63 C 37.23 87.53, 39.41 87.5, 43.57 87.53 C 50.12 87.59, 50.75 87.65, 53.22 88.45 C 56.61 89.56, 59.67 91.86, 62.02 95.07 C 62.52 95.76, 69.35 103.85, 77.2 113.07 C 85.04 122.28, 91.63 130.04, 91.85 130.32 C 92.07 130.59, 92.5 131.34, 92.82 131.97 C 93.52 133.35, 94.11 133.93, 95.06 134.13 C 95.5 134.23, 98.97 134.26, 106.36 134.23 L 117.01 134.19 100.82 113.07 C 91.91 101.45, 84.52 91.78, 84.39 91.57 C 83.36 89.89, 83.66 87.53, 85.09 86 C 85.79 85.25, 86.36 84.94, 88.07 84.38 C 96.18 81.72, 104.15 76.62, 109.97 70.36 C 120.59 58.93, 124.06 44.32, 119.44 30.43 C 114.59 15.81, 101.93 4.02, 87.64 0.83 C 83.93 0.01, 88.09 0.08, 41.85 0.04 L 0.01 0 0.01 0.81 Z\";\n\nfunction RemocnLogo({ fontSize, color }: { fontSize: number; color: string }) {\n  return (\n    <div\n      style={{\n        display: \"flex\",\n        alignItems: \"baseline\",\n        color,\n        fontFamily: manrope.fontFamily,\n        fontWeight: 600,\n        fontSize,\n        letterSpacing: \"-0.025em\",\n        lineHeight: 1,\n      }}\n    >\n      <svg\n        viewBox=\"0 0 124.06 134.26\"\n        style={{ height: \"0.76em\", width: \"auto\" }}\n        aria-hidden\n      >\n        <path fill=\"currentColor\" d={REMOCN_R_PATH} />\n      </svg>\n      <span style={{ marginLeft: \"0.04em\" }}>emocn</span>\n    </div>\n  );\n}\n\nexport interface FigureReelsProps {\n  from?: number;\n  to?: number;\n  prefix?: string;\n  suffix?: string;\n  label?: string;\n  images?: string[];\n  accent?: string;\n  ink?: string;\n  background?: string;\n  theme?: \"dark\" | \"light\";\n  ground?: GshPresetId;\n  groundParams?: Partial<GradientParams>;\n}\n\nconst LIGHT_GROUND: Partial<GradientParams> = {\n  kind: \"mist\",\n  background: \"#f3f1f4\",\n  colors: [\"#e9defc\", \"#c9b8f2\", \"#f6d2c4\", \"#f3f1f4\"],\n  speed: 0.8,\n  loopSeconds: 14,\n  scale: 0.9,\n  warp: 0.45,\n  blur: 0.7,\n  grain: 0.2,\n  seed: 21,\n};\n\nconst THEMES = {\n  dark: {\n    ink: \"#f4f1fb\",\n    dim: \"rgba(244,241,251,0.6)\",\n    accent: \"#c6b4ff\",\n    ground: \"nightfold\" as GshPresetId | undefined,\n    groundParams: undefined as Partial<GradientParams> | undefined,\n    groundOffset: 4,\n    scrim: \"4,3,9\",\n    scrimAlpha: 0.45,\n    shade: \"4,3,9\",\n    tileShadow:\n      \"0 1px 2px rgba(0,0,0,0.35), 0 10px 24px rgba(0,0,0,0.35), 0 30px 60px rgba(0,0,0,0.35)\",\n    tileEdge: \"inset 0 0 0 1px rgba(255,255,255,0.1)\",\n  },\n  light: {\n    ink: \"#17141f\",\n    dim: \"rgba(23,20,31,0.55)\",\n    accent: \"#6a48e8\",\n    ground: undefined as GshPresetId | undefined,\n    groundParams: LIGHT_GROUND as Partial<GradientParams> | undefined,\n    groundOffset: 2,\n    scrim: \"243,241,244\",\n    scrimAlpha: 0.4,\n    shade: \"243,241,244\",\n    tileShadow:\n      \"0 1px 2px rgba(40,30,70,0.1), 0 10px 24px rgba(40,30,70,0.12), 0 30px 60px rgba(40,30,70,0.14)\",\n    tileEdge: \"inset 0 0 0 1px rgba(255,255,255,0.25)\",\n  },\n};\n\nconst DEFAULT_IMAGES = [\n  \"reel/reel-1.jpg\",\n  \"reel/reel-2.jpg\",\n  \"templates/launch-anything/horizon.jpg\",\n  \"templates/product-showcase/courtyard.jpg\",\n  \"reel/reel-4.jpg\",\n  \"reel/reel-5.jpg\",\n  \"reel/reel-6.jpg\",\n  \"reel/reel-3.jpg\",\n];\n\nconst BEAT = {\n  steps: [[8], [-3, 17], [-3, 11, 23], [-3, 9, 19, 27]],\n  stepLen: 7,\n  carry: 40,\n  carryStep: 2,\n  pull: 48,\n  reelSpin: 30,\n  reelStart: 22,\n  label: 69,\n  accentOut: 96,\n  step: 100,\n};\n\nconst FONT_PX = 200;\nconst ROLL = Easing.bezier(0.83, 0, 0.17, 1);\nconst LABEL_IN = Easing.bezier(0.32, 0.72, 0, 1);\nconst COLOR = Easing.bezier(0.65, 0, 0.35, 1);\nconst HEAVY = { mass: 1, damping: 26, stiffness: 120 };\nconst CARD = { mass: 0.8, damping: 18, stiffness: 160 };\nconst CHIP = { mass: 0.5, damping: 12, stiffness: 200 };\nconst REEL = { mass: 1.2, damping: 20, stiffness: 52 };\nconst CLAMP = {\n  extrapolateLeft: \"clamp\",\n  extrapolateRight: \"clamp\",\n} as const;\n\ninterface Metrics {\n  slot: number;\n  text: (s: string, weight: number) => number;\n}\n\nfunction buildMetrics(_version: number): Metrics {\n  const ctx = document.createElement(\"canvas\").getContext(\"2d\");\n  const cache: Record<string, number> = {};\n  const text = (s: string, weight: number) => {\n    const key = `${weight}|${s}`;\n    if (cache[key] === undefined) {\n      if (!ctx) return s.length * 0.55;\n      ctx.font = `${weight} ${FONT_PX}px \"${figtree.fontFamily}\"`;\n      cache[key] = ctx.measureText(s).width / FONT_PX;\n    }\n    return cache[key];\n  };\n  let slot = 0;\n  for (let d = 0; d < 10; d++) slot = Math.max(slot, text(String(d), 300));\n  return { slot, text };\n}\n\nfunction useMetrics() {\n  const [version, setVersion] = useState(0);\n  const [handle] = useState(() => delayRender(\"figure-reels: measuring\"));\n  const released = useRef(false);\n  useEffect(() => {\n    let live = true;\n    const bump = () => {\n      if (live) setVersion((v) => v + 1);\n    };\n    document.fonts.addEventListener(\"loadingdone\", bump);\n    Promise.all([\n      figtree.waitUntilDone(),\n      manrope.waitUntilDone(),\n      document.fonts.load(`300 100px \"${figtree.fontFamily}\"`),\n      document.fonts.load(`400 100px \"${figtree.fontFamily}\"`),\n    ])\n      .catch(() => undefined)\n      .then(() => {\n        bump();\n        if (!released.current) {\n          released.current = true;\n          continueRender(handle);\n        }\n      });\n    return () => {\n      live = false;\n      document.fonts.removeEventListener(\"loadingdone\", bump);\n    };\n  }, [handle]);\n  return useMemo(() => buildMetrics(version), [version]);\n}\n\nfunction BlurDefs({ items }: { items: { id: string; y: number }[] }) {\n  return (\n    <svg width=\"0\" height=\"0\" style={{ position: \"absolute\" }} aria-hidden>\n      {items.map((it) => (\n        <filter\n          key={it.id}\n          id={it.id}\n          x=\"-40%\"\n          y=\"-60%\"\n          width=\"180%\"\n          height=\"220%\"\n        >\n          <feGaussianBlur stdDeviation={`0 ${it.y.toFixed(2)}`} />\n        </filter>\n      ))}\n    </svg>\n  );\n}\n\nfunction colPos(v: number, k: number) {\n  const p = 10 ** k;\n  if (k === 0) return v;\n  const base = Math.floor(v / p);\n  const rem = v - base * p;\n  return base + Math.max(0, rem - (p - 1));\n}\n\nexport function FigureReels({\n  from = 396,\n  to = 400,\n  prefix = \"$\",\n  suffix = \"M\",\n  label = \"Announcing\",\n  images = DEFAULT_IMAGES,\n  accent,\n  ink,\n  background,\n  theme = \"dark\",\n  ground,\n  groundParams,\n}: FigureReelsProps) {\n  const frame = useCurrentFrame();\n  const { width: W, height: H, fps, durationInFrames } = useVideoConfig();\n  const c = THEMES[theme];\n  const inkC = ink ?? c.ink;\n  const hi = accent ?? c.accent;\n  const preset = ground ?? (groundParams ? undefined : c.ground);\n  const gParams = groundParams ?? (ground ? undefined : c.groundParams);\n  const bg = background ?? gshParams(preset, gParams).background;\n  const m = useMetrics();\n  const uid = useId().replace(/[^a-zA-Z0-9_-]/g, \"\");\n  const portrait = H > W * 1.1;\n\n  const target = Math.max(1, Math.round(to));\n  const start = Math.max(0, Math.min(target - 1, Math.round(from)));\n  const digits = String(target).length;\n  const grouped = digits > 4;\n\n  const range = target - 1 - start;\n  const nSteps = Math.min(BEAT.steps.length, range);\n  const weights = [0.5, 0.25, 0.15, 0.1].slice(0, nSteps);\n  const wSum = weights.reduce((a, b) => a + b, 0);\n  const deltas: number[] = [];\n  let left = range;\n  for (let i = 0; i < nSteps; i++) {\n    const d =\n      i === nSteps - 1\n        ? left\n        : range <= BEAT.steps.length\n          ? 1\n          : Math.max(1, Math.round((range * weights[i]) / wSum));\n    deltas.push(d);\n    left -= d;\n  }\n  const stepStarts = BEAT.steps[Math.max(0, nSteps - 1)];\n\n  const valueAt = (f: number, k: number) => {\n    let v = start;\n    for (let i = 0; i < nSteps; i++) {\n      v +=\n        deltas[i] *\n        interpolate(f, [stepStarts[i], stepStarts[i] + BEAT.stepLen], [0, 1], {\n          ...CLAMP,\n          easing: ROLL,\n        });\n    }\n    const carry = spring({\n      frame: f - BEAT.carry - k * BEAT.carryStep,\n      fps,\n      config: CHIP,\n    });\n    return v + carry;\n  };\n\n  const pool = images.length > 0 ? images : DEFAULT_IMAGES;\n  const topImgs = pool.filter((_, i) => i % 2 === 0);\n  const botImgs = pool.filter((_, i) => i % 2 === 1);\n  const src = (s: string) => (s.startsWith(\"http\") ? s : staticFile(s));\n\n  const blurItems: { id: string; y: number }[] = [];\n  let content: React.ReactNode = <div />;\n\n  if (m) {\n    const cx = W / 2;\n    const cy = H / 2;\n    const preW = prefix ? m.text(prefix, 300) : 0;\n    const sufW = suffix ? m.text(suffix, 300) : 0;\n    const sepW = m.text(\",\", 300) * 0.9;\n    const seps = grouped ? Math.floor((digits - 1) / 3) : 0;\n    const figEm = preW + sufW + digits * m.slot + seps * sepW;\n\n    const S = Math.min(\n      portrait ? W * 0.21 : H * 0.18,\n      (W * (portrait ? 0.8 : 0.5)) / figEm,\n    );\n    const FW = figEm * S;\n    const Zc = (W * (portrait ? 0.9 : 0.86)) / FW;\n    const lh = S * 1.06;\n\n    const tw = portrait\n      ? W * 0.66\n      : Math.max(W * 0.3, Math.min(W * 0.36, FW * 1.12));\n    const th = Math.min(tw * (portrait ? 0.68 : 0.5), portrait ? H : H * 0.27);\n    const e = S * 0.24;\n    const bandTop = cy - lh * 0.5 - S * 0.14 - e - S * 0.34;\n    const bandBot = cy + lh * 0.5 + S * 0.3;\n    const topCy = bandTop - th / 2;\n    const botCy = bandBot + th / 2;\n    const eyebrowCy = cy - lh * 0.5 - S * 0.14 - e / 2;\n\n    const pull = spring({ frame: frame - BEAT.pull, fps, config: HEAVY });\n    const pullPrev = spring({\n      frame: frame - 1 - BEAT.pull,\n      fps,\n      config: HEAVY,\n    });\n    const push = interpolate(frame, [0, durationInFrames], [1, 1.04], CLAMP);\n    const lnZ = Math.log(Zc) * (1 - pull);\n    const Z = Math.exp(lnZ) * push;\n    const zoomVel = Math.abs(Math.log(Zc) * (pull - pullPrev));\n    const zoomBlur = Math.min(6, zoomVel * 40);\n\n    const colorP =\n      interpolate(frame, [BEAT.carry, BEAT.carry + 6], [0, 1], {\n        ...CLAMP,\n        easing: COLOR,\n      }) *\n      (1 -\n        interpolate(frame, [BEAT.accentOut, BEAT.accentOut + 18], [0, 1], {\n          ...CLAMP,\n          easing: COLOR,\n        }));\n    const figColor = `color-mix(in oklab, ${hi} ${(colorP * 100).toFixed(1)}%, ${inkC})`;\n\n    const cells: React.ReactNode[] = [];\n    let x = cx - FW / 2;\n    const glyph = (s: string, w: number, key: string) => {\n      cells.push(\n        <div\n          key={key}\n          style={{\n            position: \"absolute\",\n            left: x,\n            top: cy - lh / 2,\n            width: w * S,\n            height: lh,\n            lineHeight: `${lh}px`,\n            fontSize: S,\n            textAlign: \"center\",\n          }}\n        >\n          {s}\n        </div>,\n      );\n      x += w * S;\n    };\n    if (prefix) glyph(prefix, preW, \"pre\");\n    for (let j = 0; j < digits; j++) {\n      const k = digits - 1 - j;\n      const p = colPos(valueAt(frame, k), k);\n      const pPrev = colPos(valueAt(frame - 1, k), k);\n      const vel = Math.abs(p - pPrev);\n      const blur = Math.min(lh * 0.1, vel * lh * 0.28);\n      const fid = `${uid}c${j}`;\n      blurItems.push({ id: fid, y: blur });\n      const base = Math.floor(p);\n      const leading = k > 0 && valueAt(frame, k) < 10 ** k;\n      const nodes: React.ReactNode[] = [];\n      const boxH = lh * 1.7;\n      const boxPad = (boxH - lh) / 2;\n      for (let q = base - 1; q <= base + 2; q++) {\n        const off = (q - p) * lh;\n        const d = ((q % 10) + 10) % 10;\n        nodes.push(\n          <div\n            key={q}\n            style={{\n              position: \"absolute\",\n              left: 0,\n              right: 0,\n              top: boxPad + off,\n              height: lh,\n              opacity:\n                (leading && d === 0 && q <= 0 ? 0 : 1) *\n                Math.max(0, Math.min(1, 1.15 - Math.abs(q - p) * 1.15)),\n            }}\n          >\n            {d}\n          </div>,\n        );\n      }\n      cells.push(\n        <div\n          key={`d${j}`}\n          style={{\n            position: \"absolute\",\n            left: x - m.slot * S * 0.3,\n            top: cy - boxH / 2,\n            width: m.slot * S * 1.6,\n            height: boxH,\n            lineHeight: `${lh}px`,\n            fontSize: S,\n            textAlign: \"center\",\n            WebkitMaskImage:\n              \"linear-gradient(180deg, transparent 4%, #000 26%, #000 74%, transparent 96%)\",\n            maskImage:\n              \"linear-gradient(180deg, transparent 4%, #000 26%, #000 74%, transparent 96%)\",\n          }}\n        >\n          <div\n            style={{\n              position: \"absolute\",\n              inset: 0,\n              filter: blur > 0.15 ? `url(#${fid})` : undefined,\n            }}\n          >\n            {nodes}\n          </div>\n        </div>,\n      );\n      x += m.slot * S;\n      if (grouped && k > 0 && k % 3 === 0) glyph(\",\", sepW, `s${j}`);\n    }\n    if (suffix) glyph(suffix, sufW, \"suf\");\n\n    const reelSpin = (f: number, delay: number) =>\n      spring({ frame: f - BEAT.reelStart - delay, fps, config: REEL });\n    const stepSpring = (f: number) =>\n      spring({ frame: f - BEAT.step, fps, config: CARD });\n    const reelPos = (f: number, delay: number) =>\n      -BEAT.reelSpin * 0.25 * (1 - reelSpin(f, delay)) + stepSpring(f);\n\n    const alpha = 32;\n    const R = th / (2 * Math.sin(((alpha / 2) * Math.PI) / 180));\n\n    const reach = 1 - Math.min(1, Math.max(0, pull));\n    const reelShift = reach * H * 0.55;\n    const reelOpacity = interpolate(pull, [0, 0.25], [0, 1], CLAMP);\n    const margin = S * 0.3;\n\n    const reel = (\n      imgs: string[],\n      ccy0: number,\n      dir: 1 | -1,\n      delay: number,\n      key: string,\n    ) => {\n      const ccy = ccy0 + dir * reelShift;\n      const s = reelPos(frame, delay);\n      const sPrev = reelPos(frame - 1, delay);\n      const vel = Math.abs(s - sPrev);\n      const blur = Math.min(th * 0.12, vel * th * 0.22);\n      const fid = `${uid}${key}`;\n      blurItems.push({ id: fid, y: blur });\n      const tiles: React.ReactNode[] = [];\n      const base = Math.floor(s);\n      for (let j = base - 4; j <= base + 4; j++) {\n        const theta = (j - s) * alpha * dir;\n        if (Math.abs(theta) > 84) continue;\n        const cosT = Math.cos((theta * Math.PI) / 180);\n        const figureSide = dir === -1 ? theta > 0 : theta < 0;\n        const sideFade = figureSide\n          ? Math.max(0, Math.min(1, 1 - (Math.abs(theta) / alpha - 0.3) / 0.45))\n          : 1;\n        const img = imgs[((j % imgs.length) + imgs.length) % imgs.length];\n        tiles.push(\n          <div\n            key={j}\n            style={{\n              position: \"absolute\",\n              inset: 0,\n              transform: `translateZ(${(-R).toFixed(2)}px) rotateX(${(-theta).toFixed(3)}deg) translateZ(${R.toFixed(2)}px)`,\n              backfaceVisibility: \"hidden\",\n              opacity: sideFade,\n              borderRadius: tw * 0.05,\n              overflow: \"hidden\",\n              boxShadow: `${c.tileShadow}, ${c.tileEdge}`,\n            }}\n          >\n            <Img\n              src={src(img)}\n              style={{\n                width: \"100%\",\n                height: \"100%\",\n                objectFit: \"cover\",\n                display: \"block\",\n              }}\n            />\n            <div\n              style={{\n                position: \"absolute\",\n                inset: 0,\n                background: `rgba(${c.shade},${Math.min(0.92, (1 - cosT) * 1.5).toFixed(3)})`,\n              }}\n            />\n          </div>,\n        );\n      }\n      return (\n        <div\n          key={key}\n          style={{\n            position: \"absolute\",\n            left: cx - tw / 2,\n            top: ccy - th / 2,\n            width: tw,\n            height: th,\n            opacity: reelOpacity,\n            filter: blur > 0.2 ? `url(#${fid})` : undefined,\n            clipPath:\n              dir === -1\n                ? `inset(-400% -40% ${(-margin).toFixed(1)}px -40%)`\n                : `inset(${(-margin).toFixed(1)}px -40% -400% -40%)`,\n          }}\n        >\n          <div\n            style={{\n              position: \"absolute\",\n              inset: 0,\n              perspective: R * 3.2,\n              transformStyle: \"preserve-3d\",\n            }}\n          >\n            {tiles}\n          </div>\n        </div>\n      );\n    };\n\n    const labelIn = interpolate(frame, [BEAT.label, BEAT.label + 15], [0, 1], {\n      ...CLAMP,\n      easing: LABEL_IN,\n    });\n    const logoIn = spring({ frame: frame - BEAT.label + 3, fps, config: CHIP });\n    const logoE = Math.min(1, Math.max(0, logoIn));\n    const labelPx = m.text(label, 400) * e;\n    const logoW = e * 3.9;\n    const gapL = e * 0.5;\n    const rowW = logoW + (label ? gapL + labelPx : 0);\n\n    const eyebrow = (\n      <div\n        style={{\n          position: \"absolute\",\n          left: cx - rowW / 2,\n          top: eyebrowCy - e / 2,\n          height: e,\n          display: \"flex\",\n          alignItems: \"center\",\n          gap: gapL,\n        }}\n      >\n        <div\n          style={{\n            opacity: logoE,\n            transform: `translateY(${((1 - logoIn) * e * 0.8).toFixed(2)}px) scale(${(0.8 + 0.2 * logoIn).toFixed(4)})`,\n          }}\n        >\n          <RemocnLogo fontSize={e} color={inkC} />\n        </div>\n        {label ? (\n          <div\n            style={{\n              clipPath: `inset(-20% ${((1 - labelIn) * 100).toFixed(2)}% -20% 0)`,\n              fontFamily: figtree.fontFamily,\n              fontWeight: 400,\n              fontSize: e,\n              lineHeight: 1,\n              letterSpacing: \"-0.005em\",\n              color: c.dim,\n              whiteSpace: \"pre\",\n              transform: `translateX(${((1 - labelIn) * -e * 0.8).toFixed(2)}px)`,\n            }}\n          >\n            {label}\n          </div>\n        ) : null}\n      </div>\n    );\n\n    content = (\n      <AbsoluteFill\n        style={{\n          filter: zoomBlur > 0.1 ? `blur(${zoomBlur.toFixed(2)}px)` : undefined,\n        }}\n      >\n        <div\n          style={{\n            position: \"absolute\",\n            left: 0,\n            top: 0,\n            width: W,\n            height: H,\n            transformOrigin: \"0 0\",\n            transform: `translate(${cx}px, ${cy}px) scale(${Z.toFixed(5)}) translate(${-cx}px, ${-cy}px)`,\n          }}\n        >\n          {reel(topImgs, topCy, -1, 0, \"rt\")}\n          {reel(botImgs, botCy, 1, 3, \"rb\")}\n          <div\n            style={{\n              position: \"absolute\",\n              inset: 0,\n              fontFamily: figtree.fontFamily,\n              fontWeight: 300,\n              letterSpacing: \"-0.02em\",\n              color: figColor,\n              fontVariantNumeric: \"tabular-nums\",\n            }}\n          >\n            {cells}\n          </div>\n          {eyebrow}\n        </div>\n      </AbsoluteFill>\n    );\n  }\n\n  return (\n    <AbsoluteFill style={{ background: bg, overflow: \"hidden\" }}>\n      <GshGround\n        preset={preset}\n        params={gParams}\n        timeOffset={c.groundOffset}\n        timeScale={0.6}\n      />\n      <AbsoluteFill\n        style={{\n          background: `radial-gradient(${portrait ? \"90% 50%\" : \"60% 70%\"} at 50% 50%, rgba(${c.scrim},${c.scrimAlpha}) 0%, rgba(${c.scrim},0) 100%)`,\n        }}\n      />\n      <BlurDefs items={blurItems} />\n      {content}\n    </AbsoluteFill>\n  );\n}\n\nexport default FigureReels;\n",
      "type": "registry:component",
      "target": "components/remocn/figure-reels.tsx"
    }
  ],
  "type": "registry:component"
}
