1function addMagnific(selector) { 2 $(selector).magnificPopup({ 3 type: 'image', 4 delegate: 'a', 5 gallery: { 6 enabled: true, 7 }, 8 callbacks: { 9 beforeOpen: function () { 10 var magnificPopup = $.magnificPopup.instance, 11 cur = magnificPopup.st.el.focus(); 12 }, 13 open: function () { 14 $('.container').addClass('blur'); 15 }, 16 close: function () { 17 $('.container').removeClass('blur'); 18 } 19 } 20 }); 21} 22 23function addMagnificVideo(selector) { 24 $(selector).magnificPopup({ 25 type: 'iframe', 26 mainClass: 'mfp-fade', 27 preloader: true, 28 callbacks: { 29 beforeOpen: function () { 30 var magnificPopup = $.magnificPopup.instance, 31 cur = magnificPopup.st.el.focus(); 32 }, 33 open: function () { 34 $('.container').addClass('blur'); 35 }, 36 close: function () { 37 $('.container').removeClass('blur'); 38 } 39 } 40 }); 41} 42 43function alertRemove(){ 44 $('.ex-alert').remove(); 45}
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.