PageSourceSearch

https://tarugabenagiltours.pt/js/jquery-migrate-3.0.1.min.js

js tarugabenagiltours.pt collected 2026-10-10 00:44:01 UTC 11,659 bytes, 217 lines download raw bytes

1/*! jQuery Migrate v3.0.1 | (c) jQuery Foundation and other contributors | jquery.org/license */
2
3void 0 === jQuery.migrateMute && (jQuery.migrateMute = !0), function(e) {
4    "function" == typeof define && define.amd ? define([ "jquery" ], window, e) : "object" == typeof module && module.exports ? module.exports = e(require("jquery"), window) : e(jQuery, window);
5}(function(e, t) {
6    "use strict";
7    function r(r) {
8        var n = t.console;
9        o[r] || (o[r] = !0, e.migrateWarnings.push(r), n && n.warn && !e.migrateMute && (n.warn("JQMIGRATE: " + r), 
10        e.migrateTrace && n.trace && n.trace()));
11    }
12    function n(e, t, n, a) {
13        Object.defineProperty(e, t, {
14            configurable: !0,
15            enumerable: !0,
16            get: function() {
17                return r(a), n;
18            },
19            set: function(e) {
20                r(a), n = e;
21            }
22        });
23    }
24    function a(e, t, n, a) {
25        e[t] = function() {
26            return r(a), n.apply(this, arguments);
27        };
28    }
29    e.migrateVersion = "3.0.1", function() {
30        var r = /^[12]\./;
31        t.console && t.console.log && (e && !r.test(e.fn.jquery) || t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"), 
32        e.migrateWarnings && t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"), 
33        t.console.log(/*"JQMIGRATE: Migrate is installed" + (e.migrateMute ? "" : " with logging active") + ", version " + e.migrateVersion*/)
34        
35        );
36    }();
37    var o = {};
38    e.migrateWarnings = [], void 0 === e.migrateTrace && (e.migrateTrace = !0), e.migrateReset = function() {
39        o = {}, e.migrateWarnings.length = 0;
40    }, "BackCompat" === t.document.compatMode && r("jQuery is not compatible with Quirks Mode");
41    var i = e.fn.init, s = e.isNumeric, u = e.find, c = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/, l = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;
42    e.fn.init = function(e) {
43        var t = Array.prototype.slice.call(arguments);
44        return "string" == typeof e && "#" === e && (r("jQuery( '#' ) is not a valid selector"), 
45        t[0] = []), i.apply(this, t);
46    }, e.fn.init.prototype = e.fn, e.find = function(e) {
47        var n = Array.prototype.slice.call(arguments);
48        if ("string" == typeof e && c.test(e)) try {
49            t.document.querySelector(e);
50        } catch (a) {
51            e = e.replace(l, function(e, t, r, n) {
52                return "[" + t + r + '"' + n + '"]';
53            });
54            try {
55                t.document.querySelector(e), r("Attribute selector with '#' must be quoted: " + n[0]), 
56                n[0] = e;
57            } catch (e) {
58                r("Attribute selector with '#' was not fixed: " + n[0]);
59            }
60        }
61        return u.apply(this, n);
62    };
63    var d;
64    for (d in u) Object.prototype.hasOwnProperty.call(u, d) && (e.find[d] = u[d]);
65    e.fn.size = function() {
66        return r("jQuery.fn.size() is deprecated and removed; use the .length property"), 
67        this.length;
68    }, e.parseJSON = function() {
69        return r("jQuery.parseJSON is deprecated; use JSON.parse"), JSON.parse.apply(null, arguments);
70    }, e.isNumeric = function(t) {
71        var n = s(t), a = function(t) {
72            var r = t && t.toString();
73            return !e.isArray(t) && r - parseFloat(r) + 1 >= 0;
74        }(t);
75        return n !== a && r("jQuery.isNumeric() should not be called on constructed objects"), 
76        a;
77    }, a(e, "holdReady", e.holdReady, "jQuery.holdReady is deprecated"), a(e, "unique", e.uniqueSort, "jQuery.unique is deprecated; use jQuery.uniqueSort"), 
78    n(e.expr, "filters", e.expr.pseudos, "jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"), 
79    n(e.expr, ":", e.expr.pseudos, "jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos");
80    var p = e.ajax;
81    e.ajax = function() {
82        var e = p.apply(this, arguments);
83        return e.promise && (a(e, "success", e.done, "jQXHR.success is deprecated and removed"), 
84        a(e, "error", e.fail, "jQXHR.error is deprecated and removed"), a(e, "complete", e.always, "jQXHR.complete is deprecated and removed")), 
85        e;
86    };
87    var f = e.fn.removeAttr, y = e.fn.toggleClass, m = /\S+/g;
88    e.fn.removeAttr = function(t) {
89        var n = this;
90        return e.each(t.match(m), function(t, a) {
91            e.expr.match.bool.test(a) && (r("jQuery.fn.removeAttr no longer sets boolean properties: " + a), 
92            n.prop(a, !1));
93        }), f.apply(this, arguments);
94    }, e.fn.toggleClass = function(t) {
95        return void 0 !== t && "boolean" != typeof t ? y.apply(this, arguments) : (r("jQuery.fn.toggleClass( boolean ) is deprecated"), 
96        this.each(function() {
97            var r = this.getAttribute && this.getAttribute("class") || "";
98            r && e.data(this, "__className__", r), this.setAttribute && this.setAttribute("class", r || !1 === t ? "" : e.data(this, "__className__") || "");
99        }));
100    };
101    var h = !1;
102    e.swap && e.each([ "height", "width", "reliableMarginRight" ], function(t, r) {
103        var n = e.cssHooks[r] && e.cssHooks[r].get;
104        n && (e.cssHooks[r].get = function() {
105            var e;
106            return h = !0, e = n.apply(this, arguments), h = !1, e;
107        });
108    }), e.swap = function(e, t, n, a) {
109        var o, i, s = {};
110        h || r("jQuery.swap() is undocumented and deprecated");
111        for (i in t) s[i] = e.style[i], e.style[i] = t[i];
112        o = n.apply(e, a || []);
113        for (i in t) e.style[i] = s[i];
114        return o;
115    };
116    var g = e.data;
117    e.data = function(t, n, a) {
118        var o;
119        if (n && "object" == typeof n && 2 === arguments.length) {
120            o = e.hasData(t) && g.call(this, t);
121            var i = {};
122            for (var s in n) s !== e.camelCase(s) ? (r("jQuery.data() always sets/gets camelCased names: " + s), 
123            o[s] = n[s]) : i[s] = n[s];
124            return g.call(this, t, i), n;
125        }
126        return n && "string" == typeof n && n !== e.camelCase(n) && (o = e.hasData(t) && g.call(this, t)) && n in o ? (r("jQuery.data() always sets/gets camelCased names: " + n), 
127        arguments.length > 2 && (o[n] = a), o[n]) : g.apply(this, arguments);
128    };
129    var v = e.Tween.prototype.run, j = function(e) {
130        return e;
131    };
132    e.Tween.prototype.run = function() {
133        e.easing[this.easing].length > 1 && (r("'jQuery.easing." + this.easing.toString() + "' should use only one argument"), 
134        e.easing[this.easing] = j), v.apply(this, arguments);
135    }, e.fx.interval = e.fx.interval || 13, t.requestAnimationFrame && n(e.fx, "interval", e.fx.interval, "jQuery.fx.interval is deprecated");
136    var Q = e.fn.load, b = e.event.add, w = e.event.fix;
137    e.event.props = [], e.event.fixHooks = {}, n(e.event.props, "concat", e.event.props.concat, "jQuery.event.props.concat() is deprecated and removed"), 
138    e.event.fix = function(t) {
139        var n, a = t.type, o = this.fixHooks[a], i = e.event.props;
140        if (i.length) for (r("jQuery.event.props are deprecated and removed: " + i.join()); i.length; ) e.event.addProp(i.pop());
141        if (o && !o._migrated_ && (o._migrated_ = !0, r("jQuery.event.fixHooks are deprecated and removed: " + a), 
142        (i = o.props) && i.length)) for (;i.length; ) e.event.addProp(i.pop());
143        return n = w.call(this, t), o && o.filter ? o.filter(n, t) : n;
144    }, e.event.add = function(e, n) {
145        return e === t && "load" === n && "complete" === t.document.readyState && r("jQuery(window).on('load'...) called after load event occurred"), 
146        b.apply(this, arguments);
147    }, e.each([ "load", "unload", "error" ], function(t, n) {
148        e.fn[n] = function() {
149            var e = Array.prototype.slice.call(arguments, 0);
150            return "load" === n && "string" == typeof e[0] ? Q.apply(this, e) : (r("jQuery.fn." + n + "() is deprecated"), 
151            e.splice(0, 0, n), arguments.length ? this.on.apply(this, e) : (this.triggerHandler.apply(this, e), 
152            this));
153        };
154    }), e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function(t, n) {
155        e.fn[n] = function(e, t) {
156            return r("jQuery.fn." + n + "() event shorthand is deprecated"), arguments.length > 0 ? this.on(n, null, e, t) : this.trigger(n);
157        };
158    }), e(function() {
159        e(t.document).triggerHandler("ready");
160    }), e.event.special.ready = {
161        setup: function() {
162            this === t.document && r("'ready' event is deprecated");
163        }
164    }, e.fn.extend({
165        bind: function(e, t, n) {
166            return r("jQuery.fn.bind() is deprecated"), this.on(e, null, t, n);
167        },
168        unbind: function(e, t) {
169            return r("jQuery.fn.unbind() is deprecated"), this.off(e, null, t);
170        },
171        delegate: function(e, t, n, a) {
172            return r("jQuery.fn.delegate() is deprecated"), this.on(t, e, n, a);
173        },
174        undelegate: function(e, t, n) {
175            return r("jQuery.fn.undelegate() is deprecated"), 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n);
176        },
177        hover: function(e, t) {
178            return r("jQuery.fn.hover() is deprecated"), this.on("mouseenter", e).on("mouseleave", t || e);
179        }
180    });
181    var x = e.fn.offset;
182    e.fn.offset = function() {
183        var n, a = this[0], o = {
184            top: 0,
185            left: 0
186        };
187        return a && a.nodeType ? (n = (a.ownerDocument || t.document).documentElement, e.contains(n, a) ? x.apply(this, arguments) : (r("jQuery.fn.offset() requires an element connected to a document"), 
188        o)) : (r("jQuery.fn.offset() requires a valid DOM element"), o);
189    };
190    var k = e.param;
191    e.param = function(t, n) {
192        var a = e.ajaxSettings && e.ajaxSettings.traditional;
193        return void 0 === n && a && (r("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"), 
194        n = a), k.call(this, t, n);
195    };
196    var A = e.fn.andSelf || e.fn.addBack;
197    e.fn.andSelf = function() {
198        return r("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"), 
199        A.apply(this, arguments);
200    };
201    var S = e.Deferred, q = [ [ "resolve", "done", e.Callbacks("once memory"), e.Callbacks("once memory"), "resolved" ], [ "reject", "fail", e.Callbacks("once memory"), e.Callbacks("once memory"), "rejected" ], [ "notify", "progress", e.Callbacks("memory"), e.Callbacks("memory") ] ];
202    return e.Deferred = function(t) {
203        var n = S(), a = n.promise();
204        return n.pipe = a.pipe = function() {
205            var t = arguments;
206            return r("deferred.pipe() is deprecated"), e.Deferred(function(r) {
207                e.each(q, function(o, i) {
208                    var s = e.isFunction(t[o]) && t[o];
209                    n[i[1]](function() {
210                        var t = s && s.apply(this, arguments);
211                        t && e.isFunction(t.promise) ? t.promise().done(r.resolve).fail(r.reject).progress(r.notify) : r[i[0] + "With"](this === a ? r.promise() : this, s ? [ t ] : arguments);
212                    });
213                }), t = null;
214            }).promise();
215        }, t && t.call(n, n), n;
216    }, e.Deferred.exceptionHook = S.exceptionHook, e;
217});

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.