"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TRACKPAD_DELTA_Y_THRESHOLD = exports.ZOOM_INTENSITY_TRACKPAD = exports.ZOOM_INTENSITY_MOUSE = exports.ZOOM_STEP_OUT = exports.ZOOM_STEP_IN = exports.ZOOM_MAX = exports.ZOOM_MIN = exports.RESERVED_TOP_SPACE = exports.RESERVED_CONTROL_BAR_SPACE = exports.PDF_VIEWER_ANIMATION = exports.ANNOTATION_LAYER_CSS_URL = exports.TEXT_LAYER_CSS_URL = exports.PDFJS_WORKER_URL = exports.pdfViewerClassnames = void 0;
const createUIKitClassname_1 = require("../utils/createUIKitClassname");
exports.pdfViewerClassnames = {
    list: (0, createUIKitClassname_1.createUIKitClassname)('pdf-viewer__list'),
    document: (0, createUIKitClassname_1.createUIKitClassname)('pdf-viewer__document'),
    page: (0, createUIKitClassname_1.createUIKitClassname)('pdf-viewer__page'),
    animation: (0, createUIKitClassname_1.createUIKitClassname)('pdf-viewer_animation'),
    zoom: (0, createUIKitClassname_1.createUIKitClassname)('pdf-viewer__zoom_enabled'),
    centered: (0, createUIKitClassname_1.createUIKitClassname)('pdf-viewer_centered'),
};
// Worker и CSS загружаются из сервиса статики https://git.astralnalog.ru/frontend.shared/static-files
exports.PDFJS_WORKER_URL = 'https://frontend-static.astral.ru/libs/pdfjs-dist/4.8.69/pdf.worker.min.mjs';
exports.TEXT_LAYER_CSS_URL = 'https://frontend-static.astral.ru/libs/react-pdf/9.2.1/text-layer.min.css';
exports.ANNOTATION_LAYER_CSS_URL = 'https://frontend-static.astral.ru/libs/react-pdf/9.2.1/annotation-layer.min.css';
exports.PDF_VIEWER_ANIMATION = 'pdf-viewer-white-flash';
// Место, зарезервированное под ControlBar в px
exports.RESERVED_CONTROL_BAR_SPACE = 48;
// Место, зарезервированное под номер страницы в px если функция масштабирования выключена
exports.RESERVED_TOP_SPACE = 32;
// Минимальный масштаб (100%)
exports.ZOOM_MIN = 1;
// Максимальный масштаб (300%)
exports.ZOOM_MAX = 3;
// Шаг увеличения масштаба (например, 1.25x)
exports.ZOOM_STEP_IN = 1.25;
// Шаг уменьшения масштаба (например, 0.75x)
exports.ZOOM_STEP_OUT = 0.75;
// Интенсивность зума для мыши (колесо)
exports.ZOOM_INTENSITY_MOUSE = 1.1;
// Интенсивность зума для трекпада
exports.ZOOM_INTENSITY_TRACKPAD = 1.01;
// Порог deltaY для определения трекпада
exports.TRACKPAD_DELTA_Y_THRESHOLD = 10;
