/* NORTHVALE — isolated Rusff topic 1 typography demo — SACRED VALLEY HISTORY */ (function(){ 'use strict'; if(!/\/viewtopic\.php$/.test(location.pathname) || new URLSearchParams(location.search).get('id')!=='1') return; if(document.getElementById('nv-typography-root')) return; var doc="\nNORTHVALE — До основания города\n\n
\n
NORTHVALE · 1692
\n
\n
ИСТОРИЯ ГОРОДА / ГЛАВА I
СВЯЩЕННАЯ ДОЛИНА · ДО 1693 ГОДА
1692
\n

До основанияНортвейла

\n
\n

История Нортвейла началась задолго до появления здесь первых европейских переселенцев.

\n

Известно, что прежде долину населяли коренные жители Северной Америки, почитавшие эти земли как священные.

\n

На территории будущего города проводились религиозные церемонии, в том числе обряды жертвоприношения, о назначении которых сохранилось немного сведений.

\n
\n
NORTHVALE / THE BEGINNING
\n\n"; var root=document.createElement('div');root.id='nv-typography-root'; root.style.cssText='position:fixed;inset:0;z-index:2147483000;background:#0b1118;display:none;'; var frame=document.createElement('iframe'); frame.title='NORTHVALE — Сюжет'; frame.setAttribute('aria-label','Интерактивная история Нортвейла'); frame.style.cssText='position:absolute;inset:0;width:100%;height:100%;border:0;background:#0b1118;'; frame.srcdoc=doc; root.appendChild(frame); var launch=document.createElement('button');launch.type='button';launch.id='nv-typography-launch'; launch.textContent='✦ ОТКРЫТЬ ИСТОРИЮ НОРТВЕЙЛА'; launch.style.cssText='position:fixed;z-index:2147482999;right:18px;bottom:18px;border:1px solid #b7d5e7a8;border-radius:40px;padding:15px 20px;background:#10202a;color:#eaf5f9;box-shadow:0 7px 28px #0008;font:600 12px Arial,sans-serif;letter-spacing:.1em;cursor:pointer;'; var previousOverflow=''; function open(){previousOverflow=document.documentElement.style.overflow;document.documentElement.style.overflow='hidden';root.style.display='block';launch.style.display='none';} function shut(){root.style.display='none';launch.style.display='block';document.documentElement.style.overflow=previousOverflow;} launch.addEventListener('click',open); window.addEventListener('message',function(e){if(e.source===frame.contentWindow && e.data && e.data.type==='northvale-close-story')window.location.assign('https://northvale.rusff.me/');}); document.addEventListener('keydown',function(e){if(e.key==='Escape'&&root.style.display==='block')shut();}); function mount(){document.body.appendChild(root);document.body.appendChild(launch);open();} if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',mount,{once:true});else mount(); })();