(function () { "use strict"; const STYLE_ID = "sa-civic-ornament-v9"; const ORNAMENT_ID = "sa-civic-ornament"; const IMAGE_URL = "https://forumstatic.ru/files/001c/cd/12/40442.png"; function install() { const decor = document.querySelector( "#sa-dossier-clean .sa-id-decor-work" ); if (!decor) return; let style = document.getElementById(STYLE_ID); if (!style) { style = document.createElement("style"); style.id = STYLE_ID; style.textContent = ` #sa-dossier-clean .sa-id-decor-work::after { content: none !important; display: none !important; } #sa-dossier-clean .sa-id-decor-work #${ORNAMENT_ID} { position: absolute !important; top: 83px !important; left: 50% !important; width: 72px !important; height: 22px !important; display: block !important; margin: 0 !important; padding: 0 !important; border: none !important; outline: none !important; box-shadow: none !important; background-color: transparent !important; background-image: url("${IMAGE_URL}") !important; background-position: center !important; background-repeat: no-repeat !important; background-size: contain !important; transform: translateX(-50%) scale(1) !important; transform-origin: center !important; z-index: 20 !important; pointer-events: auto !important; cursor: pointer !important; transition: transform .5s ease, filter .5s ease !important; } #sa-dossier-clean .sa-id-decor-work #${ORNAMENT_ID}:hover { transform: translateX(-50%) scale(1.12) !important; filter: brightness(1.4) drop-shadow(0 0 7px rgba(235,183,87,.85)) !important; } `; document.head.appendChild(style); } let ornament = document.getElementById(ORNAMENT_ID); if (!ornament) { ornament = document.createElement("div"); ornament.id = ORNAMENT_ID; ornament.setAttribute("aria-label", "Печать San Avelio"); decor.appendChild(ornament); } } function start() { install(); const observer = new MutationObserver(() => { if (!document.getElementById(ORNAMENT_ID)) { install(); } }); observer.observe(document.body, { childList: true, subtree: true }); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", start); } else { start(); } })();