1"use strict"; 2 3function imageZoom(box) { 4 $(box).fancybox({ 5 afterLoad: function afterLoad(instance, current) { 6 var pixelRatio = window.devicePixelRatio || 1; 7 if (pixelRatio > 1.5) { 8 current.width = current.width / pixelRatio; 9 current.height = current.height / pixelRatio; 10 } 11 }, 12 closeExisting: false, 13 protect: true, 14 smallBtn: true, 15 keyboard: false, 16 touch: false, 17 wheel: false, 18 clickContent: false, 19 caption: function caption() { 20 var author = $(this).data('author') || ''; 21 var description = $(this).data('description') || ''; 22 if (author) { 23 return '<p class="text-white-65 caption__title">' + author + '</p>' + '<p class="text-white-65 caption__description">' + description + '</p>'; 24 } 25 }, 26 baseTpl: '<div class="fancybox-container" role="dialog" tabindex="-1">' + '<div class="fancybox-bg"></div>' + '<div class="fancybox-inner">' + '<div class="fancybox-stage">' + '<div class="fancybox-caption"><div class="fancybox-caption__body"></div></div>' + '</div>' + '</div>' + '</div>', 27 btnTpl: { 28 smallBtn: '<button type="button" data-fancybox-close="" class="fancybox-close-small fancybox-button" title="ÐакÑÑÑÑ">' + '<svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24">' + '<path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"></path>' + '</svg>' + '</button>' 29 } 30 }); 31}
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.