{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "light-signature",
  "title": "Light Signature",
  "description": "A red horizontal light streak flares as the remocn wordmark appears under 'The all-new'.",
  "dependencies": ["remotion", "@remotion/google-fonts"],
  "files": [
    {
      "path": "registry/remocn/light-signature/index.tsx",
      "content": "\"use client\";\n\nimport { loadFont as loadGeist } from \"@remotion/google-fonts/Geist\";\nimport { loadFont as loadGeistMono } from \"@remotion/google-fonts/GeistMono\";\nimport { loadFont as loadManrope } from \"@remotion/google-fonts/Manrope\";\nimport type React from \"react\";\nimport { useId } from \"react\";\nimport {\n  AbsoluteFill,\n  Easing,\n  interpolate,\n  interpolateColors,\n  useCurrentFrame,\n  useVideoConfig,\n} from \"remotion\";\n\nconst manrope = loadManrope(\"normal\", {\n  weights: [\"500\", \"600\"],\n  subsets: [\"latin\"],\n});\nconst geist = loadGeist(\"normal\", { weights: [\"400\"], subsets: [\"latin\"] });\nconst mono = loadGeistMono(\"normal\", { weights: [\"400\"], subsets: [\"latin\"] });\n\nexport interface LightSignatureProps {\n  eyebrow?: string;\n  name?: string;\n  logo?: React.ReactNode;\n  tagline?: string;\n  lightColor?: string;\n  accent?: string;\n  background?: string;\n  speed?: number;\n  theme?: \"dark\" | \"light\";\n}\n\nconst CHROME = [\"#e0202e\", \"#ffd6b8\", \"#4fe3f0\"] as const;\n\nconst PALETTES = {\n  dark: {\n    bg: \"#0A0A0B\",\n    fg: \"#F4F3F0\",\n    warm: CHROME[1],\n    hot: \"#fff6ee\",\n    unlit: \"#18171a\",\n    unlitEdge: \"rgba(255,255,255,0.07)\",\n    segOff: 0.12,\n    muted: \"#8E8D94\",\n    haze: 0.26,\n    grain: 0.06,\n  },\n  light: {\n    bg: \"#F5F4F0\",\n    fg: \"#121214\",\n    warm: \"#3a1c1c\",\n    hot: \"#ff5a3c\",\n    unlit: \"#E6E3DC\",\n    unlitEdge: \"rgba(0,0,0,0.04)\",\n    segOff: 0.14,\n    muted: \"#6E6C67\",\n    haze: 0.1,\n    grain: 0.035,\n  },\n} as const;\n\nconst EASE_OUT = Easing.bezier(0.22, 1, 0.36, 1);\nconst EASE_RETURN = Easing.bezier(0.5, 0, 0.3, 1);\nconst CLAMP = {\n  extrapolateLeft: \"clamp\",\n  extrapolateRight: \"clamp\",\n} as const;\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\nconst R_RATIO = 124.06 / 134.26;\nconst R_W = 0.76 * R_RATIO;\nconst R_GAP = 0.04;\n\nconst MANROPE_500 = [\n  200, 329, 417, 924, 602, 901, 657, 229, 435, 435, 446, 575, 278, 420, 270,\n  402, 626, 406, 578, 562, 596, 580, 621, 512, 591, 621, 314, 318, 622, 750,\n  622, 534, 907, 646, 619, 723, 681, 575, 510, 714, 697, 249, 476, 612, 518,\n  846, 696, 732, 616, 732, 640, 630, 600, 708, 616, 949, 622, 574, 630, 412,\n  402, 412, 673, 660, 506, 562, 600, 561, 600, 590, 362, 600, 604, 249, 263,\n  510, 249, 865, 604, 600, 600, 600, 374, 530, 412, 604, 523, 779, 536, 538,\n  531, 430, 269, 430, 680,\n];\nconst MANROPE_600 = [\n  200, 344, 442, 928, 615, 900, 662, 244, 444, 444, 456, 574, 290, 420, 286,\n  418, 642, 422, 587, 572, 602, 584, 622, 523, 602, 622, 328, 330, 630, 750,\n  630, 544, 910, 658, 625, 730, 690, 580, 516, 723, 710, 264, 488, 630, 526,\n  850, 706, 740, 627, 740, 650, 644, 604, 714, 628, 962, 639, 593, 647, 418,\n  418, 418, 676, 660, 522, 570, 608, 568, 608, 596, 370, 608, 615, 264, 276,\n  524, 264, 882, 615, 610, 608, 608, 386, 536, 422, 615, 538, 790, 545, 548,\n  532, 439, 284, 439, 698,\n];\nconst GEIST_400 = [\n  250, 213, 346, 478, 629, 802, 620, 178, 274, 274, 430, 558, 201, 419, 201,\n  480, 663, 384, 619, 613, 615, 626, 593, 524, 604, 593, 297, 297, 544, 540,\n  544, 559, 906, 668, 680, 703, 694, 603, 590, 700, 713, 270, 597, 640, 580,\n  877, 743, 739, 650, 733, 672, 640, 552, 689, 667, 945, 606, 576, 544, 347,\n  455, 347, 426, 557, 248, 551, 595, 546, 595, 561, 395, 594, 581, 244, 260,\n  590, 267, 877, 581, 573, 595, 595, 379, 520, 392, 575, 536, 819, 585, 537,\n  537, 389, 264, 389, 523,\n];\nconst MANROPE_BASELINE = 0.883;\n\nfunction adv(ch: string, table: number[]) {\n  const c = ch.charCodeAt(0);\n  return (c >= 32 && c <= 126 ? table[c - 32] : 600) / 1000;\n}\n\nfunction textEm(text: string, table: number[]) {\n  let w = 0;\n  for (const ch of text) w += adv(ch, table);\n  return w;\n}\n\nfunction Grain({ opacity }: { opacity: number }) {\n  const id = `g${useId().replace(/[^a-zA-Z0-9_-]/g, \"\")}`;\n  return (\n    <svg\n      width=\"100%\"\n      height=\"100%\"\n      style={{ position: \"absolute\", inset: 0, opacity, pointerEvents: \"none\" }}\n      aria-hidden\n    >\n      <filter id={id}>\n        <feTurbulence\n          type=\"fractalNoise\"\n          baseFrequency=\"0.9\"\n          numOctaves={2}\n          seed={11}\n          stitchTiles=\"stitch\"\n        />\n        <feColorMatrix values=\"0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0.9 0\" />\n      </filter>\n      <rect width=\"100%\" height=\"100%\" filter={`url(#${id})`} />\n    </svg>\n  );\n}\n\ntype Glyph = {\n  kind: \"r\" | \"logo\" | \"char\";\n  ch: string;\n  x: number;\n  w: number;\n};\n\nconst CHASE_START = 12;\nconst CHASE_LEN = 40;\nconst RETURN_START = 50;\nconst RETURN_LEN = 26;\n\nexport function LightSignature({\n  eyebrow = \"The all-new\",\n  name = \"remocn\",\n  logo,\n  tagline = \"Launch-video scenes, ready to render.\",\n  lightColor = CHROME[0],\n  accent = \"#3B5BFD\",\n  background,\n  speed = 1,\n  theme = \"dark\",\n}: LightSignatureProps) {\n  const frame = useCurrentFrame() * speed;\n  const { width, height } = useVideoConfig();\n  const p = PALETTES[theme];\n  const uid = useId().replace(/[^a-zA-Z0-9_-]/g, \"\");\n  const bloomId = `bl${uid}`;\n  const litId = `lt${uid}`;\n  const cometId = `cm${uid}`;\n\n  const portrait = height > width * 1.1;\n  const s = portrait\n    ? (width / 1280) * 1.5\n    : Math.min(width / 1280, height / 720);\n\n  const wordmark = logo === undefined && name.trim().toLowerCase() === \"remocn\";\n\n  const LS = wordmark ? -0.025 : -0.03;\n  const glyphs: Glyph[] = [];\n  let cursor = 0;\n  if (wordmark) {\n    glyphs.push({ kind: \"r\", ch: \"R\", x: 0, w: R_W });\n    cursor = R_W + R_GAP;\n    for (const ch of \"emocn\") {\n      const w = adv(ch, MANROPE_600);\n      glyphs.push({ kind: \"char\", ch, x: cursor, w });\n      cursor += w + LS;\n    }\n  } else {\n    if (logo) {\n      glyphs.push({ kind: \"logo\", ch: \"\", x: 0, w: 0.8 });\n      cursor = 0.8 + 0.18;\n    }\n    for (const ch of name) {\n      const w = adv(ch, MANROPE_500);\n      glyphs.push({ kind: \"char\", ch, x: cursor, w });\n      cursor += w + LS;\n    }\n  }\n  const lockupEm = Math.max(0.5, cursor - (glyphs.length > 0 ? LS : 0));\n  const maxW = width * (portrait ? 0.86 : 0.78);\n  const nameFs = Math.min((portrait ? 168 : 172) * s, maxW / lockupEm);\n  const lockupW = lockupEm * nameFs;\n  const lockupX = width / 2 - lockupW / 2;\n\n  const eyeFs = (portrait ? 24 : 18) * s;\n  const tagFs = (portrait ? 36 : 30) * s;\n  const tagMax = Math.min(width * 0.8, 960 * s);\n  const tagLines = tagline\n    ? Math.max(1, Math.ceil((textEm(tagline, GEIST_400) * tagFs) / tagMax))\n    : 0;\n  const tagH = tagLines * tagFs * 1.3;\n  const capEm = 0.76;\n  const eyeGap = nameFs * 0.3;\n  const lineGap = nameFs * 0.12;\n  const tagGap = Math.max(nameFs * 0.2, 26 * s);\n  const groupH =\n    (eyebrow ? eyeFs + eyeGap : 0) +\n    capEm * nameFs +\n    lineGap +\n    (tagline ? tagGap + tagH : 0);\n  const top = height / 2 - groupH / 2;\n  const baselineY = top + (eyebrow ? eyeFs + eyeGap : 0) + capEm * nameFs;\n  const lineY = baselineY + lineGap;\n  const eyeTop = baselineY - capEm * nameFs - eyeGap - eyeFs;\n  const tagTop = lineY + tagGap;\n\n  const cx = width / 2;\n  const D = width / 2;\n  const reach = D * 1.04;\n  const CHASE_POW = 1.8;\n  const chaseR = (f: number) =>\n    reach *\n    Math.min(1, Math.max(0, (f - CHASE_START) / CHASE_LEN)) ** CHASE_POW;\n  const hitTime = (d: number) =>\n    CHASE_START + CHASE_LEN * Math.min(1, d / reach) ** (1 / CHASE_POW);\n  const r = chaseR(frame);\n  const chasing = frame >= CHASE_START - 4 && frame < CHASE_START + CHASE_LEN;\n  const ignite = interpolate(\n    frame,\n    [CHASE_START - 4, CHASE_START + 2],\n    [0, 1],\n    {\n      ...CLAMP,\n      easing: EASE_OUT,\n    },\n  );\n  const returnQ = (f: number) =>\n    reach *\n    (1 -\n      EASE_RETURN(Math.min(1, Math.max(0, (f - RETURN_START) / RETURN_LEN))));\n  const q = returnQ(frame);\n  const passTime = (d: number) => {\n    let prevF = RETURN_START;\n    let prevQ = reach;\n    for (let f = RETURN_START + 1; f <= RETURN_START + RETURN_LEN; f++) {\n      const qf = returnQ(f);\n      if (qf <= d) return prevF + (prevQ - d) / Math.max(1e-6, prevQ - qf);\n      prevF = f;\n      prevQ = qf;\n    }\n    return RETURN_START + RETURN_LEN;\n  };\n  const returning = frame >= RETURN_START;\n\n  const pitch = Math.max(6, 11 * s);\n  const segOn = pitch * 0.62;\n  const lineH = Math.max(2, 3.5 * s);\n  const tail = 110 * s;\n  const nSeg = Math.ceil(D / pitch) + 1;\n\n  const finalLevel = (d: number) => {\n    const under = Math.exp(-((d / (lockupW * 0.75 + 1)) ** 2));\n    const edge = interpolate(d, [D * 0.82, D * 1.0], [1, 0.25], CLAMP);\n    return (0.5 + 0.28 * under) * edge;\n  };\n\n  const segLevel = (d: number) => {\n    let b = 0;\n    if (frame >= CHASE_START - 4) {\n      if (d <= 0.5 * pitch) {\n        const hold = interpolate(\n          frame,\n          [CHASE_START, CHASE_START + 10],\n          [1, 0],\n          CLAMP,\n        );\n        b = Math.max(b, ignite * hold);\n      }\n      if (r >= d) {\n        const behind = r - d;\n        b = Math.max(b, 0.42 + 0.58 * Math.exp(-behind / tail));\n        if (!chasing) b = Math.max(b, 0.42);\n      } else if (chasing) {\n        b = Math.max(b, 0.9 * Math.exp(-(d - r) / (8 * s)));\n      }\n    }\n    let merge = 0;\n    if (returning && q <= d) {\n      const since = frame - passTime(d);\n      merge = interpolate(since, [0, 9], [0, 1], {\n        ...CLAMP,\n        easing: EASE_OUT,\n      });\n      const lvl = finalLevel(d);\n      const flash = 0.45 * Math.exp(-since / 3.5);\n      b = b + (lvl - b) * merge + flash;\n    }\n    return { b: Math.min(1.25, b), merge };\n  };\n\n  const levelColor = (b: number) =>\n    interpolateColors(\n      Math.min(1, b),\n      [0, 0.45, 0.85, 1],\n      theme === \"dark\"\n        ? [lightColor, lightColor, CHROME[1], p.hot]\n        : [lightColor, lightColor, lightColor, p.hot],\n    );\n\n  const segments: React.ReactNode[] = [];\n  for (let i = -nSeg; i <= nSeg; i++) {\n    const xc = cx + i * pitch;\n    if (xc < -pitch || xc > width + pitch) continue;\n    const d = Math.abs(i * pitch);\n    const { b, merge } = segLevel(d);\n    const len = segOn + (pitch - segOn + 0.6) * merge;\n    const lit = Math.min(1, b);\n    segments.push(\n      <rect\n        key={i}\n        x={xc - len / 2}\n        y={lineY - lineH / 2}\n        width={len}\n        height={lineH}\n        rx={merge > 0.98 ? 0 : lineH / 2}\n        fill={b <= 0.001 ? lightColor : levelColor(b)}\n        opacity={b <= 0.001 ? p.segOff : p.segOff + (1 - p.segOff) * lit}\n      />,\n    );\n  }\n\n  const heads: React.ReactNode[] = [];\n  if (chasing && frame >= CHASE_START) {\n    const fade = interpolate(\n      frame,\n      [CHASE_START + CHASE_LEN - 6, CHASE_START + CHASE_LEN],\n      [1, 0],\n      CLAMP,\n    );\n    const v = Math.max(0, chaseR(frame) - chaseR(frame - 1));\n    const streak = Math.min(220 * s, 26 * s + v * 2.2);\n    for (const dir of [-1, 1]) {\n      const hx = cx + dir * r;\n      heads.push(\n        <g key={dir} opacity={fade}>\n          <rect\n            x={dir > 0 ? hx - streak : hx}\n            y={lineY - lineH * 0.6}\n            width={streak}\n            height={lineH * 1.2}\n            fill={`url(#${cometId}${dir > 0 ? \"r\" : \"l\"})`}\n          />\n          <circle cx={hx} cy={lineY} r={lineH * 1.05} fill={p.hot} />\n        </g>,\n      );\n    }\n  }\n\n  const letterState = (g: Glyph) => {\n    const gx = lockupX + (g.x + g.w / 2) * nameFs;\n    const t0 = hitTime(Math.abs(gx - cx));\n    const fill = interpolate(frame, [t0 - 1, t0 + 6], [0, 1], {\n      ...CLAMP,\n      easing: EASE_OUT,\n    });\n    const flash = interpolate(frame, [t0, t0 + 4, t0 + 18], [0, 1, 0], CLAMP);\n    const tR = RETURN_START + RETURN_LEN * 0.8;\n    const pulse = interpolate(\n      frame,\n      [tR, tR + 4, tR + 16],\n      [0, 0.35, 0],\n      CLAMP,\n    );\n    return { fill, flash: Math.max(flash, pulse) };\n  };\n\n  const litFill =\n    theme === \"dark\"\n      ? `linear-gradient(0deg, ${p.warm} 0%, ${p.hot} 22%, ${p.fg} 62%)`\n      : `linear-gradient(0deg, ${p.warm} 0%, ${p.fg} 40%)`;\n\n  const eyeIn = interpolate(frame, [58, 82], [0, 1], {\n    ...CLAMP,\n    easing: EASE_OUT,\n  });\n  const tagIn = interpolate(frame, [64, 90], [0, 1], {\n    ...CLAMP,\n    easing: EASE_OUT,\n  });\n  const settle = interpolate(frame, [0, 110], [1.04, 1], {\n    ...CLAMP,\n    easing: EASE_OUT,\n  });\n\n  const hazeLevel = returning\n    ? interpolate(frame, [RETURN_START, RETURN_START + RETURN_LEN], [0.55, 1], {\n        ...CLAMP,\n        easing: EASE_OUT,\n      })\n    : interpolate(r, [0, D], [0.15, 0.55], CLAMP) * ignite;\n\n  const transparent = background === \"transparent\";\n  const bg = transparent ? \"transparent\" : (background ?? p.bg);\n\n  return (\n    <AbsoluteFill style={{ background: bg, overflow: \"hidden\" }}>\n      {!transparent ? (\n        <div\n          style={{\n            position: \"absolute\",\n            inset: 0,\n            opacity: hazeLevel,\n            background: [\n              `radial-gradient(${width * 0.62}px ${height * 0.16}px at 50% ${lineY}px, color-mix(in oklab, ${lightColor} ${Math.round(p.haze * 100)}%, transparent) 0%, transparent 100%)`,\n              `radial-gradient(${width * 0.9}px ${height * 0.5}px at 50% ${lineY}px, color-mix(in oklab, ${lightColor} ${Math.round(p.haze * 30)}%, transparent) 0%, transparent 100%)`,\n            ].join(\", \"),\n          }}\n        />\n      ) : null}\n\n      <div\n        style={{\n          position: \"absolute\",\n          inset: 0,\n          transform: `scale(${settle})`,\n          transformOrigin: `50% ${(lineY / height) * 100}%`,\n        }}\n      >\n        {eyebrow ? (\n          <div\n            style={{\n              position: \"absolute\",\n              left: 0,\n              right: 0,\n              top: eyeTop,\n              height: eyeFs,\n              display: \"flex\",\n              justifyContent: \"center\",\n              alignItems: \"center\",\n              gap: eyeFs * 0.7,\n              opacity: eyeIn,\n            }}\n          >\n            <div\n              style={{\n                width: eyeFs * 0.36,\n                height: eyeFs * 0.36,\n                borderRadius: 1,\n                background: accent,\n                transform: `scale(${0.4 + 0.6 * eyeIn})`,\n              }}\n            />\n            <span\n              style={{\n                fontFamily: mono.fontFamily,\n                fontWeight: 400,\n                fontSize: eyeFs,\n                lineHeight: 1,\n                textTransform: \"uppercase\",\n                letterSpacing: `${interpolate(eyeIn, [0, 1], [0.5, 0.22])}em`,\n                marginRight: \"-0.22em\",\n                color: p.muted,\n                whiteSpace: \"nowrap\",\n              }}\n            >\n              {eyebrow}\n            </span>\n          </div>\n        ) : null}\n\n        {glyphs.map((g, i) => {\n          const { fill, flash } = letterState(g);\n          const left = lockupX + g.x * nameFs;\n          const clipTop = `${(1 - fill) * 100}%`;\n          const glow =\n            flash > 0.01\n              ? `drop-shadow(0 0 ${14 * s * flash}px color-mix(in oklab, ${lightColor} ${Math.round((theme === \"dark\" ? 70 : 30) * flash)}%, transparent))`\n              : \"none\";\n          const flashColor = theme === \"dark\" ? p.hot : lightColor;\n          const renderGlyph = (lit: boolean) => {\n            if (g.kind === \"r\") {\n              return (\n                <svg\n                  viewBox=\"0 0 124.06 134.26\"\n                  width={R_W * nameFs}\n                  height={0.76 * nameFs}\n                  style={{ display: \"block\" }}\n                  aria-hidden\n                >\n                  {lit ? (\n                    <defs>\n                      <linearGradient\n                        id={`${litId}r`}\n                        x1=\"0\"\n                        x2=\"0\"\n                        y1=\"1\"\n                        y2=\"0\"\n                      >\n                        {theme === \"dark\" ? (\n                          <>\n                            <stop offset=\"0\" stopColor={p.warm} />\n                            <stop offset=\"0.22\" stopColor={p.hot} />\n                            <stop offset=\"0.62\" stopColor={p.fg} />\n                          </>\n                        ) : (\n                          <>\n                            <stop offset=\"0\" stopColor={p.warm} />\n                            <stop offset=\"0.4\" stopColor={p.fg} />\n                          </>\n                        )}\n                      </linearGradient>\n                    </defs>\n                  ) : null}\n                  <path\n                    d={REMOCN_R_PATH}\n                    fill={lit ? `url(#${litId}r)` : p.unlit}\n                    stroke={lit ? \"none\" : p.unlitEdge}\n                    strokeWidth={lit ? 0 : 1.2}\n                  />\n                </svg>\n              );\n            }\n            if (g.kind === \"logo\") {\n              return (\n                <div\n                  style={{\n                    width: 0.8 * nameFs,\n                    height: 0.76 * nameFs,\n                    display: \"flex\",\n                    alignItems: \"center\",\n                    justifyContent: \"center\",\n                    opacity: lit ? 1 : 0.18,\n                  }}\n                >\n                  {logo}\n                </div>\n              );\n            }\n            return (\n              <span\n                style={{\n                  display: \"block\",\n                  fontFamily: manrope.fontFamily,\n                  fontWeight: wordmark ? 600 : 500,\n                  fontSize: nameFs,\n                  lineHeight: 1,\n                  whiteSpace: \"pre\",\n                  ...(lit\n                    ? {\n                        backgroundImage: litFill,\n                        WebkitBackgroundClip: \"text\",\n                        backgroundClip: \"text\",\n                        color: \"transparent\",\n                      }\n                    : {\n                        color: p.unlit,\n                        WebkitTextStroke: `1px ${p.unlitEdge}`,\n                      }),\n                }}\n              >\n                {g.ch}\n              </span>\n            );\n          };\n          const glyphTop =\n            g.kind === \"char\"\n              ? baselineY - MANROPE_BASELINE * nameFs\n              : baselineY - 0.76 * nameFs;\n          return (\n            <div key={i} style={{ position: \"absolute\", left, top: glyphTop }}>\n              <div style={{ position: \"relative\" }}>{renderGlyph(false)}</div>\n              {fill > 0 ? (\n                <div\n                  style={{\n                    position: \"absolute\",\n                    inset: 0,\n                    clipPath: `inset(${clipTop} -20% -20% -20%)`,\n                    filter: glow,\n                  }}\n                >\n                  {renderGlyph(true)}\n                  {flash > 0.01 && g.kind !== \"logo\" ? (\n                    <div\n                      style={{\n                        position: \"absolute\",\n                        inset: 0,\n                        opacity: flash * 0.85,\n                        mixBlendMode: theme === \"dark\" ? \"screen\" : \"normal\",\n                      }}\n                    >\n                      {g.kind === \"r\" ? (\n                        <svg\n                          viewBox=\"0 0 124.06 134.26\"\n                          width={R_W * nameFs}\n                          height={0.76 * nameFs}\n                          style={{ display: \"block\" }}\n                          aria-hidden\n                        >\n                          <path d={REMOCN_R_PATH} fill={flashColor} />\n                        </svg>\n                      ) : (\n                        <span\n                          style={{\n                            display: \"block\",\n                            fontFamily: manrope.fontFamily,\n                            fontWeight: wordmark ? 600 : 500,\n                            fontSize: nameFs,\n                            lineHeight: 1,\n                            whiteSpace: \"pre\",\n                            color: flashColor,\n                          }}\n                        >\n                          {g.ch}\n                        </span>\n                      )}\n                    </div>\n                  ) : null}\n                </div>\n              ) : null}\n            </div>\n          );\n        })}\n\n        <svg\n          width={width}\n          height={height}\n          style={{ position: \"absolute\", inset: 0, overflow: \"visible\" }}\n          aria-hidden\n        >\n          <defs>\n            <filter id={bloomId} x=\"-10%\" y=\"-400%\" width=\"120%\" height=\"900%\">\n              <feGaussianBlur stdDeviation={6 * s} />\n            </filter>\n            {[\n              [\"r\", 0, 1],\n              [\"l\", 1, 0],\n            ].map(([k, a, b]) => (\n              <linearGradient\n                key={k}\n                id={`${cometId}${k}`}\n                x1={a}\n                x2={b}\n                y1=\"0\"\n                y2=\"0\"\n              >\n                <stop offset=\"0\" stopColor={lightColor} stopOpacity={0} />\n                <stop offset=\"0.7\" stopColor={lightColor} stopOpacity={0.9} />\n                <stop offset=\"1\" stopColor={p.hot} stopOpacity={1} />\n              </linearGradient>\n            ))}\n          </defs>\n          {theme === \"dark\" ? (\n            <g filter={`url(#${bloomId})`} opacity={0.85}>\n              {segments}\n              {heads}\n            </g>\n          ) : null}\n          <g>{segments}</g>\n          <g opacity={theme === \"dark\" ? 1 : 0.6}>{heads}</g>\n        </svg>\n\n        {tagline ? (\n          <div\n            style={{\n              position: \"absolute\",\n              left: (width - tagMax) / 2,\n              width: tagMax,\n              top: lineY + lineH,\n              height: tagTop - lineY - lineH + tagH + tagFs * 0.3,\n              overflow: \"hidden\",\n            }}\n          >\n            <div\n              style={{\n                position: \"absolute\",\n                left: 0,\n                right: 0,\n                top: tagTop - lineY - lineH,\n                transform: `translateY(${-(1 - tagIn) * (tagGap + tagH)}px)`,\n                opacity: interpolate(tagIn, [0, 0.4], [0, 1], CLAMP),\n                textAlign: \"center\",\n                textWrap: \"balance\",\n                fontFamily: geist.fontFamily,\n                fontWeight: 400,\n                fontSize: tagFs,\n                lineHeight: 1.3,\n                letterSpacing: \"-0.01em\",\n                color: p.muted,\n              }}\n            >\n              {tagline}\n            </div>\n          </div>\n        ) : null}\n      </div>\n\n      {!transparent ? <Grain opacity={p.grain} /> : null}\n    </AbsoluteFill>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/light-signature.tsx"
    }
  ],
  "type": "registry:component"
}
