PageSourceSearch

https://bedrijven.reiswijs.nu/bedrijfsportal/environment.js

js reiswijs.nu collected 2026-10-02 00:39:04 UTC 996 bytes, 9 lines download raw bytes

1// The Worker derives this presentation value from its validated API binding.
2// Browser input can never select a backend.
3const LIVE_PORTAL_ORIGIN='https://bedrijven.reiswijs.nu';
4// Production data also powers previews. Hide preview copy only on the exact
5// live origin; absent or unfamiliar origins keep the warning visible.
6const productionPreview=environment=>environment==='production-preview'&&globalThis.location?.origin!==LIVE_PORTAL_ORIGIN;
7export const environmentLabel=value=>value==='production-preview'?(productionPreview(value)?'Testversie · productiegegevens':''):({local:'Lokale testomgeving',test:'Testomgeving',acceptance:'Acceptatieomgeving'}[value]||'');
8export const exampleEntryEnabled=value=>['local','test','acceptance'].includes(value);
9export const productionNotice=(environment,demo=false)=>!demo&&productionPreview(environment)?'<p class="notice" role="note">Deze testversie gebruikt echte productiegegevens. Opgeslagen wijzigingen zijn direct van kracht.</p>':'';

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.