{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Sign in, sign up and reset password.",
  "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/auth-card.json\n    A sign-in, sign-up or password reset card: heading, one sentence, the fields of the mode, a submit button, optional alternative sign-in buttons and a link to the other mode. Axes: mode (signin, signup, reset), layout (card, plain), social (none, show).\n    Props (p): id, title, text, submit, switchText, switchLink, switchHref, labels, mode, layout, social, level, landmarkLabel. -#}\n{%- set v_id = og_def(p['id'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_text = og_def(p['text'], none) -%}\n{%- set v_submit = og_def(p['submit'], none) -%}\n{%- set v_switchText = og_def(p['switchText'], none) -%}\n{%- set v_switchLink = og_def(p['switchLink'], none) -%}\n{%- set v_switchHref = og_def(p['switchHref'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set v_mode = og_def(p['mode'], 'signin') -%}\n{%- set v_layout = og_def(p['layout'], 'card') -%}\n{%- set v_social = og_def(p['social'], 'none') -%}\n{%- set v_level = og_def(p['level'], 2) -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set c_16 -%}\n  {%- set c_3 -%}\n    {%- set c_1 -%}\n      {{ og_text(v_title) }}\n    {%- endset -%}\n    {{ og_include('compose/title.html.j2', {'p': {'As': og_i(v_level), 'Size': '2xl', 'Weight': 'bold', 'Attrs': og_attrs(['id', og_tpl('{0}-title', [v_id])])}, 'children': c_1}) }}\n    {%- set c_2 -%}\n      {{ og_text(v_text) }}\n    {%- endset -%}\n    {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_2}) }}\n  {%- endset -%}\n  {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2'}, 'children': c_3}) }}\n  {%- if og_t(og_and([og_eq(v_social, 'first'), not (og_eq(v_social, 'none')), not (og_eq(v_mode, 'reset')), not (og_eq(v_mode, 'magic'))])) %}\n    {%- set c_8 -%}\n      {%- set c_5 -%}\n        {{ og_include('compose/separator.html.j2', {'p': {'Class': 'flex-1'}}) }}\n        {%- set c_4 -%}\n          {{ og_text(og_get(v_labels, ['divider'])) }}\n        {%- endset -%}\n        {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_4}) }}\n        {{ og_include('compose/separator.html.j2', {'p': {'Class': 'flex-1'}}) }}\n      {%- endset -%}\n      {{ og_include('compose/group.html.j2', {'p': {'Gap': '4', 'Align': 'center'}, 'children': c_5}) }}\n      {%- set c_6 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'key-round', 'Size': 16}}) }}\n        {{ og_text(og_get(v_labels, ['passkey'])) }}\n      {%- endset -%}\n      {{ og_include('compose/button.html.j2', {'p': {'Variant': 'outline', 'Size': 'default', 'Type': 'button', 'Class': 'w-full'}, 'children': c_6}) }}\n      {%- set c_7 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'mail', 'Size': 16}}) }}\n        {{ og_text(og_get(v_labels, ['magic'])) }}\n      {%- endset -%}\n      {{ og_include('compose/button.html.j2', {'p': {'Variant': 'outline', 'Size': 'default', 'Type': 'button', 'Class': 'w-full'}, 'children': c_7}) }}\n    {%- endset -%}\n    {{ og_include('compose/stack.html.j2', {'p': {'Gap': '4', 'Attrs': og_attrs(['data-slot', 'social'])}, 'children': c_8}) }}\n  {%- endif %}\n  {{ og_include('blocks/auth-form.html.j2', {'p': {'id': v_id, 'mode': v_mode, 'labels': v_labels, 'submit': v_submit}}) }}\n  {%- if og_t(og_and([not (og_eq(v_social, 'first')), not (og_eq(v_social, 'none')), not (og_eq(v_mode, 'reset')), not (og_eq(v_mode, 'magic'))])) %}\n    {%- set c_13 -%}\n      {%- set c_10 -%}\n        {{ og_include('compose/separator.html.j2', {'p': {'Class': 'flex-1'}}) }}\n        {%- set c_9 -%}\n          {{ og_text(og_get(v_labels, ['divider'])) }}\n        {%- endset -%}\n        {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_9}) }}\n        {{ og_include('compose/separator.html.j2', {'p': {'Class': 'flex-1'}}) }}\n      {%- endset -%}\n      {{ og_include('compose/group.html.j2', {'p': {'Gap': '4', 'Align': 'center'}, 'children': c_10}) }}\n      {%- set c_11 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'key-round', 'Size': 16}}) }}\n        {{ og_text(og_get(v_labels, ['passkey'])) }}\n      {%- endset -%}\n      {{ og_include('compose/button.html.j2', {'p': {'Variant': 'outline', 'Size': 'default', 'Type': 'button', 'Class': 'w-full'}, 'children': c_11}) }}\n      {%- set c_12 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'mail', 'Size': 16}}) }}\n        {{ og_text(og_get(v_labels, ['magic'])) }}\n      {%- endset -%}\n      {{ og_include('compose/button.html.j2', {'p': {'Variant': 'outline', 'Size': 'default', 'Type': 'button', 'Class': 'w-full'}, 'children': c_12}) }}\n    {%- endset -%}\n    {{ og_include('compose/stack.html.j2', {'p': {'Gap': '4', 'Attrs': og_attrs(['data-slot', 'social'])}, 'children': c_13}) }}\n  {%- endif %}\n  {%- set c_15 -%}\n    {{ og_text(v_switchText) }}\n    {{ og_text(' ') }}\n    {%- set c_14 -%}\n      {{ og_text(v_switchLink) }}\n    {%- endset -%}\n    {{ og_include('compose/link.html.j2', {'p': {'Href': og_url(og_s(v_switchHref)), 'Variant': 'default', 'Attrs': og_attrs(['data-slot', 'switch'])}, 'children': c_14}) }}\n  {%- endset -%}\n  {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-center text-muted-foreground'}, 'children': c_15}) }}\n{%- endset -%}\n{{ og_include('compose/block.html.j2', {'p': {'Tag': 'section', 'Class': og_s(og_cnv(['flex w-full flex-col gap-6', ('rounded bg-card p-6 inset-ring inset-ring-border' if og_t(og_eq(v_layout, 'card')) else '')])), 'Attrs': og_attrs(['aria-labelledby', (none if og_t(v_landmarkLabel) else og_tpl('{0}-title', [v_id])), 'data-mode', v_mode, 'aria-label', v_landmarkLabel, 'data-slot', 'auth-card'])}, 'children': c_16}) }}\n",
      "path": "blocks/auth-card.html.j2",
      "target": "blocks/auth-card.html.j2"
    }
  ],
  "meta": {
    "category": "account",
    "group": "auth",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "auth-card",
  "registryDependencies": [
    "auth-form",
    "block",
    "button",
    "group",
    "link",
    "lucide-icon",
    "separator",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Auth Card",
  "type": "registry:block"
}
