{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "One quote beside a picture, a rating panel or over logo tiles; stacked quotes beside a picture; four compact quotes; figures over a featured quote and a stack.",
  "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/quote-split.json\n    Testimonials in a split or with figures. Axes: layout (media: one quote card and an action beside a picture, logos: one quote over four logo tiles beside a picture, rating: one quote beside a rating panel, stack: three stacked quote cards beside a picture, compact: four short quote cards in a row, bento: figures over a featured quote beside a stack), mediaSide, tone.\n    Props (p): id, title, lead, badge, quotes, labels, extras, actions, layout, mediaSide, tone, empty, image, imageAlt, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_lead = (p.lead ?? '') -%}\n{%- set v_badge = (p.badge ?? '') -%}\n{%- set v_quotes = (p.quotes ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set v_extras = (p.extras ?? null) -%}\n{%- set v_actions = (p.actions ?? null) -%}\n{%- set v_layout = (p.layout ?? 'media') -%}\n{%- set v_mediaSide = (p.mediaSide ?? 'end') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_empty = (p.empty ?? '') -%}\n{%- set v_image = (p.image ?? null) -%}\n{%- set v_imageAlt = (p.imageAlt ?? null) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- if og_t(og_eq(og_len(v_quotes), 0)) %}\n  {%- set c_1 -%}\n    {{ include('blocks/empty-state.html.twig', {'p': {'icon': 'quote', 'title': v_empty}}, with_context = false) }}\n  {%- endset -%}\n  {{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'lead': v_lead, 'heading': {'badge': v_badge}, 'tone': v_tone, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_1)}, with_context = false) }}\n{%- elseif og_t(og_or([og_eq(v_layout, 'compact'), og_eq(v_layout, 'bento')])) %}\n  {%- set c_3 -%}\n    {%- if og_t(og_eq(v_layout, 'bento')) %}\n      {{ include('blocks/quote-figures.html.twig', {'p': {'extras': v_extras}}, with_context = false) }}\n    {%- endif %}\n    {%- set c_2 -%}\n      {%- for v_q in og_l(v_quotes) %}\n        {%- set v_i = loop.index0 -%}\n        {{ include('blocks/quote-slot.html.twig', {'p': {'q': v_q, 'labels': v_labels, 'layout': (og_t(og_and([og_eq(v_layout, 'bento'), og_eq(v_i, 0)])) ? 'single' : 'grid'), 'className': og_cnv([(og_t(og_and([og_eq(v_layout, 'bento'), og_eq(v_i, 0)])) ? 'lg:row-span-3' : '')])}}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Box.html.twig', {'class': og_s((og_t(og_eq(v_layout, 'bento')) ? 'grid grid-cols-1 gap-4 lg:grid-cols-2' : 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4')), 'children': c_2}, with_context = false) }}\n  {%- endset -%}\n  {{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'lead': v_lead, 'heading': {'badge': v_badge}, 'tone': v_tone, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_3)}, with_context = false) }}\n{%- else %}\n  {%- set f_5 -%}\n    {%- if og_t(og_eq(v_layout, 'rating')) %}\n      {{ include('blocks/quote-rating-panel.html.twig', {'p': {'extras': v_extras, 'labels': v_labels}}, with_context = false) }}\n    {%- else %}\n      {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_title), 'src': v_image, 'ratio': '4/3'}}, with_context = false) }}\n    {%- endif %}\n  {%- endset -%}\n  {%- set c_6 -%}\n    {%- if og_t(og_or([og_eq(v_layout, 'media'), og_eq(v_layout, 'logos'), og_eq(v_layout, 'rating')])) %}\n      {%- for v_q in og_l(v_quotes) %}\n        {%- set v_i = loop.index0 -%}\n        {%- if og_t(og_lt(v_i, 1)) %}\n          {{ include('blocks/quote-slot.html.twig', {'p': {'q': v_q, 'labels': v_labels, 'kind': (og_t(og_eq(v_layout, 'media')) ? 'card' : 'plain'), 'layout': 'single', 'className': og_cnv([''])}}, with_context = false) }}\n        {%- endif %}\n      {%- endfor %}\n    {%- endif %}\n    {%- if og_t(og_eq(v_layout, 'logos')) %}\n      {{ include('blocks/quote-logo-tiles.html.twig', {'p': {'extras': v_extras}}, with_context = false) }}\n    {%- endif %}\n    {%- if og_t(og_eq(v_layout, 'stack')) %}\n      {%- set c_4 -%}\n        {%- for v_q in og_l(v_quotes) %}\n          {%- set v_i = loop.index0 -%}\n          {%- if og_t(og_lt(v_i, 3)) %}\n            {{ include('blocks/quote-slot.html.twig', {'p': {'q': v_q, 'labels': v_labels, 'layout': 'stack', 'className': og_cnv([''])}}, with_context = false) }}\n          {%- endif %}\n        {%- endfor %}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'children': c_4}, with_context = false) }}\n    {%- endif %}\n    {%- if og_t(og_or([og_eq(v_layout, 'media'), og_eq(v_layout, 'logos'), og_eq(v_layout, 'rating')])) %}\n      {{ include('blocks/action-group.html.twig', {'p': {'primary': og_get(v_actions, ['cta']), 'primaryHref': og_get(v_actions, ['href']), 'secondary': (og_t(og_eq(og_get(v_actions, ['mode']), 'two')) ? og_get(v_actions, ['secondary']) : null), 'secondaryHref': og_get(v_actions, ['secondaryHref'])}}, with_context = false) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'lead': v_lead, 'heading': {'badge': v_badge}, 'tone': v_tone, 'layout': 'split', 'media': {'show': true, 'side': v_mediaSide}, 'landmarkLabel': v_landmarkLabel, 'aside': og_markup(f_5)}, 'children': og_markup(c_6)}, with_context = false) }}\n{%- endif %}\n",
      "path": "blocks/quote-split.html.twig",
      "target": "blocks/quote-split.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "proof",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "quote-split",
  "registryDependencies": [
    "action-group",
    "box",
    "empty-state",
    "media-frame",
    "quote-figures",
    "quote-logo-tiles",
    "quote-rating-panel",
    "quote-slot",
    "section-frame",
    "stack",
    "utils"
  ],
  "runtime": "twig",
  "title": "Quote Split",
  "type": "registry:block"
}
