/**
 * @license Copyright (c) 2017-2025, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md.
 */

import mediumZoom from 'medium-zoom';

export function imageZoom() {
	const lightboxImages = document.querySelectorAll( '[data-lightbox]' );

	if ( !lightboxImages ) {
		return;
	}

	mediumZoom( lightboxImages );
}
