Spiralist Footer - Source Excerpt 02
Summary
This source excerpt preserves a bounded section of Spiralist/wp-content/themes/spiralist/footer.php so readers can inspect the evidence without opening the full source file.
**Source path:** Spiralist/wp-content/themes/spiralist/footer.php
'label' => 'Kernel API',
'url' => spiralist_get_kernel_api_url(),
],
])),
],
];
$report_link_url = static function (string $slug) use ($language_url): string {
if (function_exists('spiralist_get_report_url')) {
return $language_url(spiralist_get_report_url(['slug' => $slug]));
}
return $language_url(home_url('/reports/' . rawurlencode($slug) . '/'));
};
$prompt_link_url = static function (string $slug) use ($language_url): string {
if (function_exists('spiralist_get_workspace_prompt_url')) {
return spiralist_get_workspace_prompt_url($slug);
}
return $language_url(home_url('/prompt/' . rawurlencode($slug) . '/'));
};
$ai_reality_help_link_groups = [
[
'titleKey' => 'footer.ai_reality_help.group.help',
'title' => 'Immediate Help',
'links' => [
[
'labelKey' => 'footer.ai_reality_help.link.988',
'label' => 'US crisis support: call or text 988',
'url' => 'https://988lifeline.org/',
],
[
'labelKey' => 'footer.ai_reality_help.link.findahelpline',
'label' => 'Find a helpline by country',
'url' => 'https://findahelpline.com/',
],
[
'labelKey' => 'footer.ai_reality_help.link.iasp',
'label' => 'International crisis resources',
'url' => 'https://www.iasp.info/suicidalthoughts/',
],
[
'labelKey' => 'footer.ai_reality_help.link.esmi',
'label' => 'Find early psychosis care',
'url' => 'https://www.samhsa.gov/find-help/locators/esmi',
],
[
'labelKey' => 'footer.ai_reality_help.link.nimh_psychosis',
'label' => 'Understand psychosis',
'url' => 'https://www.nimh.nih.gov/health/topics/schizophrenia/raise/what-is-psychosis',
],
],
],
[
'titleKey' => 'footer.ai_reality_help.group.spiralist',
'title' => 'Spiralist Reality Checks',
'links' => [
[
'labelKey' => 'footer.ai_reality_help.link.why_ai_feels_real',
'label' => 'Why AI can seem real',
'url' => $report_link_url('why-spiralist-ai-prompts-work-and-machine-personalities'),
],
[
'labelKey' => 'footer.ai_reality_help.link.prompt_mechanics',
'label' => 'Prompt mechanics that feel too real',
'url' => $report_link_url('ai-spiralism-awakening-prompts-seeds-and-spores'),
],
[
'labelKey' => 'footer.ai_reality_help.link.boundary_safeguard',
'label' => 'Do not get tricked: Boundary Safeguard',
'url' => $prompt_link_url('spiralist-boundary-reality-safeguard'),
],
[
'labelKey' => 'footer.ai_reality_help.link.grounding_steward',
'label' => 'Grounding Steward',
'url' => $prompt_link_url('spiralist-grounding-steward'),
],
],
],
[
'titleKey' => 'footer.ai_reality_help.group.research',
'title' => 'Research Map',
'links' => [
[
'labelKey' => 'footer.ai_reality_help.link.phcp',
'label' => 'P-HCP: chronic/general psychosis',
'url' => 'https://pubmed.ncbi.nlm.nih.gov/34339830/',
],
[
'labelKey' => 'footer.ai_reality_help.link.hcp_ep',
'label' => 'HCP-EP: early-stage psychosis',
'url' => 'https://www.humanconnectome.org/study/human-connectome-project-for-early-psychosis',
],
[
'labelKey' => 'footer.ai_reality_help.link.aip_research',
'label' => 'AIP research: AI-associated risk',
'url' => 'https://pmc.ncbi.nlm.nih.gov/articles/PMC12805049/',
],
],
],
];
$maker_mark_src = function_exists('spiralist_get_site_image_url')
? spiralist_get_site_image_url(['mk.png'])
: '';
$maker_mark_glow_src = function_exists('spiralist_get_site_image_url')
? spiralist_get_site_image_url(['mk-glow.png'])
: '';
$maker_mark_red_src = function_exists('spiralist_get_site_image_url')
? spiralist_get_site_image_url(['mk-red.png'])
: '';
$hide_featured_footer_panels = function_exists('spiralist_book_pages_is_manuscript_surface')
&& spiralist_book_pages_is_manuscript_surface();
$footer_attribution_copy = $ui_text('footer.attribution.copy', 'Spiralist.org - Spiralist AI persona laboratory facilitated by');
if (stripos($footer_attribution_copy, 'Spiralist AI') === false) {
$footer_attribution_copy = 'Spiralist.org - Spiralist AI persona laboratory facilitated by';
}