{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "What HeroSplit shows under the lead: three figures in cards, a row of faces with a proof line, two small feature cards, or a quote with its author over three figures.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{* Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/hero-split-extras.json\n    What HeroSplit shows under the lead: three figures in cards, a row of faces with a proof line, two small feature cards, or a quote with its author over three figures.\n    Props (p): content, extra. *}\n{var $v_content = ($p['content'] ?? null)}\n{var $v_extra = ($p['extra'] ?? 'none')}\n{if og_t(og_and([og_eq($v_extra, 'stats'), og_gt(og_len(og_get($v_content, ['stats'])), 0)]))}\n  {capture $c_4}\n    {foreach og_l(og_get($v_content, ['stats'])) as $v_s}\n      {var $v_i = $iterator->counter0}\n      {if og_t(og_lt($v_i, 3))}\n        {capture $c_3}\n          {capture $c_1}\n            {=og_text(og_get($v_s, ['value']))}\n          {/capture}\n          {=og_include('compose/Text.latte', ['size' => '2xl', 'weight' => 'semibold', 'children' => (string) $c_1])|noescape}\n          {capture $c_2}\n            {=og_text(og_get($v_s, ['label']))}\n          {/capture}\n          {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n        {/capture}\n        {=og_include('compose/Stack.latte', ['gap' => '0', 'class' => 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs' => og_attrs(['data-slot', 'hero-stat']), 'children' => (string) $c_3])|noescape}\n      {/if}\n    {/foreach}\n  {/capture}\n  {=og_include('compose/Box.latte', ['class' => 'grid grid-cols-3 gap-4', 'attrs' => og_attrs(['data-slot', 'hero-stats']), 'children' => (string) $c_4])|noescape}\n{/if}\n{if og_t(og_and([og_eq($v_extra, 'avatars'), og_gt(og_len(og_get($v_content, ['people'])), 0)]))}\n  {capture $c_7}\n    {capture $c_5}\n      {foreach og_l(og_get($v_content, ['people'])) as $v_p}\n        {var $v_i = $iterator->counter0}\n        {if og_t(og_lt($v_i, 4))}\n          {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_get($v_p, ['author']), 'src' => og_get($v_p, ['image']), 'ratio' => '1/1', 'className' => og_cnv(['size-10 shrink-0 rounded-full'])]])|noescape}\n        {/if}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'center', 'children' => (string) $c_5])|noescape}\n    {capture $c_6}\n      {=og_text(og_get($v_content, ['proof']))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_6])|noescape}\n  {/capture}\n  {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'center', 'class' => 'flex-wrap', 'attrs' => og_attrs(['data-slot', 'hero-proof']), 'children' => (string) $c_7])|noescape}\n{/if}\n{if og_t(og_and([og_eq($v_extra, 'minis'), og_gt(og_len(og_get($v_content, ['features'])), 0)]))}\n  {capture $c_13}\n    {foreach og_l(og_get($v_content, ['features'])) as $v_f}\n      {var $v_i = $iterator->counter0}\n      {if og_t(og_lt($v_i, 2))}\n        {capture $c_12}\n          {capture $c_8}\n            {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_f, ['icon'])), 'size' => 20])|noescape}\n          {/capture}\n          {=og_include('compose/Box.latte', ['class' => 'flex size-10 shrink-0 items-center justify-center rounded bg-muted', 'children' => (string) $c_8])|noescape}\n          {capture $c_11}\n            {capture $c_9}\n              {=og_text(og_get($v_f, ['title']))}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_9])|noescape}\n            {capture $c_10}\n              {=og_text(og_get($v_f, ['text']))}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_10])|noescape}\n          {/capture}\n          {=og_include('compose/Stack.latte', ['gap' => '0', 'children' => (string) $c_11])|noescape}\n        {/capture}\n        {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'start', 'class' => 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs' => og_attrs(['data-slot', 'hero-mini']), 'children' => (string) $c_12])|noescape}\n      {/if}\n    {/foreach}\n  {/capture}\n  {=og_include('compose/Box.latte', ['class' => 'grid grid-cols-1 gap-4 sm:grid-cols-2', 'attrs' => og_attrs(['data-slot', 'hero-minis']), 'children' => (string) $c_13])|noescape}\n{/if}\n{if og_t(og_and([og_eq($v_extra, 'quote'), og_gt(og_len(og_get($v_content, ['people'])), 0)]))}\n  {capture $c_24}\n    {foreach og_l(og_get($v_content, ['people'])) as $v_p}\n      {var $v_i = $iterator->counter0}\n      {if og_t(og_lt($v_i, 1))}\n        {capture $c_19}\n          {capture $c_14}\n            {=og_text(og_get($v_p, ['quote']))}\n          {/capture}\n          {=og_include('compose/Text.latte', ['tag' => 'blockquote', 'class' => 'text-lg font-medium', 'children' => (string) $c_14])|noescape}\n          {capture $c_18}\n            {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_get($v_p, ['author']), 'src' => og_get($v_p, ['image']), 'ratio' => '1/1', 'className' => og_cnv(['size-10 shrink-0 rounded-full'])]])|noescape}\n            {capture $c_17}\n              {capture $c_15}\n                {=og_text(og_get($v_p, ['author']))}\n              {/capture}\n              {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_15])|noescape}\n              {capture $c_16}\n                {=og_text(og_get($v_p, ['role']))}\n              {/capture}\n              {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_16])|noescape}\n            {/capture}\n            {=og_include('compose/Stack.latte', ['gap' => '0', 'children' => (string) $c_17])|noescape}\n          {/capture}\n          {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'center', 'children' => (string) $c_18])|noescape}\n        {/capture}\n        {=og_include('blocks/figure-block.latte', ['p' => ['className' => og_cnv(['flex flex-col gap-4']), 'testid' => 'hero-quote'], 'children' => og_markup($c_19)])|noescape}\n      {/if}\n    {/foreach}\n    {capture $c_23}\n      {foreach og_l(og_get($v_content, ['stats'])) as $v_s}\n        {var $v_i = $iterator->counter0}\n        {if og_t(og_lt($v_i, 3))}\n          {capture $c_22}\n            {capture $c_20}\n              {=og_text(og_get($v_s, ['value']))}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => '2xl', 'weight' => 'semibold', 'children' => (string) $c_20])|noescape}\n            {capture $c_21}\n              {=og_text(og_get($v_s, ['label']))}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_21])|noescape}\n          {/capture}\n          {=og_include('compose/Stack.latte', ['gap' => '0', 'class' => 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs' => og_attrs(['data-slot', 'hero-stat']), 'children' => (string) $c_22])|noescape}\n        {/if}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/Box.latte', ['class' => 'grid grid-cols-3 gap-4', 'attrs' => og_attrs(['data-slot', 'hero-stats']), 'children' => (string) $c_23])|noescape}\n  {/capture}\n  {=og_include('compose/Stack.latte', ['gap' => '6', 'align' => 'stretch', 'attrs' => og_attrs(['data-slot', 'hero-split-extras']), 'children' => (string) $c_24])|noescape}\n{/if}\n",
      "path": "blocks/hero-split-extras.latte",
      "target": "blocks/hero-split-extras.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "hero-split-extras",
  "registryDependencies": [
    "box",
    "figure-block",
    "group",
    "lucide-icon",
    "media-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Hero Split Extras",
  "type": "registry:component"
}
