PageSourceSearch

https://www.citizenjazz.com/plugins/auto/html5up_future_imperfect-…_future_imperfect-v1.1.0/javascript/main.js

js citizenjazz.com collected 2026-10-01 12:07:36 UTC 1,183 bytes, 57 lines download raw bytes

1/*
2	Future Imperfect by HTML5 UP
3	html5up.net | @ajlkn
4	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5*/
6
7(function($) {
8
9	var	$window = $(window),
10		$body = $('body'),
11		$menu = $('#menu'),
12		$sidebar = $('#sidebar'),
13		$main = $('#main');
14
15	// Breakpoints.
16		breakpoints({
17			xlarge:   [ '1281px',  '1680px' ],
18			large:    [ '981px',   '1280px' ],
19			medium:   [ '737px',   '980px'  ],
20			small:    [ '481px',   '736px'  ],
21			xsmall:   [ null,      '480px'  ]
22		});
23
24	// Play initial animations on page load.
25		$window.on('load', function() {
26			window.setTimeout(function() {
27				$body.removeClass('is-preload');
28			}, 100);
29		});
30
31	// Menu.
32		$menu
33			.appendTo($body)
34			.panel({
35				delay: 500,
36				hideOnClick: true,
37				hideOnSwipe: true,
38				resetScroll: true,
39				resetForms: true,
40				side: 'right',
41				target: $body,
42				visibleClass: 'is-menu-visible'
43			});
44
45	// Intro.
46		var $intro = $('#intro');
47
48		// Move to main on <=large, back to sidebar on >large.
49			breakpoints.on('<=large', function() {
50				$intro.prependTo($main);
51			});
52
53			breakpoints.on('>large', function() {
54				$intro.prependTo($sidebar);
55			});
56
57})(jQuery);

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.