PageSourceSearch

https://www.hotelhelvetiagenova.it/ui/theme/js/mixer.js

js hotelhelvetiagenova.it collected 2026-10-06 11:09:00 UTC 26,580 bytes, 550 lines download raw bytes

1
2(function (d) {
3    function r(e, c, l, b, a) {
4        function f() {
5            n.unbind("webkitTransitionEnd transitionend otransitionend oTransitionEnd");
6            c && x(c, l, b, a);
7            a.startOrder = [];
8            a.newOrder = [];
9            a.origSort = [];
10            a.checkSort = [];
11            v.removeStyle(a.prefix + "filter, filter, " + a.prefix + "transform, transform, opacity, display").css(a.clean).removeAttr("data-checksum");
12            window.atob || v.css({
13                display: "none",
14                opacity: "0"
15            });
16            n.removeStyle(a.prefix + "transition, transition, " + a.prefix + "perspective, perspective, " + a.prefix + "perspective-origin, perspective-origin, " +
17                (a.resizeContainer ? "height" : ""));
18            "list" == a.layoutMode ? (p.css({
19                display: a.targetDisplayList,
20                opacity: "1"
21            }), a.origDisplay = a.targetDisplayList) : (p.css({
22                display: a.targetDisplayGrid,
23                opacity: "1"
24            }), a.origDisplay = a.targetDisplayGrid);
25            a.origLayout = a.layoutMode;
26            setTimeout(function () {
27                v.removeStyle(a.prefix + "transition, transition");
28                a.mixing = !1;
29                if ("function" == typeof a.onMixEnd) {
30                    var b = a.onMixEnd.call(this, a);
31                    a = b ? b : a
32                }
33            })
34        }
35        clearInterval(a.failsafe);
36        a.mixing = !0;
37        a.filter = e;
38        if ("function" == typeof a.onMixStart) {
39            var g = a.onMixStart.call(this,
40                a);
41            a = g ? g : a
42        }
43        for (var k = a.transitionSpeed, g = 0; 2 > g; g++) {
44            var h = 0 == g ? h = a.prefix : "";
45            a.transition[h + "transition"] = "all " + k + "ms linear";
46            a.transition[h + "transform"] = h + "translate3d(0,0,0)";
47            a.perspective[h + "perspective"] = a.perspectiveDistance + "px";
48            a.perspective[h + "perspective-origin"] = a.perspectiveOrigin
49        }
50        var w = a.targetSelector,
51            v = b.find(w);
52        v.each(function () {
53            this.data = {}
54        });
55        var n = v.parent();
56        n.css(a.perspective);
57        a.easingFallback = "ease-in-out";
58        "smooth" == a.easing && (a.easing = "cubic-bezier(0.25, 0.46, 0.45, 0.94)");
59        "snap" == a.easing && (a.easing = "cubic-bezier(0.77, 0, 0.175, 1)");
60        "windback" == a.easing && (a.easing = "cubic-bezier(0.175, 0.885, 0.320, 1.275)", a.easingFallback = "cubic-bezier(0.175, 0.885, 0.320, 1)");
61        "windup" == a.easing && (a.easing = "cubic-bezier(0.6, -0.28, 0.735, 0.045)", a.easingFallback = "cubic-bezier(0.6, 0.28, 0.735, 0.045)");
62        g = "list" == a.layoutMode && null != a.listEffects ? a.listEffects : a.effects;
63        Array.prototype.indexOf && (a.fade = -1 < g.indexOf("fade") ? "0" : "", a.scale = -1 < g.indexOf("scale") ? "scale(.01)" : "", a.rotateZ = -1 < g.indexOf("rotateZ") ? "rotate(180deg)" : "", a.rotateY = -1 < g.indexOf("rotateY") ? "rotateY(90deg)" : "", a.rotateX = -1 < g.indexOf("rotateX") ? "rotateX(90deg)" : "", a.blur = -1 < g.indexOf("blur") ? "blur(8px)" : "", a.grayscale = -1 < g.indexOf("grayscale") ? "grayscale(100%)" : "");
64        var p = d(),
65            s = d(),
66            t = [],
67            r = !1;
68        "string" === typeof e ? t = z(e) : (r = !0, d.each(e, function (a) {
69            t[a] = z(this)
70        }));
71        "or" == a.filterLogic ? ("" == t[0] && t.shift(), 1 > t.length ? s = s.add(b.find(w + ":visible")) : v.each(function () {
72            var a = d(this);
73            if (r) {
74                var b = 0;
75                d.each(t, function (d) {
76                    this.length ?
77                        a.is("." + this.join(", .")) && b++ : 0 < b && b++
78                });
79                b == t.length ? p = p.add(a) : s = s.add(a)
80            } else a.is("." + t.join(", .")) ? p = p.add(a) : s = s.add(a)
81        })) : (p = p.add(n.find(w + "." + t.join("."))), s = s.add(n.find(w + ":not(." + t.join(".") + "):visible")));
82        e = p.length;
83        var u = d(),
84            q = d(),
85            m = d();
86        s.each(function () {
87            var a = d(this);
88            "none" != a.css("display") && (u = u.add(a), m = m.add(a))
89        });
90        if (p.filter(":visible").length == e && !u.length && !c) {
91            if (a.origLayout == a.layoutMode) return f(), !1;
92            if (1 == p.length) return "list" == a.layoutMode ? (b.addClass(a.listClass), b.removeClass(a.gridClass),
93                m.css("display", a.targetDisplayList)) : (b.addClass(a.gridClass), b.removeClass(a.listClass), m.css("display", a.targetDisplayGrid)), f(), !1
94        }
95        a.origHeight = n.height();
96        if (p.length) {
97            b.removeClass(a.failClass);
98            p.each(function () {
99                var a = d(this);
100                "none" == a.css("display") ? q = q.add(a) : m = m.add(a)
101            });
102            if (a.origLayout != a.layoutMode && !1 == a.animateGridList) return "list" == a.layoutMode ? (b.addClass(a.listClass), b.removeClass(a.gridClass), m.css("display", a.targetDisplayList)) : (b.addClass(a.gridClass), b.removeClass(a.listClass),
103                m.css("display", a.targetDisplayGrid)), f(), !1;
104            if (!window.atob) return f(), !1;
105            v.css(a.clean);
106            m.each(function () {
107                this.data.origPos = d(this).offset()
108            });
109            "list" == a.layoutMode ? (b.addClass(a.listClass), b.removeClass(a.gridClass), q.css("display", a.targetDisplayList)) : (b.addClass(a.gridClass), b.removeClass(a.listClass), q.css("display", a.targetDisplayGrid));
110            q.each(function () {
111                this.data.showInterPos = d(this).offset()
112            });
113            u.each(function () {
114                this.data.hideInterPos = d(this).offset()
115            });
116            m.each(function () {
117                this.data.preInterPos =
118                    d(this).offset()
119            });
120            "list" == a.layoutMode ? m.css("display", a.targetDisplayList) : m.css("display", a.targetDisplayGrid);
121            c && x(c, l, b, a);
122            if (c && A(a.origSort, a.checkSort)) return f(), !1;
123            u.hide();
124            q.each(function (a) {
125                this.data.finalPos = d(this).offset()
126            });
127            m.each(function () {
128                this.data.finalPrePos = d(this).offset()
129            });
130            a.newHeight = n.height();
131            c && x("reset", null, b, a);
132            q.hide();
133            m.css("display", a.origDisplay);
134            "block" == a.origDisplay ? (b.addClass(a.listClass), q.css("display", a.targetDisplayList)) : (b.removeClass(a.listClass), q.css("display",
135                a.targetDisplayGrid));
136            a.resizeContainer && n.css("height", a.origHeight + "px");
137            e = {};
138            for (g = 0; 2 > g; g++) h = 0 == g ? h = a.prefix : "", e[h + "transform"] = a.scale + " " + a.rotateX + " " + a.rotateY + " " + a.rotateZ, e[h + "filter"] = a.blur + " " + a.grayscale;
139            q.css(e);
140            m.each(function () {
141                var b = this.data,
142                    c = d(this);
143                c.hasClass("mix_tohide") ? (b.preTX = b.origPos.left - b.hideInterPos.left, b.preTY = b.origPos.top - b.hideInterPos.top) : (b.preTX = b.origPos.left - b.preInterPos.left, b.preTY = b.origPos.top - b.preInterPos.top);
144                for (var e = {}, k = 0; 2 > k; k++) {
145                    var h =
146                        0 == k ? h = a.prefix : "";
147                    e[h + "transform"] = "translate(" + b.preTX + "px," + b.preTY + "px)"
148                }
149                c.css(e)
150            });
151            "list" == a.layoutMode ? (b.addClass(a.listClass), b.removeClass(a.gridClass)) : (b.addClass(a.gridClass), b.removeClass(a.listClass));
152            setTimeout(function () {
153                if (a.resizeContainer) {
154                    for (var b = {}, c = 0; 2 > c; c++) {
155                        var e = 0 == c ? e = a.prefix : "";
156                        b[e + "transition"] = "all " + k + "ms ease-in-out";
157                        b.height = a.newHeight + "px"
158                    }
159                    n.css(b)
160                }
161                u.css("opacity", a.fade);
162                q.css("opacity", 1);
163                q.each(function () {
164                    var b = this.data;
165                    b.tX = b.finalPos.left - b.showInterPos.left;
166                    b.tY = b.finalPos.top - b.showInterPos.top;
167                    for (var c = {}, e = 0; 2 > e; e++) {
168                        var h = 0 == e ? h = a.prefix : "";
169                        c[h + "transition-property"] = h + "transform, " + h + "filter, opacity";
170                        c[h + "transition-timing-function"] = a.easing + ", linear, linear";
171                        c[h + "transition-duration"] = k + "ms";
172                        c[h + "transition-delay"] = "0";
173                        c[h + "transform"] = "translate(" + b.tX + "px," + b.tY + "px)";
174                        c[h + "filter"] = "none"
175                    }
176                    d(this).css("-webkit-transition", "all " + k + "ms " + a.easingFallback).css(c)
177                });
178                m.each(function () {
179                    var b = this.data;
180                    b.tX = 0 != b.finalPrePos.left ? b.finalPrePos.left -
181                        b.preInterPos.left : 0;
182                    b.tY = 0 != b.finalPrePos.left ? b.finalPrePos.top - b.preInterPos.top : 0;
183                    for (var c = {}, e = 0; 2 > e; e++) {
184                        var h = 0 == e ? h = a.prefix : "";
185                        c[h + "transition"] = "all " + k + "ms " + a.easing;
186                        c[h + "transform"] = "translate(" + b.tX + "px," + b.tY + "px)"
187                    }
188                    d(this).css("-webkit-transition", "all " + k + "ms " + a.easingFallback).css(c)
189                });
190                b = {};
191                for (c = 0; 2 > c; c++) e = 0 == c ? e = a.prefix : "", b[e + "transition"] = "all " + k + "ms " + a.easing + ", " + e + "filter " + k + "ms linear, opacity " + k + "ms linear", b[e + "transform"] = a.scale + " " + a.rotateX + " " + a.rotateY + " " +
192                    a.rotateZ, b[e + "filter"] = a.blur + " " + a.grayscale, b.opacity = a.fade;
193                u.css(b);
194                n.bind("webkitTransitionEnd transitionend otransitionend oTransitionEnd", function (a) {
195                    if (-1 < a.originalEvent.propertyName.indexOf("transform") || -1 < a.originalEvent.propertyName.indexOf("opacity")) - 1 < w.indexOf(".") ? d(a.target).hasClass(w.replace(".", "")) && f() : d(a.target).is(w) && f()
196                })
197            }, 10);
198            a.failsafe = setTimeout(function () {
199                a.mixing && f()
200            }, k + 400)
201        } else {
202            a.resizeContainer && n.css("height", a.origHeight + "px");
203            if (!window.atob) return f(), !1;
204            u = s;
205            setTimeout(function () {
206                n.css(a.perspective);
207                if (a.resizeContainer) {
208                    for (var c = {}, e = 0; 2 > e; e++) {
209                        var d = 0 == e ? d = a.prefix : "";
210                        c[d + "transition"] = "height " + k + "ms ease-in-out";
211                        c.height = a.minHeight + "px"
212                    }
213                    n.css(c)
214                }
215                v.css(a.transition);
216                if (s.length) {
217                    c = {};
218                    for (e = 0; 2 > e; e++) d = 0 == e ? d = a.prefix : "", c[d + "transform"] = a.scale + " " + a.rotateX + " " + a.rotateY + " " + a.rotateZ, c[d + "filter"] = a.blur + " " + a.grayscale, c.opacity = a.fade;
219                    u.css(c);
220                    n.bind("webkitTransitionEnd transitionend otransitionend oTransitionEnd", function (c) {
221                        if (-1 < c.originalEvent.propertyName.indexOf("transform") || -1 < c.originalEvent.propertyName.indexOf("opacity")) b.addClass(a.failClass), f()
222                    })
223                } else a.mixing = !1
224            }, 10)
225        }
226    }
227
228    function x(e, c, l, b) {
229        function a(a, b) {
230            var c = isNaN(1 * a.attr(e)) ? a.attr(e).toLowerCase() : 1 * a.attr(e),
231                d = isNaN(1 * b.attr(e)) ? b.attr(e).toLowerCase() : 1 * b.attr(e);
232            return c < d ? -1 : c > d ? 1 : 0
233        }
234
235        function f(a) {
236            "asc" == c ? k.prepend(a).prepend(" ") : k.append(a).append(" ")
237        }
238
239        function g(a) {
240            a = a.slice();
241            for (var b = a.length, c = b; c--;) {
242                var e = parseInt(Math.random() * b),
243                    d = a[c];
244                a[c] = a[e];
245                a[e] = d
246            }
247            return a
248        }
249        l.find(b.targetSelector).wrapAll('<div class="mix_sorter"/>');
250        var k = l.find(".mix_sorter");
251        b.origSort.length || k.find(b.targetSelector + ":visible").each(function () {
252            d(this).wrap("<s/>");
253            b.origSort.push(d(this).parent().html().replace(/\s+/g, ""));
254            d(this).unwrap()
255        });
256        k.empty();
257        if ("reset" == e) d.each(b.startOrder, function () {
258            k.append(this).append(" ")
259        });
260        else if ("default" == e) d.each(b.origOrder, function () {
261            f(this)
262        });
263        else if ("random" == e) b.newOrder.length || (b.newOrder = g(b.startOrder)), d.each(b.newOrder, function () {
264            k.append(this).append(" ")
265        });
266        else if ("custom" == e) d.each(c, function () {
267            f(this)
268        });
269        else {
270            if ("undefined" === typeof b.origOrder[0].attr(e)) return console.log("No such attribute found. Terminating"), !1;
271            b.newOrder.length || (d.each(b.origOrder, function () {
272                b.newOrder.push(d(this))
273            }), b.newOrder.sort(a));
274            d.each(b.newOrder, function () {
275                f(this)
276            })
277        }
278        b.checkSort = [];
279        k.find(b.targetSelector + ":visible").each(function (a) {
280            var c = d(this);
281            0 == a && c.attr("data-checksum", "1");
282            c.wrap("<s/>");
283            b.checkSort.push(c.parent().html().replace(/\s+/g, ""));
284            c.unwrap()
285        });
286        l.find(b.targetSelector).unwrap()
287    }
288
289    function B(e) {
290        for (var c = ["Webkit", "Moz", "O", "ms"], d = 0; d < c.length; d++)
291            if (c[d] + "Transition" in e.style) return c[d];
292        return "transition" in e.style ? "" : !1
293    }
294
295    function A(e, c) {
296        if (e.length != c.length) return !1;
297        for (var d = 0; d < c.length; d++)
298            if (e[d].compare && !e[d].compare(c[d]) || e[d] !== c[d]) return !1;
299        return !0
300    }
301
302    function z(e) {
303        e = e.replace(/\s{2,}/g, " ");
304        var c = e.split(" ");
305        d.each(c, function (d) {
306            "all" == this && (c[d] = "mix_all")
307        });
308        "" == c[0] && c.shift();
309        return c
310    }
311    var y = {
312        init: function (e) {
313            return this.each(function () {
314                var c = window.navigator.appVersion.match(/Chrome\/(\d+)\./),
315                    c = c ? parseInt(c[1], 10) : !1,
316                    l = function (a) {
317                        a = document.getElementById(a);
318                        var b = a.parentElement,
319                            c = document.createElement("div"),
320                            d = document.createDocumentFragment();
321                        b.insertBefore(c, a);
322                        d.appendChild(a);
323                        b.replaceChild(a, c)
324                    };
325                (c && 31 == c || 32 == c) && l(this.id);
326                var b = {
327                    targetSelector: ".mix",
328                    filterSelector: ".filter",
329                    sortSelector: ".sort",
330                    buttonEvent: "click",
331                    effects: ["fade", "scale"],
332                    listEffects: null,
333                    easing: "smooth",
334                    layoutMode: "grid",
335                    targetDisplayGrid: "inline-block",
336                    targetDisplayList: "block",
337                    listClass: "",
338                    gridClass: "",
339                    transitionSpeed: 600,
340                    showOnLoad: "all",
341                    sortOnLoad: !1,
342                    multiFilter: !1,
343                    filterLogic: "or",
344                    resizeContainer: !0,
345                    minHeight: 0,
346                    failClass: "fail",
347                    perspectiveDistance: "3000",
348                    perspectiveOrigin: "50% 50%",
349                    animateGridList: !0,
350                    onWarLoad: null,
351                    onMixStart: null,
352                    onMixEnd: null,
353                    container: null,
354                    origOrder: [],
355                    startOrder: [],
356                    newOrder: [],
357                    origSort: [],
358                    checkSort: [],
359                    filter: "",
360                    mixing: !1,
361                    origDisplay: "",
362                    origLayout: "",
363                    origHeight: 0,
364                    newHeight: 0,
365                    isTouch: !1,
366                    resetDelay: 0,
367                    failsafe: null,
368                    prefix: "",
369                    easingFallback: "ease-in-out",
370                    transition: {},
371                    perspective: {},
372                    clean: {},
373                    fade: "1",
374                    scale: "",
375                    rotateX: "",
376                    rotateY: "",
377                    rotateZ: "",
378                    blur: "",
379                    grayscale: ""
380                };
381                e && d.extend(b, e);
382                this.config = b;
383                d.support.touch = "ontouchend" in document;
384                d.support.touch && (b.isTouch = !0, b.resetDelay = 350);
385                b.container = d(this);
386                var a = b.container;
387                b.prefix = B(a[0]);
388                b.prefix = b.prefix ? "-" + b.prefix.toLowerCase() + "-" : "";
389                a.find(b.targetSelector).each(function () {
390                    b.origOrder.push(d(this))
391                });
392                if (b.sortOnLoad) {
393                    var f;
394                    d.isArray(b.sortOnLoad) ? (c = b.sortOnLoad[
3940], f = b.sortOnLoad[1], d(b.sortSelector + "[data-sort=" + b.sortOnLoad[0] +
395                        "][data-order=" + b.sortOnLoad[1] + "]").addClass("active")) : (d(b.sortSelector + "[data-sort=" + b.sortOnLoad + "]").addClass("active"), c = b.sortOnLoad, b.sortOnLoad = "desc");
396                    x(c, f, a, b)
397                }
398                for (f = 0; 2 > f; f++) c = 0 == f ? c = b.prefix : "", b.transition[c + "transition"] = "all " + b.transitionSpeed + "ms ease-in-out", b.perspective[c + "perspective"] = b.perspectiveDistance + "px", b.perspective[c + "perspective-origin"] = b.perspectiveOrigin;
399                for (f = 0; 2 > f; f++) c = 0 == f ? c = b.prefix : "", b.clean[c + "transition"] = "none";
400                "list" == b.layoutMode ? (a.addClass(b.listClass),
401                    b.origDisplay = b.targetDisplayList) : (a.addClass(b.gridClass), b.origDisplay = b.targetDisplayGrid);
402                b.origLayout = b.layoutMode;
403                f = b.showOnLoad.split(" ");
404                d.each(f, function () {
405                    d(b.filterSelector + '[data-filter="' + this + '"]').addClass("active")
406                });
407                a.find(b.targetSelector).addClass("mix_all");
408                "all" == f[0] && (f[0] = "mix_all", b.showOnLoad = "mix_all");
409                var g = d();
410                d.each(f, function () {
411                    g = g.add(d("." + this))
412                });
413                g.each(function () {
414                    var a = d(this);
415                    "list" == b.layoutMode ? a.css("display", b.targetDisplayList) : a.css("display", b.targetDisplayGrid);
416                    a.css(b.transition)
417                });
418                setTimeout(function () {
419                    b.mixing = !0;
420                    g.css("opacity", "1");
421                    setTimeout(function () {
422                        "list" == b.layoutMode ? g.removeStyle(b.prefix + "transition, transition").css({
423                            display: b.targetDisplayList,
424                            opacity: 1
425                        }) : g.removeStyle(b.prefix + "transition, transition").css({
426                            display: b.targetDisplayGrid,
427                            opacity: 1
428                        });
429                        b.mixing = !1;
430                        if ("function" == typeof b.onWarLoad) {
431                            var a = b.onWarLoad.call(this, b);
432                            b = a ? a : b
433                        }
434                    }, b.transitionSpeed)
435                }, 10);
436                b.filter = b.showOnLoad;
437                d(b.sortSelector).bind(b.buttonEvent, function () {
438                    if (!b.mixing) {
439                        var c =
440                            d(this),
441                            e = c.attr("data-sort"),
442                            f = c.attr("data-order");
443                        if (!c.hasClass("active")) d(b.sortSelector).removeClass("active"), c.addClass("active");
444                        else if ("random" != e) return !1;
445                        a.find(b.targetSelector).each(function () {
446                            b.startOrder.push(d(this))
447                        });
448                        r(b.filter, e, f, a, b)
449                    }
450                });
451                d(b.filterSelector).bind(b.buttonEvent, function () {
452                    if (!b.mixing) {
453                        var c = d(this);
454                        if (!1 == b.multiFilter) d(b.filterSelector).removeClass("active"), c.addClass("active"), b.filter = c.attr("data-filter"), d(b.filterSelector + '[data-filter="' + b.filter + '"]').addClass("active");
455                        else {
456                            var e = c.attr("data-filter");
457                            c.hasClass("active") ? (c.removeClass("active"), b.filter = b.filter.replace(RegExp("(\\s|^)" + e), "")) : (c.addClass("active"), b.filter = b.filter + " " + e)
458                        }
459                        r(b.filter, null, null, a, b)
460                    }
461                })
462            })
463        },
464        toGrid: function () {
465            return this.each(function () {
466                var e = this.config;
467                "grid" != e.layoutMode && (e.layoutMode = "grid", r(e.filter, null, null, d(this), e))
468            })
469        },
470        toList: function () {
471            return this.each(function () {
472                var e = this.config;
473                "list" != e.layoutMode && (e.layoutMode = "list", r(e.filter, null, null, d(this), e))
474            })
475        },
476        filter: function (e) {
477            return this.each(function () {
478                var c =
479                    this.config;
480                c.mixing || (d(c.filterSelector).removeClass("active"), d(c.filterSelector + '[data-filter="' + e + '"]').addClass("active"), r(e, null, null, d(this), c))
481            })
482        },
483        sort: function (e) {
484            return this.each(function () {
485                var c = this.config,
486                    l = d(this);
487                if (!c.mixing) {
488                    d(c.sortSelector).removeClass("active");
489                    if (d.isArray(e)) {
490                        var b = e[0],
491                            a = e[1];
492                        d(c.sortSelector + '[data-sort="' + e[0] + '"][data-order="' + e[1] + '"]').addClass("active")
493                    } else d(c.sortSelector + '[data-sort="' + e + '"]').addClass("active"), b = e, a = "desc";
494                    l.find(c.targetSelector).each(function () {
495                        c.startOrder.push(d(this))
496                    });
497                    r(c.filter, b, a, l, c)
498                }
499            })
500        },
501        multimix: function (e) {
502            return this.each(function () {
503                var c = this.config,
504                    l = d(this);
505                multiOut = {
506                    filter: c.filter,
507                    sort: null,
508                    order: "desc",
509                    layoutMode: c.layoutMode
510                };
511                d.extend(multiOut, e);
512                c.mixing || (d(c.filterSelector).add(c.sortSelector).removeClass("active"), d(c.filterSelector + '[data-filter="' + multiOut.filter + '"]').addClass("active"), "undefined" !== typeof multiOut.sort && (d(c.sortSelector + '[data-sort="' + multiOut.sort + '"][data-order="' + multiOut.order + '"]').addClass("active"), l.find(c.targetSelector).each(function () {
513                        c.startOrder.push(d(this))
514                    })),
515                    c.layoutMode = multiOut.layoutMode, r(multiOut.filter, multiOut.sort, multiOut.order, l, c))
516            })
517        },
518        remix: function (e) {
519            return this.each(function () {
520                var c = this.config,
521                    l = d(this);
522                c.origOrder = [];
523                l.find(c.targetSelector).each(function () {
524                    var b = d(this);
525                    b.addClass("mix_all");
526                    c.origOrder.push(b)
527                });
528                c.mixing || "undefined" === typeof e || (d(c.filterSelector).removeClass("active"), d(c.filterSelector + '[data-filter="' + e + '"]').addClass("active"), r(e, null, null, l, c))
529            })
530        }
531    };
532    d.fn.themeWar = function (d, c) {
533        if (y[d]) return y[d].apply(this, Array.prototype.slice.call(arguments,
534            1));
535        if ("object" === typeof d || !d) return y.init.apply(this, arguments)
536    };
537    d.fn.removeStyle = function (e) {
538        return this.each(function () {
539            var c = d(this);
540            e = e.replace(/\s+/g, "");
541            var l = e.split(",");
542            d.each(l, function () {
543                var b = RegExp(this.toString() + "[^;]+;?", "g");
544                c.attr("style", function (a, c) {
545                    if (c) return c.replace(b, "")
546                })
547            })
548        })
549    }
550})(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.