PageSourceSearch

https://kayelleallen.com/wp-content/plugins/mbm-base/public/js/mbm-base-public.js?ver=5.5.8

js kayelleallen.com collected 2026-10-03 21:06:04 UTC 2,280 bytes, 71 lines download raw bytes

1jQuery( document ).ready(function() {
2	// hide the bottom buy links if the excerpt is closed
3	if (jQuery('.mbm-book-excerpt-read-more').is(":visible")) {
4		jQuery('#mbm-book-links2').hide();
5	}
6
7	// handle the editions hide/show
8	jQuery('.mbm-book-editions-toggle').on('click', function() {
9		jQuery(this).siblings('.mbm-book-editions-subinfo').toggle();
10		jQuery(this).toggleClass('mbm-book-editions-open');
11	});
12
13  // handle the series hide/show
14  	jQuery('.mbm-book-series-toggle').on('click', function() {
15      const series = jQuery(this).data('series');
16		jQuery('#mbm-book-page .mbm-book-serieslist-list[data-series="' + series +'"] li:nth-child(n+11) ').toggle();
17		jQuery('.mbm-book-series-toggle[data-series="' + series + '"]').toggle();
18	});
19
20	// open the excerpt
21	jQuery('.mbm-book-excerpt-read-more').on( 'click',  function() {
22		jQuery(this).siblings('.mbm-book-excerpt-text-hidden').toggle();
23		jQuery(this).toggle();
24		jQuery('#mbm-book-links2').show();
25	});
26
27	// close the excerpt
28	jQuery('.mbm-book-excerpt-collapse').on( 'click',  function() {
29		jQuery(this).parent().toggle();
30		jQuery(this).parent().siblings('.mbm-book-excerpt-read-more').toggle();
31		jQuery('#mbm-book-links2').hide();
32		jQuery('html, body').animate({
33					scrollTop: (jQuery('.mbm-book-excerpt-read-more').offset().top - 100)
34					},500);
35
36	});
37
38  // hover popup for grids and widgets
39  jQuery(".mbdb_grid_image").on('mouseenter', mbdb_show_popup_card_grid)
40                                .on('mouseleave', mbdb_hide_popup_card );
41
42  jQuery('.mbdb_book_widget').on('mouseenter',  mbdb_show_popup_card_widget)
43                                .on('mouseleave', mbdb_hide_popup_card );
44
45
46
47
48}); // ready
49
50function mbdb_show_popup_card_widget(e) {
51  // if no image, send the widget
52  let image = jQuery(this).find('.mbm-widget-cover');
53
54  image = image.length > 0 ? image : jQuery(this);
55
56  mbdb_show_popup_card( image, jQuery(this));
57}
58
59function mbdb_show_popup_card_grid(e) {
60  mbdb_show_popup_card(jQuery(this), jQuery(this));
61}
62
63 function mbdb_show_popup_card(  image, element ) {
64    element.find('.mbdb_book_info_popup').css({top: image.height() * .75, left: image.width() *.5 }).show();
65
66}
67
68
69  function mbdb_hide_popup_card() {
70    jQuery(this).find('.mbdb_book_info_popup').hide();
71  }

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.