PageSourceSearch

https://www.fotomoncat.cat/wp-content/themes/kreativa/js/supersized/supersized.3.2.7.min.js

js fotomoncat.cat collected 2026-10-10 01:58:08 UTC 31,895 bytes, 668 lines download raw bytes

1/*
2
3	Supersized - Fullscreen Slideshow jQuery Plugin
4	Version : 3.2.7
5	Site	: www.buildinternet.com/project/supersized
6
7	Author	: Sam Dunn
8	Company : One Mighty Roar (www.onemightyroar.com)
9	License : MIT License / GPL License
10
11*/
12(function(e) {
13    e(document).ready(function() {
14        e("body").append('<div id="supersized-loader"></div><ul id="supersized"></ul>')
15    });
16    e.supersized = function(t) {
17        var n = "#supersized",
18            r = this;
19        r.$el = e(n);
20        r.el = n;
21        vars = e.supersized.vars;
22        r.$el.data("supersized", r);
23        api = r.$el.data("supersized");
24        r.init = function() {
25            e.supersized.vars = e.extend(e.supersized.vars, e.supersized.themeVars);
26            e.supersized.vars.options = e.extend({}, e.supersized.defaultOptions, e.supersized.themeOptions, t);
27            r.options = e.supersized.vars.options;
28            r._build()
29        };
30        r._build = function() {
31            var t = 0,
32                n = "",
33                i = "",
34                s, o = "",
35                u;
36            while (t <= r.options.slides.length - 1) {
37                switch (r.options.slide_links) {
38                    case "num":
39                        s = t;
40                        break;
41                    case "name":
42                        s = r.options.slides[t].title;
43                        break;
44                    case "blank":
45                        s = ""
46                }
47                n = n + '<li class="slide-' + t + '"></li>';
48                if (t == r.options.start_slide - 1) {
49                    r.options.slide_links && (i = i + '<li class="slide-link-' + t + ' current-slide"><a>' + s + "</a></li>");
50                    if (r.options.thumb_links) {
51                        r.options.slides[t].thumb ? u = r.options.slides[t].thumb : u = r.options.slides[t].image;
52                        o = o + '<li class="thumb' + t + ' current-thumb"><img src="' + u + '"/></li>'
53                    }
54                } else {
55                    r.options.slide_links && (i = i + '<li class="slide-link-' + t + '" ><a>' + s + "</a></li>");
56                    if (r.options.thumb_links) {
57                        r.options.slides[t].thumb ? u = r.options.slides[t].thumb : u = r.options.slides[t].image;
58                        o = o + '<li class="thumb' + t + '"><img src="' + u + '"/></li>'
59                    }
60                }
61                t++
62            }
63            r.options.slide_links && e(vars.slide_list).html(i);
64            r.options.thumb_links && vars.thumb_tray.length && e(vars.thumb_tray).append('<ul id="' + vars.thumb_list.replace("#", "") + '">' + o + "</ul>");
65            e(r.el).append(n);
66            if (r.options.thumbnail_navigation) {
67                vars.current_slide - 1 < 0 ? prevThumb = r.options.slides.length - 1 : prevThumb = vars.current_slide - 1;
68                e(vars.prev_thumb).show().html(e("<img/>").attr("src", r.options.slides[prevThumb].image));
69                vars.current_slide == r.options.slides.length - 1 ? nextThumb = 0 : nextThumb = vars.current_slide + 1;
70                e(vars.next_thumb).show().html(e("<img/>").attr("src", r.options.slides[nextThumb].image))
71            }
72            r._start()
73        };
74        r._start = function() {
75            r.options.start_slide ? vars.current_slide = r.options.start_slide - 1 : vars.current_slide = Math.floor(Math.random() * r.options.slides.length);
76            var t = r.options.new_window ? ' target="_blank"' : "";
77            r.options.performance == 3 ? r.$el.addClass("speed") : (r.options.performance == 1 || r.options.performance == 2) && r.$el.addClass("quality");
78            if (r.options.random) {
79                arr = r.options.slides;
80                for (var n, i, s = arr.length; s; n = parseInt(Math.random() * s), i = arr[--s], arr[s] = arr[n], arr[n] = i);
81                r.options.slides = arr
82            }
83            if (r.options.slides.length > 1) {
84                if (r.options.slides.length > 2) {
85                    vars.current_slide - 1 < 0 ? loadPrev = r.options.slides.length - 1 : loadPrev = vars.current_slide - 1;
86                    var o = r.options.slides[loadPrev].url ? "href='" + r.options.slides[loadPrev].url + "'" : "",
87                        u = e('<img src="' + r.options.slides[loadPrev].image + '" alt="' + r.options.slides[loadPrev].alttext + '"/>'),
88                        a = r.el + " li:eq(" + loadPrev + ")";
89                    u.appendTo(a).wrap("<a " + o + t + "></a>").parent().parent().addClass("image-loading prevslide");
90                    u.on('load', function(){
91                        e(this).data("origWidth", e(this).width()).data("origHeight", e(this).height());
92                        r.resizeNow()
93                    })
94                }
95            } else r.options.slideshow = 0;
96            o = api.getField("url") ? "href='" + api.getField("url") + "'" : "";
97            var f = e('<img src="' + api.getField("image") + '" alt="' + api.getField("alttext") + '"/>'),
98                l = r.el + " li:eq(" + vars.current_slide + ")";
99            f.appendTo(l).wrap("<a " + o + t + "></a>").parent().parent().addClass("image-loading activeslide");
100            f.on('load', function(){
101                r._origDim(e(this));
102                r.resizeNow();
103                r.launch();
104                typeof theme != "undefined" && typeof theme._init == "function" && theme._init()
105            });
106            if (r.options.slides.length > 1) {
107                vars.current_slide == r.options.slides.length - 1 ? loadNext = 0 : loadNext = vars.current_slide + 1;
108                o = r.options.slides[loadNext].url ? "href='" + r.options.slides[loadNext].url + "'" : "";
109                var c = e('<img src="' + r.options.slides[loadNext].image + '" alt="' + r.options.slides[loadNext].alttext + '"/>'),
110                    h = r.el + " li:eq(" + loadNext + ")";
111                c.appendTo(h).wrap("<a " + o + t + "></a>").parent().parent().addClass("image-loading");
112                c.on('load', function(){
113                    e(this).data("origWidth", e(this).width()).data("origHeight", e(this).height());
114                    r.resizeNow()
115                })
116            }
117            r.$el.css("visibility", "hidden");
118            e(".load-item").hide()
119        };
120        r.launch = function() {
121            r.$el.css("visibility", "visible");
122            e("#supersized-loader").remove();
123            typeof theme != "undefined" && typeof theme.beforeAnimation == "function" && theme.beforeAnimation("next");
124            e(".load-item").show();
125            r.options.keyboard_nav && e(document.documentElement).keyup(function(e) {
126                if (vars.in_animation) return !1;
127                if (e.keyCode == 37 || e.keyCode == 40) {
128                    clearInterval(vars.slideshow_interval);
129                    r.prevSlide()
130                } else if (e.keyCode == 39 || e.keyCode == 38) {
131                    clearInterval(vars.slideshow_interval);
132                    r.nextSlide()
133                } else if (e.keyCode == 32 && !vars.hover_pause) {
134                    clearInterval(vars.slideshow_interval);
135                    r.playToggle()
136                }
137            });
138            r.options.slideshow && r.options.pause_hover && e(r.el).hover(function() {
139                if (vars.in_animation) return !1;
140                vars.hover_pause = !0;
141                if (!vars.is_paused) {
142                    vars.hover_pause = "resume";
143                    r.playToggle()
144                }
145            }, function() {
146                if (vars.hover_pause == "resume") {
147                    r.playToggle();
148                    vars.hover_pause = !1
149                }
150            });
151            r.options.slide_links && e(vars.slide_list + "> li").click(function() {
152                index = e(vars.slide_list + "> li").index(this);
153                targetSlide = index + 1;
154                r.goTo(targetSlide);
155                return !1
156            });
157            r.options.thumb_links && e(vars.thumb_list + "> li").click(function() {
158                index = e(vars.thumb_list + "> li").index(this);
159                targetSlide = index + 1;
160                api.goTo(targetSlide);
161                return !1
162            });
163            if (r.options.slideshow && r.options.slides.length > 1) {
164                r.options.autoplay && r.options.slides.length > 1 ? vars.slideshow_interval = setInterval(r.nextSlide, r.options.slide_interval) : vars.is_paused = !0;
165                e(".load-item img").bind("contextmenu mousedown", function() {
166                    return !1
167                })
168            }
169            e(window).resize(function() {
170                r.resizeNow()
171            })
172        };
173        r.resizeNow = function() {
174            return r.$el.each(function() {
175                e("img", r.el).each(function() {
176                    function o(e) {
177                        if (e) {
178                            if (thisSlide.width() < n || thisSlide.width() < r.options.min_width)
179                                if (thisSlide.width() * t >= r.options.min_height) {
180                                    thisSlide.width(r.options.min_width);
181                                    thisSlide.height(thisSlide.width() * t)
182                                } else u()
183                        } else if (r.options.min_height >= i && !r.options.fit_landscape) {
184                            if (n * t >= r.options.min_height || n * t >= r.options.min_height && t <= 1) {
185                                thisSlide.width(n);
186                                thisSlide.height(n * t)
187                            } else if (t > 1) {
188                                thisSlide.height(r.options.min_height);
189                                thisSlide.width(thisSlide.height() / t)
190                            } else if (thisSlide.width() < n) {
191                                thisSlide.width(n);
192                                thisSlide.height(thisSlide.width() * t)
193                            }
194                        } else {
195                            thisSlide.width(n);
196                            thisSlide.height(n * t)
197                        }
198                    }
199
200                    function u(e) {
201                        if (e) {
202                            if (thisSlide.height() < i)
203                                if (thisSlide.height() / t >= r.options.min_width) {
204                                    thisSlide.height(r.options.min_height);
205                                    thisSlide.width(thisSlide.height() / t)
206                                } else o(!0)
207                        } else if (r.options.min_width >= n) {
208                            if (i / t >= r.options.min_width || t > 1) {
209                                thisSlide.height(i);
210                                thisSlide.width(i / t)
211                            } else if (t <= 1) {
212                                thisSlide.width(r.options.min_width);
213                                thisSlide.height(thisSlide.width() * t)
214                            }
215                        } else {
216                            thisSlide.height(i);
217                            thisSlide.width(i / t)
218                        }
219                    }
220                    thisSlide = e(this);
221                    var t = (thisSlide.data("origHeight") / thisSlide.data("origWidth")).toFixed(2),
222                        n = r.$el.width(),
223                        i = r.$el.height(),
224                        s;
225                    r.options.fit_always ? i / n > t ? o() : u() : i <= r.options.min_height && n <= r.options.min_width ? i / n >
225 t ? r.options.fit_landscape && t < 1 ? o(!0) : u(!0) : r.options.fit_portrait && t >= 1 ? u(!0) : o(!0) : n <= r.options.min_width ? i / n > t ? r.options.fit_landscape && t < 1 ? o(!0) : u() : r.options.fit_portrait && t >= 1 ? u() : o(!0) : i <= r.options.min_height ? i / n > t ? r.options.fit_landscape && t < 1 ? o() : u(!0) : r.options.fit_portrait && t >= 1 ? u(!0) : o() : i / n > t ? r.options.fit_landscape && t < 1 ? o() : u() : r.options.fit_portrait && t >= 1 ? u() : o();
226                    thisSlide.parents("li").hasClass("image-loading") && e(".image-loading").removeClass("image-loading");
227                    r.options.horizontal_center && e(this).css("left", (n - e(this).width()) / 2);
228                    r.options.vertical_center && e(this).css("top", (i - e(this).height()) / 2)
229                });
230                r.options.image_protect && e("img", r.el).bind("contextmenu mousedown", function() {
231                    return !1
232                });
233                return !1
234            })
235        };
236        r.nextSlide = function() {
237            if (vars.in_animation || !api.options.slideshow) return !1;
238            vars.in_animation = !0;
239            clearInterval(vars.slideshow_interval);
240            var t = r.options.slides,
241                n = r.$el.find(".activeslide");
242            e(".prevslide").removeClass("prevslide");
243            n.removeClass("activeslide").addClass("prevslide");
244            vars.current_slide + 1 == r.options.slides.length ? vars.current_slide = 0 : vars.current_slide++;
245            var i = e(r.el + " li:eq(" + vars.current_slide + ")"),
246                s = r.$el.find(".prevslide");
247            r.options.performance == 1 && r.$el.removeClass("quality").addClass("speed");
248            loadSlide = !1;
249            vars.current_slide == r.options.slides.length - 1 ? loadSlide = 0 : loadSlide = vars.current_slide + 1;
250            var o = r.el + " li:eq(" + loadSlide + ")";
251            if (!e(o).html()) {
252                var u = r.options.new_window ? ' target="_blank"' : "";
253                imageLink = r.options.slides[loadSlide].url ? "href='" + r.options.slides[loadSlide].url + "'" : "";
254                var a = e('<img src="' + r.options.slides[loadSlide].image + '" alt="' + r.options.slides[loadSlide].alttext + '"/>');
255                a.appendTo(o).wrap("<a " + imageLink + u + "></a>").parent().parent().addClass("image-loading").css("visibility", "hidden");
256                a.on('load', function(){
257                    r._origDim(e(this));
258                    r.resizeNow()
259                })
260            }
261            if (r.options.thumbnail_navigation == 1) {
262                vars.current_slide - 1 < 0 ? prevThumb = r.options.slides.length - 1 : prevThumb = vars.current_slide - 1;
263                e(vars.prev_thumb).html(e("<img/>").attr("src", r.options.slides[prevThumb].image));
264                nextThumb = loadSlide;
265                e(vars.next_thumb).html(e("<img/>").attr("src", r.options.slides[nextThumb].image))
266            }
267            typeof theme != "undefined" && typeof theme.beforeAnimation == "function" && theme.beforeAnimation("next");
268            if (r.options.slide_links) {
269                e(".current-slide").removeClass("current-slide");
270                e(vars.slide_list + "> li").eq(vars.current_slide).addClass("current-slide")
271            }
272            i.css("visibility", "hidden").addClass("activeslide");
273            switch (r.options.transition) {
274                case 0:
275                case "none":
276                    i.css({
277                        width: "0%",
278                        visibility: "visible"
279                    }).velocity({
280                        width: "100%",
281                        avoidTransforms: !1
282                    }, r.options.transition_speed, function() {
283                        r.afterAnimation()
284                    });
285                    break;
286                case 1:
287                case "fade":
288                    i.css({
289                        opacity: 0,
290                        visibility: "visible"
291                    }).animate({
292                        opacity: 1,
293                        avoidTransforms: !1
294                    }, r.options.transition_speed, function() {
295                        r.afterAnimation()
296                    });
297                    break;
298                case 2:
299                case "slideTop":
300                    i.css({
301                        top: -r.$el.height(),
302                        visibility: "visible"
303                    }).animate({
304                        top: 0,
305                        avoidTransforms: !1
306                    }, r.options.transition_speed, function() {
307                        r.afterAnimation()
308                    });
309                    break;
310                case 3:
311                case "slideRight":
312                    i.css({
313                        left: r.$el.width(),
314                        visibility: "visible"
315                    }).animate({
316                        left: 0,
317                        avoidTransforms: !1
318                    }, r.options.transition_speed, function() {
319                        r.afterAnimation()
320                    });
321                    break;
322                case 4:
323                case "slideBottom":
324                    i.css({
325                        top: r.$el.height(),
326                        visibility: "visible"
327                    }).animate({
328                        top: 0,
329                        avoidTransforms: !1
330                    }, r.options.transition_speed, function() {
331                        r.afterAnimation()
332                    });
333                    break;
334                case 5:
335                case "slideLeft":
336                    i.css({
337                        left: -r.$el.width(),
338                        visibility: "visible"
339                    }).animate({
340                        left: 0,
341                        avoidTransforms: !1
342                    }, r.options.transition_speed, function() {
343                        r.afterAnimation()
344                    });
345                    break;
346                case 6:
347                case "carouselRight":
348                    i.css({
349                        left: r.$el.width(),
350                        visibility: "visible"
351                    }).animate({
352                        left: 0,
353                        avoidTransforms: !1
354                    }, r.options.transition_speed, function() {
355                        r.afterAnimation()
356                    });
357                    n.animate({
358                        left: -r.$el.width(),
359                        avoidTransforms: !1
360                    }, r.options.transition_speed);
361                    break;
362                case 7:
363                case "carouselLeft":
364                    i.css({
365                        left: -r.$el.width(),
366                        visibility: "visible"
367                    }).animate({
368                        left: 0,
369                        avoidTransforms: !1
370                    }, r.options.transition_speed, function() {
371                        r.afterAnimation()
372                    });
373                    n.animate({
374                        left: r.$el.width(),
375                        avoidTransforms: !1
376                    }, r.options.transition_speed)
377            }
378            return !1
379        };
380        r.prevSlide = function() {
381            if (vars.in_animation || !api.options.slideshow) return !1;
382            vars.in_animation = !0;
383            clearInterval(vars.slideshow_interval);
384            var t = r.options.slides,
385                n = r.$el.find(".activeslide");
386            e(".prevslide").removeClass("prevslide");
387            n.removeClass("activeslide").addClass("prevslide");
388            vars.current_slide == 0 ? vars.current_slide = r.options.slides.length - 1 : vars.current_slide--;
389            var i = e(r.el + " li:eq(" + vars.current_slide + ")"),
390                s = r.$el.find(".prevslide");
391            r.options.performance == 1 && r.$el.removeClass("quality").addClass("speed");
392            loadSlide = vars.current_slide;
393            var o = r.el + " li:eq(" + loadSlide + ")";
394            if (!e(o).html()) {
395                var u = r.options.new_window ? ' target="_blank"' : "";
396                imageLink = r.options.slides[loadSlide].url ? "href='" + r.options.slides[loadSlide].url + "'" : "";
397                var a = e('<img src="' + r.options.slides[loadSlide].image + '" alt="' + r.options.slides[loadSlide].alttext + '"/>');
398                a.appendTo(o).wrap("<a " + imageLink + u + "></a>").parent().parent().addClass("image-loading").css("visibility", "hidden");
399                a.on('load', function(){
400                    r._origDim(e(this));
401                    r.resizeNow()
402                })
403            }
404            if (r.options.thumbnail_navigation == 1) {
405                loadSlide == 0 ? prevThumb = r.options.slides.length - 1 : prevThumb = loadSlide - 1;
406                e(vars.prev_thumb).html(e("<img/>").attr("src", r.options.slides[prevThumb].image));
407                vars.current_slide == r.options.slides.length - 1 ? nextThumb = 0 : nextThumb = vars.current_slide + 1;
408                e(vars.next_thumb).html(e("<img/>").attr("src", r.options.slides[nextThumb].image))
409            }
410            typeof theme != "undefined" && typeof theme.beforeAnimation == "function" && theme.beforeAnimation("prev");
411            if (r.options.slide_links) {
412                e(".current-slide").removeClass("current-slide");
413                e(vars.slide_list + "> li").eq(vars.current_slide).addClass("current-slide")
414            }
415            i.css("visibility", "hidden").addClass("activeslide");
416            switch (r.options.transition) {
417                case 0:
418                case "none":
419                    i.css({
420                        width: "0%",
421                        visibility: "visible"
422                    }).velocity({
423                        width: "100%",
424                        avoidTransforms: !1
425                    }, r.options.transition_speed, function() {
426                        r.afterAnimation()
427                    });
428                    break;
429                case 1:
430                case "fade":
431                    i.css({
432                        opacity: 0,
433                        visibility: "visible"
434                    }).animate({
435                        opacity: 1,
436                        avoidTransforms: !1
437                    }, r.options.transition_speed, function() {
438                        r.afterAnimation()
439                    });
440                    break;
441                case 2:
442                case "slideTop":
443                    i.css({
444                        top: r.$el.height(),
445                        visibility: "visible"
446                    }).animate({
447                        top: 0,
448                        avoidTransforms: !1
449                    }, r.options.transition_speed, function() {
450                        r.afterAnimation()
451                    });
452                    break;
453                case 3:
454                case "slideRight":
455                    i.css({
456                        left: -r.$el.width(),
457                        visibility: "visible"
458                    }).animate({
459                        left: 0,
460                        avoidTransforms: !1
461                    }, r.options.transition_speed, function() {
462                        r.afterAnimation()
463                    });
464                    break;
465                case 4:
466                case "slideBottom":
467                    i.css({
468                        top: -r.$el.height(),
469                        visibility: "visible"
470                    }).animate({
471                        top: 0,
472                        avoidTransforms: !1
473                    }, r.options.transition_speed, function() {
474                        r.afterAnimation()
475                    });
476                    break;
477                case 5:
478                case "slideLeft":
479                    i.css({
480                        left: r.$el.width(),
481                        visibility: "visible"
482                    }).animate({
483                        left: 0,
484                        avoidTransforms: !1
485                    }, r.options.transition_speed, function() {
486                        r.afterAnimation()
487                    });
488                    break;
489                case 6:
490                case "carouselRight":
491                    i.css({
492                        left: -r.$el.width(),
493                        visibility: "visible"
494                    }).animate({
495                        left: 0,
496                        avoidTransforms: !1
497                    }, r.options.transition_speed, function() {
498                        r.afterAnimation()
499                    });
500                    n.css({
501                        left: 0
502                    }).animate({
503                        left: r.$el.width(),
504                        avoidTransforms: !1
505                    }, r.options.transition_speed);
506                    break;
507                case 7:
508                case "carouselLeft":
509                    i.css({
510                        left: r.$el.width(),
511                        visibility: "visible"
512                    }).animate({
513                        left: 0,
514                        avoidTransforms: !1
515                    }, r.options.transition_speed, function() {
516                        r.afterAnimation()
517                    });
518                    n.css({
519                        left: 0
520                    }).animate({
521                        left: -r.$el.width(),
522                        avoidTransforms: !1
523                    }, r.options.transition_speed)
524            }
525            return !1
526        };
527        r.playToggle = function() {
528            if (vars.in_animation || !api.options.slideshow) return !1;
529            if (vars.is_paused) {
530                vars.is_paused = !1;
531                typeof theme != "undefined" && typeof theme.playToggle == "function" && theme.playToggle("play");
532                vars.slideshow_interval = setInterval(r.nextSlide, r.options.slide_interval)
533            } else {
534                vars.is_paused = !0;
535                typeof theme != "undefined" && typeof theme.playToggle == "function" && theme.playToggle("pause");
536                clearInterval(vars.slideshow_interval)
537            }
538            return !1
539        };
540        r.goTo = function(t) {
541            if (vars.in_animation || !api.options.slideshow) return !1;
542            var n = r.options.slides.length;
543            t < 0 ? t = n : t > n && (t = 1);
544            t = n - t + 1;
545            clearInterval(vars.slideshow_interval);
546            typeof theme != "undefined" && typeof theme.goTo == "function" && theme.goTo();
547            if (vars.current_slide == n - t) {
548                vars.is_paused || (vars.slideshow_interval = setInterval(r.nextSlide, r.options.slide_interval));
549                return !1
550            }
551            if (n - t > vars.current_slide) {
552                vars.current_slide = n - t - 1;
553                vars.update_images = "next";
554                r._placeSlide(vars.update_images)
555            } else if (n - t < vars.current_slide) {
556                vars.current_slide = n - t + 1;
557                vars.update_images = "prev";
558                r._placeSlide(vars.update_images)
559            }
560            if (r.options.slide_links) {
561                e(vars.slide_list + "> .current-slide").removeClass("current-slide");
562                e(vars.slide_list + "> li").eq(n - t).addClass("current-slide")
563            }
564            if (r.options.thumb_links) {
565                e(vars.thumb_list + "> .current-thumb").removeClass("current-thumb");
566                e(vars.thumb_list + "> li").eq(n - t).addClass("current-thumb")
567            }
568        };
569        r._placeSlide = function(t) {
570            var n = r.options.new_window ? ' target="_blank"' : "";
571            loadSlide = !1;
572            if (t == "next") {
573                vars.current_slide == r.options.slides.length - 1 ? loadSlide = 0 : loadSlide = vars.current_slide + 1;
574                var i = r.el + " li:eq(" + loadSlide + ")";
575                if (!e(i).html()) {
576                    var n = r.options.new_window ? ' target="_blank"' : "";
577                    imageL
577ink = r.options.slides[loadSlide].url ? "href='" + r.options.slides[loadSlide].url + "'" : "";
578                    var s = e('<img src="' + r.options.slides[loadSlide].image + '" alt="' + r.options.slides[loadSlide].alttext + '"/>');
579                    s.appendTo(i).wrap("<a " + imageLink + n + "></a>").parent().parent().addClass("image-loading").css("visibility", "hidden");
580                    s.on('load', function(){
581                        r._origDim(e(this));
582                        r.resizeNow()
583                    })
584                }
585                r.nextSlide()
586            } else if (t == "prev") {
587                vars.current_slide - 1 < 0 ? loadSlide = r.options.slides.length - 1 : loadSlide = vars.current_slide - 1;
588                var i = r.el + " li:eq(" + loadSlide + ")";
589                if (!e(i).html()) {
590                    var n = r.options.new_window ? ' target="_blank"' : "";
591                    imageLink = r.options.slides[loadSlide].url ? "href='" + r.options.slides[loadSlide].url + "'" : "";
592                    var s = e('<img src="' + r.options.slides[loadSlide].image + '" alt="' + r.options.slides[loadSlide].alttext + '"/>');
593                    s.appendTo(i).wrap("<a " + imageLink + n + "></a>").parent().parent().addClass("image-loading").css("visibility", "hidden");
594                    s.on('load', function(){
595                        r._origDim(e(this));
596                        r.resizeNow()
597                    })
598                }
599                r.prevSlide()
600            }
601        };
602        r._origDim = function(e) {
603            e.data("origWidth", e.width()).data("origHeight", e.height())
604        };
605        r.afterAnimation = function() {
606            r.options.performance == 1 && r.$el.removeClass("speed").addClass("quality");
607            if (vars.update_images) {
608                vars.current_slide - 1 < 0 ? setPrev = r.options.slides.length - 1 : setPrev = vars.current_slide - 1;
609                vars.update_images = !1;
610                e(".prevslide").removeClass("prevslide");
611                e(r.el + " li:eq(" + setPrev + ")").addClass("prevslide")
612            }
613            vars.in_animation = !1;
614            if (!vars.is_paused && r.options.slideshow) {
615                vars.slideshow_interval = setInterval(r.nextSlide, r.options.slide_interval);
616                r.options.stop_loop && vars.current_slide == r.options.slides.length - 1 && r.playToggle()
617            }
618            typeof theme != "undefined" && typeof theme.afterAnimation == "function" && theme.afterAnimation();
619            return !1
620        };
621        r.getField = function(e) {
622            return r.options.slides[vars.current_slide][e]
623        };
624        r.init()
625    };
626    e.supersized.vars = {
627        thumb_tray: "#thumb-tray",
628        thumb_list: "#thumb-list",
629        slide_list: "#slide-list",
630        current_slide: 0,
631        in_animation: !1,
632        is_paused: !1,
633        hover_pause: !1,
634        slideshow_interval: !1,
635        update_images: !1,
636        options: {}
637    };
638    e.supersized.defaultOptions = {
639        slideshow: 1,
640        autoplay: 1,
641        start_slide: 1,
642        stop_loop: 0,
643        random: 0,
644        slide_interval: 5e3,
645        transition: 1,
646        transition_speed: 750,
647        new_window: 1,
648        pause_hover: 0,
649        keyboard_nav: 1,
650        performance: 1,
651        image_protect: 1,
652        fit_always: 0,
653        fit_landscape: 0,
654        fit_portrait: 1,
655        min_width: 0,
656        min_height: 0,
657        horizontal_center: 1,
658        vertical_center: 1,
659        slide_links: 1,
660        thumb_links: 1,
661        thumbnail_navigation: 0
662    };
663    e.fn.supersized = function(t) {
664        return this.each(function() {
665            new e.supersized(t)
666        })
667    }
668})(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.