From 5cff7135f23b174920b0555a00ecedcf16c8bc8e Mon Sep 17 00:00:00 2001 From: pavlov346346-source Date: Sat, 12 Sep 2026 08:48:57 +0300 Subject: [PATCH] feat: load Caterium account center --- public/core/sun-safe.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/public/core/sun-safe.js b/public/core/sun-safe.js index 7f8896f..7ead66e 100644 --- a/public/core/sun-safe.js +++ b/public/core/sun-safe.js @@ -20,4 +20,14 @@ return node; }; window.SunSafe=Object.freeze({escapeHTML,escapeAttr,idToken,safeImageSrc,setText,insertBefore}); -})(); + + // Small bootstrap for account/profile UI. Keeping it here makes the account + // center available on every Caterium screen without touching the legacy monolith. + if(!document.getElementById('cateriumAccountCenterV1780Script')){ + const script=document.createElement('script'); + script.id='cateriumAccountCenterV1780Script'; + script.src='core/account-center-v1780.js?v=20260912-v17-8-0-account-center-2'; + script.async=true; + document.head.appendChild(script); + } +})(); \ No newline at end of file