const pdfViewer = document.getElementById("pdf-viewer");
const pdfjsLib = window['pdfjs-dist/build/pdf'];
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js';

// The PDF is fetched from your secure backend route (not the actual file URL)
const pdfUrl = "/wp-content/uploads/2025/10/Member-Directory-Final.pdf-1-1.pdf";

pdfjsLib.getDocument(pdfUrl).promise.then(pdf => );

function zoomIn()

function fullScreen()

document.addEventListener("contextmenu", e => e.preventDefault());

document.addEventListener("keydown", e => );