PageSourceSearch

https://elizabethopalenik.com/scModalVideoGallery.js

js elizabethopalenik.com collected 2026-09-25 20:50:04 UTC 2,427 bytes, 1 lines download raw bytes

1!function(u,g,l,o){g(function(){var n,t,s,c=!(u.scModalVideoGallery={});function y(){u.scModalVideoGallery.$modalContent.empty()}function e(l){l.preventDefault(),y(),u.scModalVideoGallery.$modal.hide(),c=!1,s&&s.focus(),u.scModalVideoGallery.$fs&&(u.scModalVideoGallery.$fs.data("flexslider").play(),u.scModalVideoGallery.$fs=null),g("body").trigger("scGalleryModalHidden")}function f(l,o){var e=u.scModalVideoGallery.$modalContent;e.append(l),!1!==o&&e.fitVids()}function o(l){s=l.currentTarget;var o=u.scModalVideoGallery.$modal,e=g(l.currentTarget),a=parseInt(e.attr("data-field-index"),10),d=e.closest(".hasModalVideoGallery"),i=d.find(".flexMain .flexslider"),r=d.attr("data-vids-array-id");(n=u[r])&&n[a]&&(t=a,o.toggleClass("hideArrows",1===n.length),y(),f(n[a],!1),o.show().fitVids(),c=!0,g(".modalVideoGallery .galleryArrow--next").focus(),i.length&&i.data("slideshow")?(i.data("flexslider").pause(),u.scModalVideoGallery.$fs=i):u.scModalVideoGallery.$fs=null,g("body").trigger("scGalleryModalShown"))}function a(l){l.preventDefault(),l.stopPropagation(),n&&0<=t&&(--t<0&&(t=n.length-1),y(),f(n[t]))}function d(l){l.preventDefault(),l.stopPropagation(),n&&0<=t&&(++t>=n.length&&(t=0),y(),f(n[t]))}u.scModalVideoGallery.$modal=g('<div class="publicModalContainer modalVideoGalleryContainer"><div class="publicModalMask"></div><div class="publicModalContent modalImageGallery modalVideoGallery"><div class="imageContainer modalVideoGallery-vid"></div><a class="galleryArrow galleryArrow--prev" href="#">prev</a><a class="galleryArrow galleryArrow--next" href="#">next</a></div><a class="publicModalClose" href="#">close</a></div>').appendTo(g("body")).hide(),u.scModalVideoGallery.$modalContent=u.scModalVideoGallery.$modal.find(".modalVideoGallery-vid"),g("body").on("click",".hasModalVideoGallery img:not(.thumbs-item img)",o),g("body").on("keydown",".hasModalVideoGallery img:not(.thumbs-item img)",function(l){13===(l.which||l.keyCode)&&o(l)}),g("body").on("click",".modalVideoGalleryContainer",e),g("body").on("click",".publicModalClose",e),g("body").on("click",".modalVideoGallery .galleryArrow--prev",a),g("body").on("click",".modalVideoGallery .galleryArrow--next",d),g("body").on("keyup",function(l){var o=l.which||l.keyCode;c&&(32===o||38===o||40===o?e(l):37===o?a(l):39===o&&d(l))}),g("body").on("keydown",function(l){var o=l.which||l.keyCode;c&&27===o&&(l.stopPropagation(),e(l))})})}(this,jQuery,Modernizr);

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.